Thanks for this Wayne.

We've been having this problem for a few weeks and have tried many fixes. Your netfs suggestion worked for us. We moved the chkconfig start to 60 and the disk mounted at reboot.

# chkconfig: 345 60 40
# description: Mounts and unmounts all Network File System (NFS), \
# SMB/CIFS (Lan Manager/Windows), and NCP (NetWare) mount points.


[EMAIL PROTECTED] wrote:
Hi Ralph.

        There is a outstanding bugzilla,
https://bugzilla.redhat.com/show_bug.cgi?id=260541, for this issue. What
is happening is the iscsi will fail to log into the target in time for
netfs() to mount the LUNs. One solution I've used to help get around it
is to add a sleep() in the iscsi init script after the loading of the
iscsi_tcp module. This has to be tuned to the delays in your network and
is a rather hookey way to do things.
Regards,
Wayne.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ralph Crongeyer
Sent: Thursday, March 27, 2008 3:32 PM
To: [email protected]
Subject: [rhelv5-list] Mounting an iscsi volume at boot.

Hi all,
The problem:
I'm having a problem getting an iscsi volume to be mounted on boot.

What does work:
I can mount the volume/disk "/etc/sda1" after booting with no problem.

Discoverys:
I have found that using the fstab option "defaults,_netdev" does what it

says it does and only try's to mount the drive after networking is up. However the drive is not available when the "netfs" script is run via "/etc/rcX.d/S25netfs" so it cannot mount the drive. If I move netfs to be launched later say "/etc/rcX.d/S60netfs" the drive is mounted.

Is there a fix for this?

Thanks

Ralph

One more thing, I will be using this SAN drive for holding some VM's
(using Vmware) and Vmware installs the start script as "S19vmware" so the drive

will never be mounted before vmware starts.
Obviously this is a problem.


--
veritatis simplex oratio est

Andrew Bacchi
Staff Systems Programmer
Rensselaer Polytechnic Institute
phone: 518 276-6415  fax: 518 276-2809

http://www.rpi.edu/~bacchi/

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to