NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
lewellyn
May 19, 2010Aspirant
NFS version 4?
Is there a way to enable a share to use NFS v4? The network here uses NFS v4 (and generally the Unix machines use Active Directory for user lookups, for ease of management) on most systems utilizing N...
discoverlinux
Oct 27, 2010Aspirant
My 2100, RAIDiator 4.1.6, does support v4, as well as 2 and 3.
sudo rpcinfo -p backupserver | grep nfs
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
Replace "backupserver" with your NAS IP address.
The problem is the config file needs an additional parameter which defines the NFS v4 pseudo-filesystem root (only define one at the top level). You then only need to mount the root "backupserver:/" in v4, which in my config actually mounts the NAS /backup directory. So I only have one NFS share, so added "fsid=0" to the /etc/exports
"/backup" *(fsid=0,insecure,insecure_locks,rw,async)
To mount my local directory /archive I use
sudo mount -t nfs4 -o rw,hard,intr,bg backupserver:/ /archive
Note backupserver:/ is used as you mount the root only, don't use the actual share name like /backup.
sudo rpcinfo -p backupserver | grep nfs
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
Replace "backupserver" with your NAS IP address.
The problem is the config file needs an additional parameter which defines the NFS v4 pseudo-filesystem root (only define one at the top level). You then only need to mount the root "backupserver:/" in v4, which in my config actually mounts the NAS /backup directory. So I only have one NFS share, so added "fsid=0" to the /etc/exports
"/backup" *(fsid=0,insecure,insecure_locks,rw,async)
To mount my local directory /archive I use
sudo mount -t nfs4 -o rw,hard,intr,bg backupserver:/ /archive
Note backupserver:/ is used as you mount the root only, don't use the actual share name like /backup.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!