ONTAP Discussions

NFSv4 ACLs on RHEL?

JOSHBAIRD
33,969 Views

I'm having trouble using NFSv4 ACL's on RHEL6 from an exported volume with NFSv4+ACLs enabled.

On the client:

filer:/vol/vol4/share on /mnt/eportal type nfs4 (rw,rsize=65536,wsize=65536,hard,intr,proto=tcp,timeo=600,retrans=3,sec=sys,acl)

It is my understanding that I must use "nfs4_setfacl" on RHEL, because the POSIX enabled "setfacl" command does not work for NFSv4 ACLs.  Whenever I try to use nfs4_setfacl to configure an ACL on a file/directory on the exported filesystem, I get the following error:

$ nfs4_setfacl -a A::jbaird@:rwatTnNcCy hi

Failed setxattr operation: Invalid argument

The documentation on this matter is very sparse, and I can't really find much.  Can anyone offer some assistance?

Thanks!

12 REPLIES 12
Public