Re: nfs filesystems can not be mounted automatically after reboot
- From: Peng Yu <pengyu.ut@xxxxxxxxx>
- Date: Wed, 21 Jul 2010 20:03:40 -0500
On Wed, Jul 21, 2010 at 10:23 AM, Preston Hagar <prestonh@xxxxxxxxx> wrote:
On Wed, Jul 21, 2010 at 12:09 AM, Peng Yu <pengyu.ut@xxxxxxxxx> 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
--
Regards,
Peng
You might try adding auto to the options in your fstab line:
yyy.yyy.yyy.yyy:/pearson/data /pearson/data nfs rw,auto 0
Also, as a side note, you might want to try using nfs4 if your nfs
server supports it. It is generally faster and more reliable (there
are other good things about it like better locking as well)
Here is my fstab entry (bob is my servername):
bob:/var/data/samba /var/data/nfs/bob nfs4 rw,auto 0 0
I'm not sure if the server support nfs4 or not. Do you know how to check it?
--
Regards,
Peng
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- References:
- nfs filesystems can not be mounted automatically after reboot
- From: Peng Yu
- Re: nfs filesystems can not be mounted automatically after reboot
- From: Preston Hagar
- nfs filesystems can not be mounted automatically after reboot
- Prev by Date: Re: ubuntu touchpad control
- Next by Date: Re: No Sound in Ubuntu 10.04
- Previous by thread: Re: nfs filesystems can not be mounted automatically after reboot
- Next by thread: Re: nfs filesystems can not be mounted automatically after reboot
- Index(es):
Relevant Pages
|