Use this script and it should set up everything for you: <a href="http://www.webupd8.org/2010/04/ubuntu-script-to-automatically-mount.html">http://www.webupd8.org/2010/04/ubuntu-script-to-automatically-mount.html</a><br><br>
<div class="gmail_quote">On Wed, Jul 21, 2010 at 11:49, Tom H <span dir="ltr"><<a href="mailto:tomh0665@gmail.com">tomh0665@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Wed, Jul 21, 2010 at 1:09 AM, Peng Yu <<a href="mailto:pengyu.ut@gmail.com">pengyu.ut@gmail.com</a>> wrote:<br>
><br>
> I have the following fstab. The nfs filesystem can not be<br>
> automatically mounted after reboot. I have to run 'mount -a' to mount<br>
> them. Does anybody know how to enable automatic mount?<br>
><br>
> $ cat /etc/fstab<br>
> # /etc/fstab: static file system information.<br>
> #<br>
> # Use 'blkid -o value -s UUID' to print the universally unique identifier<br>
> # for a device; this may be used with UUID= as a more robust way to name<br>
> # devices that works even if disks are added and removed. See fstab(5).<br>
> #<br>
> # <file system> <mount point>   <type>  <options>       <dump>  <pass><br>
> proc            /proc           proc    nodev,noexec,nosuid 0       0<br>
> # / was on /dev/sda1 during installation<br>
> UUID=11bf0413-4054-492e-b5f3-b1b074fc4ea4 /               ext4<br>
> errors=remount-ro 0       1<br>
> # swap was on /dev/sda5 during installation<br>
> UUID=685e3202-fe16-424f-bf7f-8d562ed29e16 none            swap    sw<br>
>           0       0<br>
><br>
> xxx.xxx.xxx.xxx:/home    /home   nfs     rw      0       0<br>
> xxx.xxx.xxx.xxx:/data   /data   nfs     rw      0       0<br>
> #pearson nfs<br>
> yyy.yyy.yyy.yyy:/pearson/data    /pearson/data   nfs     rw      0<br>
<br>
Add "_netdev" to your nfs mounts in fstab.<br>
<font color="#888888"><br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</font></blockquote></div><br>