[opensuse] nfs4 mount and acls (opensuse 11.4)
Hello, Upgraded from opensuse 11.2 to 11.4 and when mounting nfs files systems the ACLs are no longer present.
From 11.2 system, the acls are seen;
(Using 'mount -t nfs ...') /mnt/inputs type nfs (rw,addr=192.168.60.200,nfsvers=3,proto=tcp,mountproto=udp) # ls /mnt/ drwxr-sr-x+ 6 root root 4096 Mar 24 2011 inputs Same mount from 11.4 system; (Using 'mount -t nfs ...') /mnt/inputs type nfs4 (rw,relatime,vers=4,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.60.38,minorversion=0,local_lock=none,addr=192.168.60.200) # ls /mnt/ drwxr-sr-x 6 4294967294 4294967294 4096 Mar 24 2011 inputs <snip> Any ideas how I can mount the nfs file system, using nfs4, and still have the ACLs? If not, how can I mount with nfs 3? Thank you in advance. James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/24/2012 03:38 AM, James D. Parra wrote:
Hello,
Upgraded from opensuse 11.2 to 11.4 and when mounting nfs files systems the ACLs are no longer present.
From 11.2 system, the acls are seen;
(Using 'mount -t nfs ...')
/mnt/inputs type nfs (rw,addr=192.168.60.200,nfsvers=3,proto=tcp,mountproto=udp)
# ls /mnt/ drwxr-sr-x+ 6 root root 4096 Mar 24 2011 inputs
Same mount from 11.4 system;
(Using 'mount -t nfs ...')
/mnt/inputs type nfs4 (rw,relatime,vers=4,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.60.38,minorversion=0,local_lock=none,addr=192.168.60.200)
# ls /mnt/ drwxr-sr-x 6 4294967294 4294967294 4096 Mar 24 2011 inputs <snip>
Any ideas how I can mount the nfs file system, using nfs4, and still have the ACLs? If not, how can I mount with nfs 3?
Thank you in advance.
James Hi It is not recommended that nfs4 shares be mounted from a pseudoroot fsid=0 any longer, so just go ahead and export your shares in the old nfs3 style. Pls see references below.
The nfs devs do not seem to understand what actual users need. Any posix acl's you have set are destroyed when mounted. nfs4_setfacl seems to be broken too. If you remove the posix acls and reset using nfs4_setfacl, the + appears on the unmounted share but is lost when mounted. Also, nfs4_setfacl does not override umask so there is little use for it. acl's aside, in your case it looks as though rpc.idmapd isn't running. Try unmounting, restarting the nfsserver and running rpc.idmapd -fvvv at both ends. Then remount. Compare the client - server mappings. On the acl's, do you think it would be OK to send a bugzilla/feature request via openSUSE? I got nowhere with the nfs4 devs although they have said that they'll think about doing something about it: http://www.spinics.net/lists/linux-nfs/msg27737.html There is an up to date man nfs4_setfacl(1) here: http://linux.die.net/man/1/nfs4_setfacl Common nfs4 misunderstandings: http://wiki.linux-nfs.org/wiki/index.php/Nfsv4_configuration Thanks for bringing this up. L & S@lcb -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Upgraded from opensuse 11.2 to 11.4 and when mounting nfs files systems the ACLs are no longer present.
From 11.2 system, the acls are seen;
(Using 'mount -t nfs ...')
/mnt/inputs type nfs (rw,addr=192.168.60.200,nfsvers=3,proto=tcp,mountproto=udp)
# ls /mnt/ drwxr-sr-x+ 6 root root 4096 Mar 24 2011 inputs
Same mount from 11.4 system;
(Using 'mount -t nfs ...')
/mnt/inputs type nfs4 (rw,relatime,vers=4,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.60.38,minorversion=0,local_lock=none,addr=192.168.60.200)
# ls /mnt/ drwxr-sr-x 6 4294967294 4294967294 4096 Mar 24 2011 inputs <snip>
James Hi It is not recommended that nfs4 shares be mounted from a pseudoroot fsid=0 any longer, so just go ahead and export your shares in the old nfs3 style. Pls see references below.
The nfs devs do not seem to understand what actual users need. Any posix acl's you have set are destroyed when mounted. nfs4_setfacl seems to be broken too. If you remove the posix acls and reset using nfs4_setfacl, the + appears on the unmounted share but is lost when mounted. Also, nfs4_setfacl does not override umask so there is little use for it. acl's aside, in your case it looks as though rpc.idmapd isn't running. Try unmounting, restarting the nfsserver and running rpc.idmapd -fvvv at both ends. Then remount. Compare the client - server mappings. On the acl's, do you think it would be OK to send a bugzilla/feature request via openSUSE? I got nowhere with the nfs4 devs although they have said that they'll think about doing something about it: http://www.spinics.net/lists/linux-nfs/msg27737.html There is an up to date man nfs4_setfacl(1) here: http://linux.die.net/man/1/nfs4_setfacl Common nfs4 misunderstandings: http://wiki.linux-nfs.org/wiki/index.php/Nfsv4_configuration ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Thanks for the response. What I did do was add nfsvers=3 to the -o command and all of the ACL's came up. Will read your suggestions and thank you for your help. Best regards, James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
James D. Parra
-
lynn