Is this possible? I am recently switching my SAMBA storage from a zpool to a GlusterFS mount. ACLs worked fantastically with zpool, but I can't figure out how to enable it for the mounted GlusterFS.
-o Options are specified with a -o flag followed by a comma
separated string of options. In case of conflicting options
being specified, the rightmost option takes effect. The
following options are available:
acls Enable POSIX.1e Access Control Lists, or ACLs, which can
be customized via the setfacl(1) and getfacl(1) commands.
This flag is mutually exclusive with nfsv4acls flag.
It uses fusefs underneath and I haven't found anything that can get mount -t glusterfs to work on FreeBSD.mount_glusterfs hostname:volname /mnt/glusterfs
mount_glusterfs -o acl hostname:volname /mnt/glusterfs
This results in "setfacl: /mnt/glusterfs: acl_get_file() failed: Operation not supported"setfacl -a 0 u:username:full_set:fd:allow /mnt/glusterfs
Would it be possible to set ACLs within the client FreeBSD though? This might be a dumb question, but is there any way to add the GlusterFS mount to a zpool?The last time i setup Gluster on FreeBSD was in 2018 (Gluster was then at Version 3.11?), and then the combo of GlusterFS+ZFS on FreeBSD was still experimental.
![]()
GlusterFS
A little bird told me that net/glusterfs is capable of creating a ZFS file system that spans multiple computers/pools. However, I have not been able to find any decent "howto's" or the such on how exactly one would go about implementing it or "best practices" and the such. Would be eternally...forums.freebsd.org
I used the Ports "samba413-4.13.8_1". Samba was great before I touched GlusterFS. What do you mean to use UFS for the Bricks? For clarity sake, I am suppose to be setting ACL on the client not the GlusterFS servers right? setfacl does work on the server, I hope I am not misunderstanding something here :/It's the reason why i used UFS for the Bricks
EDIT: Btw: Did you use the binary package for Samba, or do you use Ports?
Ok thanks, I'll take a look at Samba GlusterFS support!Ah, Ports. Nice. I take it you switched ON the GlusterFS-Support in the Samba-Port-Options?
AFAIK, you have to set the acls on the Server.
I remember trying to export a ZFS-Dataset on my FreeBSD-Server via Samba to some Linux-Clients, and i had to set 2 acls on that ZFS-Dataset (something with "passthrough" or some such. It's been 3 years. Would have to check if i still have the links).
The hassle just wasn't worth to me, so i switched to UFS on the Server (no ZFS anywhere on the Server).