JP Vossen on 22 Jan 2014 13:26:26 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] network service errors


On 01/22/2014 03:57 PM, Carl Johnson wrote:
still can't get the nfs volume to mount on boot. fstab looks like this...

fileserver:/drive_z_bak  /backups                nfs
_netdev,defaults,auto,noatime,intr              0 0

"mount -a" makes it mount right up. just not on boot. why?

I've had lots of timing issues with NFS (on Debian). I finally gave up and brute-forced it:

$ cat /etc/rc.local    # < DEBIAN!
[...]
# Ugly hack-around for NFS "hang on boot" problem until I upgrade
sleep 120
/etc/init.d/rpcbind start && /etc/init.d/nfs-common start && /etc/init.d/nfs-kernel-server start
[...]

Until I did the above my Debian Squeeze (yeah, I know, upgrading that Real Soon Now) would hang for 20-30 MINUTES on a reboot.

Ugly hack that shouldn't be needed, but...maybe...

Later,
JP
----------------------------|:::======|-------------------------------
JP Vossen, CISSP            |:::======|      http://bashcookbook.com/
My Account, My Opinions     |=========|      http://www.jpsdomain.org/
----------------------------|=========|-------------------------------
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug