Announcement

Collapse
No announcement yet.

The Holy Grail: ISCSI partion vs. mount

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    The Holy Grail: ISCSI partion vs. mount

    EDIT - Simply adding a few things to my /etc/fstab made this work. Seems that open-iscsi fixed this a while back.

    UUID=439af118-1d7b-4e5f-82d2-71b0679b8639 /media/Storage ext4 defaults,auto,_netdev 0 0

    Solution: _netdev


    I have created an iscsi target, and am able to mount it manually without any issue.

    root@dpich-M6400:/home/dpich# df -k
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda3 101506440 6422312 89927880 7% /
    udev 2010424 12 2010412 1% /dev
    tmpfs 808972 1032 807940 1% /run
    none 5120 0 5120 0% /run/lock
    none 2022428 100 2022328 1% /run/shm
    /dev/sda6 377243192 169575364 188504900 48% /home
    root@dpich-M6400:/home/dpich# mount /dev/sdd1 /media/Storage
    root@dpich-M6400:/home/dpich# df -k
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda3 101506440 6422308 89927884 7% /
    udev 2010424 12 2010412 1% /dev
    tmpfs 808972 1032 807940 1% /run
    none 5120 0 5120 0% /run/lock
    none 2022428 100 2022328 1% /run/shm
    /dev/sda6 377243192 169575352 188504912 48% /home
    /dev/sdd1 961235372 204436 912202980 1% /media/Storage
    root@dpich-M6400

    Now for The Holy Grail part...

    Is there a way to get the iscsi initiator to load BEFORE it tries to mount the volume? What happens is that during bootup, an error presents itself that it cannot mount /media/Storage/ because in the process of bootup, it tries to mount the partition before the initiator is loaded. Once a full boot happens and the initiator is loaded, I can manually mount.

    Any recommendations?
    Last edited by TheBigAmbulance; Mar 21, 2012, 12:03 PM. Reason: Found my answer...
Working...
X