Kernel on the nfs client:
#> uname -a
Linux ar 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Here's the fstab line for the nfs4 mount:
server:/ /network/srv nfs4 noauto,user,x-systemd.automount,x-systemd.device-timeout=10,x-systemd.idle-timeout=0,rw,sec=sys,relatime,vers=4.2,hard,intr,proto=tcp,timeo=30,retrans=2,port=2049,x-systemd.requires=nfs-client.target 0 0
#> ls /network/srv
music videos
#> ls /network/srv/music
/bin/ls: cannot open directory '/network/srv/music': Operation not permitted
Kernel on the NFS server:
#> uname -a
Linux ossrv 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Here's the /etc/exports file on the NFS server:
/export 192.168.0.0/16(fsid=0,rw,crossmnt,insecure,no_subtree_check,async,anonuid=65534,anongid=65534)
/export/music 192.168.0.0/16(rw,crossmnt,insecure,no_subtree_check,async)
/export/videos 192.168.0.0/16(rw,crossmnt,insecure,no_subtree_check,async)
When i boot the kernel version 4.4.0-28-generic (or before) on the NFS client is working fine.
I experience the same issue:
Kernel on the nfs client:
#> uname -a
Linux ar 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Here's the fstab line for the nfs4 mount: user,x- systemd. automount, x-systemd. device- timeout= 10,x-systemd. idle-timeout= 0,rw,sec= sys,relatime, vers=4. 2,hard, intr,proto= tcp,timeo= 30,retrans= 2,port= 2049,x- systemd. requires= nfs-client. target 0 0
server:/ /network/srv nfs4 noauto,
#> ls /network/srv
music videos
#> ls /network/srv/music srv/music' : Operation not permitted
/bin/ls: cannot open directory '/network/
Kernel on the NFS server:
#> uname -a
Linux ossrv 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Here's the /etc/exports file on the NFS server: 0.0/16( fsid=0, rw,crossmnt, insecure, no_subtree_ check,async, anonuid= 65534,anongid= 65534) 0.0/16( rw,crossmnt, insecure, no_subtree_ check,async) 0.0/16( rw,crossmnt, insecure, no_subtree_ check,async)
/export 192.168.
/export/music 192.168.
/export/videos 192.168.
When i boot the kernel version 4.4.0-28-generic (or before) on the NFS client is working fine.