nfs filesystems can not be mounted automatically after reboot

Nils Kassube kassube at
Wed Jul 21 06:04:31 UTC 2010

Peng Yu wrote:
> I have the following fstab. The nfs filesystem can not be
> automatically mounted after reboot. I have to run 'mount -a' to mount
> them. Does anybody know how to enable automatic mount?

> $ cat /etc/fstab
>    /home   nfs     rw      0       0
>	/data	nfs	rw	0	0
> #pearson nfs
> yyy.yyy.yyy.yyy:/pearson/data    /pearson/data   nfs     rw      0

I suppose the network is not yet ready when the file systems mentioned 
in fstab are mounted. You could add a line "mount -a" to the file 
"/etc/rc.local" to do your manual command automatically at the end of 
the boot process. This is probably not what you are looking for, but it 
might be a workaround if you don't find a better way.


More information about the ubuntu-users mailing list