Thanks Suresh, mounting with _netdev in /etc/rc.local works perfectly. I though when we put mount -a in /etc/rc.local it takes options from /etc/fstab where I had already put _netdev. But manually passing _netdev to mount -a works flawlessly.
-- Thanks & Warm Regards -- Shriram Fowkar Suresh Ramasubramanian wrote: > Hey man - long long time since I've seen you on li-* > > This seems reasonably straightforward and the redhat iscsi package has a > decent startup script. > > http://idolinux.blogspot.com/2008/08/iscsi-setup-on-red-hat-5-centos-5.html > > If that doesn't work (it should work just fine though), as a last resort - > try mounting your lun in rc.local. That gets called at the end (after > network etc come up) > > /etc/init.d/open-isci starttargets > sleep 10 > mount -a -O _netdev > > srs > > On Thu, Dec 24, 2009 at 03:32:32PM +0530, Shriram Fowkar wrote: >> Hi, >> >> Can anybody help me in auto mounting iscsi lun on RHEL 5. >> >> We have tried all the things we found in google search like entry in >> /etc/fstab.iscsi. Addied _netdev in /etc/fstab iscsi mount entry. >> >> Since network services are not started before iscsi service automounting >> fails. >> >> Manually mounting after logging in to the server works. "Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s). are confidential. and may be privileged. If you are not the intended recipient. you are hereby notified that any review. re-transmission. conversion to hard copy. copying. circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient. please notify the sender immediately by return email. and delete this message and any attachments from your system. Virus Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email. The company cannot accept responsibility for any loss or damage arising from the use of this email or attachment." ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ linux-india-help mailing list linux-india-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-india-help