<p>So I could write something like<br>
mount| grep nfsserver > $something<br>
if $something is null<br>
mount nfsserver<br>
else exit<br>
fi</p>
<p>On Aug 3, 2011 6:47 PM, "Bob Toxen" <<a href="mailto:transam@verysecurelinux.com">transam@verysecurelinux.com</a>> wrote:<br type="attribution">> This still will hang in startup (though you'll probably be in<br>
> multiuser).<br>> <br>> Specify timeouts in case NFS cannot start, e.g., the server is down.<br>> <br>> Bob Toxen<br>> <br>> On Wed, Aug 03, 2011 at 04:21:47PM -0400, Andrew Wade wrote:<br>>> With NFS, I set fstab<br>
>> <br>>> server:/ifs/fs02 /ifs/fs02 nfs bg,noauto,rsize=8192,wsize=8192 0 0<br>>> <br>>> *note the noauto, this tells it to not automount. If it tries to automount<br>>> and is unable, your server will stall in startup. So you put this entry in<br>
>> /etc/rc.local:<br>>> <br>>> mount /ifs/fs02<br>>> <br>>> Also check to make sure that nfs and portmap services are started upon boot<br>>> time.<br>>> <br>>> That way, the server starts up and then mounts the nfs under rc.local (where<br>
>> if the nfs share hangs, it would not affect the normal system startup).<br>>> <br>>> <br>>> <br>>> Andrew<br>>> RHCE<br>>> <br>>> On Tue, Aug 2, 2011 at 5:50 PM, planas <<a href="mailto:jslozier@gmail.com">jslozier@gmail.com</a>> wrote:<br>
>> <br>>> > **<br>>> > Wolf<br>>> ><br>>> > Could configuration be faulty, I asked about setting an internal ntfs drive<br>>> > awhile ago and I got this link from Ubuntu:<br>
>> ><br>>> > <a href="https://help.ubuntu.com/community/Fstab">https://help.ubuntu.com/community/Fstab</a><br>>> ><br>>> > It has links to more network configuration.<br>>> ><br>
>> ><br>>> > On Tue, 2011-08-02 at 14:27 -0400, Wolf Halton wrote:<br>>> ><br>>> > Can you think of any reason why fstab would not be read on reboot. Ubuntu<br>>> > lucid have an nfs share that was not mounted automagically when I rebooted<br>
>> > the client machine. Broke a bunch of stuff.<br>>> > Wolf<br>>> > PS mount -a picked up and mounted the nfs directory.<br>>> ><br>>> > _______________________________________________<br>
>> > Ale mailing list<br>>> > Ale@ale.orghttp://<a href="http://mail.ale.org/mailman/listinfo/ale">mail.ale.org/mailman/listinfo/ale</a><br>>> > See JOBS, ANNOUNCE and SCHOOLS lists athttp://<a href="http://mail.ale.org/mailman/listinfo">mail.ale.org/mailman/listinfo</a><br>
>> ><br>>> ><br>>> ><br>>> > --<br>>> > Jay Lozier<br>>> > <a href="mailto:jslozier@gmail.com">jslozier@gmail.com</a><br>>> ><br>>> > _______________________________________________<br>
>> > Ale mailing list<br>>> > <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>>> > <a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br>>> > See JOBS, ANNOUNCE and SCHOOLS lists at<br>
>> > <a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br>>> ><br>>> ><br>> <br>>> _______________________________________________<br>>> Ale mailing list<br>
>> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>>> <a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br>>> See JOBS, ANNOUNCE and SCHOOLS lists at<br>>> <a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br>
> <br>> _______________________________________________<br>> Ale mailing list<br>> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>> <a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>> <a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br></p>