ISCSI mount on boot

Steps to mount ISCSI on boot:

You can see the ISCSI drive while issuing “fdisk -l”. Let it be /dev/sdb1

Consider that you want it to mount over /vz partition.

step 1) e2label /dev/sdb1 /vz

step 2) In /etc/fstab, add the following entry.

LABEL=/vz /vz ext3 _netdev 0 0

step 3) chkconfig –level 3 netfs on

step 4) Reboot

Note:
ISCSI drives should be mounted with “_netdev” mount option.

“netfs” is the daemon which would mount the filesystems with “_netdev” mount option.

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.