nfs filesystems can not be mounted automatically after reboot
Chris Jones
jonesc at hep.phy.cam.ac.uk
Wed Jul 21 09:20:52 UTC 2010
Hi,
Had you thought about using automount to manage your NFS mounts ? With
this, they are automatically mounted as and when needed, instead of
focring them to be mounted at boot time (which as others have noted may
be problematic if your network isn't ready). Works much better, in my
opinion.
Just google for "automount nfs", there are plenty of links.
Chris
Peng Yu wrote:
> Hi,
>
> 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
> # /etc/fstab: static file system information.
> #
> # Use 'blkid -o value -s UUID' to print the universally unique identifier
> # for a device; this may be used with UUID= as a more robust way to name
> # devices that works even if disks are added and removed. See fstab(5).
> #
> # <file system> <mount point> <type> <options> <dump> <pass>
> proc /proc proc nodev,noexec,nosuid 0 0
> # / was on /dev/sda1 during installation
> UUID=11bf0413-4054-492e-b5f3-b1b074fc4ea4 / ext4
> errors=remount-ro 0 1
> # swap was on /dev/sda5 during installation
> UUID=685e3202-fe16-424f-bf7f-8d562ed29e16 none swap sw
> 0 0
>
> xxx.xxx.xxx.xxx:/home /home nfs rw 0 0
> xxx.xxx.xxx.xxx:/data /data nfs rw 0 0
> #pearson nfs
> yyy.yyy.yyy.yyy:/pearson/data /pearson/data nfs rw 0
>
>
More information about the ubuntu-users
mailing list