Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Enterprise Linux 5 »

RE: [rhelv5-list] Mounting an iscsi volume at boot.

berthiaume wayne

2008-03-28

Replies:

Author LoginPost Reply
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: rhelv5-list-bounces@(protected)
[mailto:rhelv5-list-bounces@(protected)
Sent: Thursday, March 27, 2008 3:32 PM
To: rhelv5-list@(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.

--
Reminds me of my expedition into the wilds of Afghanistan. We lost our
corkscrew and were compelled to live on food and water for several days.
-
WC Fields



_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list


_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.