User Tools

  • (equal to forum credentials)

Site Tools


mount_nfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mount_nfs [2014/05/29 22:52] (current)
Line 1: Line 1:
 +**Mounting NFS from /​etc/​fstab**
  
 +Normally NFS support in Linux systems depends on kernel support and NFS services - specific for NFS2/3 servers and NFS4 servers.
 +
 +By default XBian is not starting those upon boot, but tries automatically guess, if they are needed.
 +
 +If any NFS mounts are specified in /etc/fstab, base support is loaded, then depending on NFS or NFS4, statd, idmapd and gssd are started.
 +
 +(still, they can be force started by editing /​etc/​default/​nfs-common and putting "​yes"​ to autoload)
 +
 +With recent updates to NFS system support, NFS4 as fstab fstype was depreciated and "​vers=2/​3/​4"​ as mountoption is recommended. For some users there are no issues, for others lost auto mounting for NFS drives in fstab.
 +
 +This is mostly caused by system trying NFS4 also for fstypes specified as NFS - and failing in few minutes definitely.
 +
 +Help is very easy, if your mount line in /etc/fstab used to look like this before
 +<​code>​
 +my.server:/​mount/​folder /mnt/nfs nfs rw,​defaults,​intr 0 0
 +</​code>​
 +
 +change it to:
 +<​code>​
 +my.server:/​mount/​folder /mnt/nfs nfs rw,​defaults,​intr,​vers=3 0 0
 +</​code>​
mount_nfs.txt ยท Last modified: 2014/05/29 22:52 (external edit)