Ubuntu hangs on boot when NFS-mounting entries in /etc/fstab, but they mount cleanly otherwise

Posted by lorin on Server Fault See other posts from Server Fault or by lorin
Published on 2010-04-22T20:34:43Z Indexed on 2010/04/22 20:43 UTC
Read the original article Hit count: 260

Filed under:
|

I'm managing several Ubuntu 9.10 servers that NFS mount several folders (including /home). I'd like these folders to be mounted at boot time. I would like to have several entries in my /etc/fstab to accomplish this, e.g.

192.168.1.100:/home           /home           nfs     rw 0 0
192.168.1.100:/usr/ansys_inc  /ansys_inc      nfs     ro 0 0

Unfortunately, with this configuration, the servers usually (although not always) hang during the bootup sequence when trying to do the NFS mount.

if I comment out these fstab entries, reboot the machine, uncomment them and mount them manually using the shell, the folders mount cleanly.

I'm not sure how to go about debugging this problem. It seems like it has something to do with the boot sequence, that some relevant process hasn't been started by the time the OS tries to mount the folders.

© Server Fault or respective owner

Related posts about ubuntu-9.10

Related posts about nfs