nfs filesystems can not be mounted automatically after reboot

Alin-Andrei nilarimogard at gmail.com
Wed Jul 21 08:54:53 UTC 2010


Use this script and it should set up everything for you:
http://www.webupd8.org/2010/04/ubuntu-script-to-automatically-mount.html

On Wed, Jul 21, 2010 at 11:49, Tom H <tomh0665 at gmail.com> wrote:

> On Wed, Jul 21, 2010 at 1:09 AM, Peng Yu <pengyu.ut at gmail.com> 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
> > # /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
>
> Add "_netdev" to your nfs mounts in fstab.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100721/b26a2828/attachment.html>


More information about the ubuntu-users mailing list