Comment 10 for bug 547091

Revision history for this message
Chris Johnson (ctjctj) wrote :

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.