The issue is that the mountall command processes all entries in
/etc/fstab, including -netdev.  If the only requirement is for the
network to be up, such as NFS or CIFS then it works correctly.  But for
iscsi the device is "remote" but requires that open-iscsi init.d script
be run first.  Thus the mountall fails because the hard device doesn't
exist yet.

The work around that I'm currently using is to set all the iscsi devices
in /etc/fstab to "noauto".  Then the open-iscsi start script is modified
so the "mount -a -O _netdev" command is replaced with "mount
/mount_point"  We can't use the -a option because the noauto causes -a
to fail.  We can't use _netdev because the mountall fails.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/547091

Title:
  10.04 beta 1 mountall fails to mount iSCSI volume at boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/547091/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to