ABHISHEK PALIWAL
2016-Apr-26 06:41 UTC
[Gluster-users] How to enable ACL support in Glusterfs volume
Hi, I want to enable ACL support on gluster volume using the kernel NFS ACL support so I have followed below steps after creation of gluster volume: 1. mount -t glusterfs -o acl 10.32.0.48:/c_glusterfs /tmp/a2 2. update the /etc/exports file /tmp/a2 10.32.*(rw,acl,sync,no_subtree_check,no_root_squash,fsid=14) 3. exportfs ?ra 4. gluster volume set c_glusterfs nfs.acl off 5. gluster volume set c_glusterfs nfs.disable on we have disabled above two options because we are using Kernel NFS ACL support and that is already enabled. on other board mounting it using mount -t nfs -o acl,vers=3 10.32.0.48:/tmp/a2 /tmp/e/ setfacl -m u:application:rw /tmp/e/usr setfacl: /tmp/e/usr: Operation not supported and application is the system user like below application:x:102:0::/home/application:/bin/sh I don't why I am getting this failure when I enabled all the acl support in each steps. Please let me know how can I enable this. Regards, Abhishek -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160426/960734f6/attachment.html>
Jiffin Tony Thottan
2016-Apr-26 06:48 UTC
[Gluster-users] [Gluster-devel] How to enable ACL support in Glusterfs volume
On 26/04/16 12:11, ABHISHEK PALIWAL wrote:> Hi, > I want to enable ACL support on gluster volume using the kernel NFS > ACL support so I have followed below steps after creation of gluster > volume:Is there any specific reason to knfs instead of in build gluster nfs server ?> 1. mount -t glusterfs -o acl 10.32.0.48:/c_glusterfs /tmp/a2 > 2.update the /etc/exports file > /tmp/a2 10.32.*(rw,acl,sync,no_subtree_check,no_root_squash,fsid=14) > 3.exportfs ?ra > 4.gluster volume set c_glusterfs nfs.acl off > 5.gluster volume set c_glusterfs nfs.disable on > we have disabled above two options because we are using Kernel NFS ACL > support and that is already enabled. > on other board mounting it using > mount -t nfs -o acl,vers=3 10.32.0.48:/tmp/a2 /tmp/e/ > setfacl -m u:application:rw /tmp/e/usr > setfacl: /tmp/e/usr: Operation not supportedCan you please check the clients for the hints ?> and application is the system user like below > application:x:102:0::/home/application:/bin/sh > > I don't why I am getting this failure when I enabled all the acl > support in each steps. > > Please let me know how can I enable this. > > Regards, > Abhishek >-- Jiffin> > > _______________________________________________ > Gluster-devel mailing list > Gluster-devel at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-devel-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160426/aceb6a96/attachment.html>
Niels de Vos
2016-Apr-26 13:07 UTC
[Gluster-users] [Gluster-devel] How to enable ACL support in Glusterfs volume
On Tue, Apr 26, 2016 at 12:11:06PM +0530, ABHISHEK PALIWAL wrote:> Hi, > > I want to enable ACL support on gluster volume using the kernel NFS ACL > support so I have followed below steps after creation of gluster volume: > > 1. mount -t glusterfs -o acl 10.32.0.48:/c_glusterfs /tmp/a2 > > 2. update the /etc/exports file > /tmp/a2 10.32.*(rw,acl,sync,no_subtree_check,no_root_squash,fsid=14) > > 3. exportfs ?ra > > 4. gluster volume set c_glusterfs nfs.acl off > > 5. gluster volume set c_glusterfs nfs.disable on > > we have disabled above two options because we are using Kernel NFS ACL > support and that is already enabled. > > > > on other board mounting it using > > mount -t nfs -o acl,vers=3 10.32.0.48:/tmp/a2 /tmp/e/ > > setfacl -m u:application:rw /tmp/e/usr > setfacl: /tmp/e/usr: Operation not supportedHave you tried to set/getfacl on the Gluster FUSE mountpoint (/tmp/a2) too? Depending on the filesystem that you use on the bricks, you may need to mount with "-o acl" there as well. Try to set/get an ACL on all of these different levels to see where is starts to fail. Thanks, Niels> > and application is the system user like below > > application:x:102:0::/home/application:/bin/sh > > I don't why I am getting this failure when I enabled all the acl support in > each steps. > > Please let me know how can I enable this. > > Regards, > Abhishek> _______________________________________________ > Gluster-devel mailing list > Gluster-devel at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-devel-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160426/446585ad/attachment.sig>