--- SERVER (Ubuntu server in virtualbox)
/etc/exports
/export 192.168.168.0/24(rw,fsid=0,insecure,no_subtree_check,sync)
/export/www 192.168.168.0/24(rw,no_subtree_check,sync)
/etc/idmapd.conf
[General]
Verbosity = 0
Pipefs-Directory = /run/rpc_pipefs
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
/etc/hosts.deny
rpcbind mountd nfsd statd lockd rquotad : ALL
/etc/hosts.allow
rpcbind mountd nfsd statd lockd rquotad : 127.0.0.1 192.168.168.3
$ rpcinfo -p `hostname`
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100005 1 udp 58021 mountd
100005 1 tcp 38807 mountd
100005 2 udp 37830 mountd
100005 2 tcp 36263 mountd
100005 3 udp 52490 mountd
100005 3 tcp 51316 mountd
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049
100227 3 tcp 2049
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049
100227 3 udp 2049
100021 1 udp 40450 nlockmgr
100021 3 udp 40450 nlockmgr
100021 4 udp 40450 nlockmgr
100021 1 tcp 37547 nlockmgr
100021 3 tcp 37547 nlockmgr
100021 4 tcp 37547 nlockmgr
---CLIENT (Linux Mint Sarah)
/etc/idmapd.conf
[General]
Verbosity = 0
Pipefs-Directory = /run/rpc_pipefs
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
MOUNT COMMAND
sudo mount -t nfs4 -o proto=tcp,port=2049 webdev1.local:/www /home/fathead/Workspace/vm/Webdev1/www
MOUNT output
webdev1.local:/www on /home/fathead/Workspace/vm/Webdev1/www type nfs4 (rw,relatime,vers=4.0,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.168.3,local_lock=none,addr=192.168.168.81)
sudo rpc.idmapd -f -vv
rpc.idmapd: libnfsidmap: using domain: myrealdomain.ca
rpc.idmapd: libnfsidmap: Realms list: 'MYREALDOMAIN.CA'
rpc.idmapd: libnfsidmap: loaded plugin /lib/x86_64-linux-gnu/libnfsidmap/nsswitch.so for method nsswitch
rpc.idmapd: Expiration time is 600 seconds.
rpc.idmapd: Opened /proc/net/rpc/nfs4.nametoid/channel
rpc.idmapd: Opened /proc/net/rpc/nfs4.idtoname/channel
rpc.idmapd: New client: 0
rpc.idmapd: New client: 1
rpc.idmapd: New client: 11
rpc.idmapd: Opened /run/rpc_pipefs/nfs/clnt11/idmap
rpc.idmapd: New client: 14
rpc.idmapd: New client: 2