Re: gluster samba acl 32 group limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 02, 2015 at 03:57:40PM -0500, Tom Young wrote:
> Hello,
> 
> We have a 4 server cluster running gluster 3.6.2, and I would like to
> enable acl controls.  Is there a way to enable >32 group limits for users
> accessing the filesystem thru samba?  Here is the entry in the fstab, and
> also the volume info.  Any help figuring this out, is much appreciated.

The best way to export a volume over Samba is with the vfs_glusterfs
plugin. This improves performance and is not affected by any of the FUSE
mount restrictions.

In your case, a configuration snippet would look like this:

    [gfsvol]
    comment = Gluster share of volume gfsvol
    path = /
    read only = No
    guest ok = Yes
    kernel share modes = No
    vfs objects = glusterfs
    glusterfs:loglevel = 7
    glusterfs:logfile = /var/log/samba/glusterfs-gfsvol.log
    glusterfs:volume = gfsvol

The "vfs object" for GlusterFS is provided by the samba-vfs-glusterfs
package on Fedora and other RPM-based distributions. The needed packages
are also available here:

    http://download.gluster.org/pub/gluster/glusterfs/samba/

This information comes from the following blog by Lala:

    https://lalatendumohanty.wordpress.com/2014/02/11/using-glusterfs-with-samba-and-samba-vfs-plugin-for-glusterfs-on-fedora-20/

HTH,
Niels


> 
> 
> 
> gfsib01a.corvidtec.com:/gfsvol  /home            glusterfs
> transport=tcp,_netdev 0 0
> 
> 
> 
> Volume Name: gfsvol
> 
> Type: Distributed-Replicate
> 
> Volume ID: 1e32672a-f1b7-4b58-ba94-58c085e59071
> 
> Status: Started
> 
> Number of Bricks: 4 x 2 = 8
> 
> Transport-type: tcp
> 
> Bricks:
> 
> Brick1: server1a.cvd.com:/data/brick01a/gfsvol
> 
> Brick2: server1b.cvd.com:/data/brick01b/gfsvol
> 
> Brick3: server2a.cvd.com:/data/brick02a/gfsvol
> 
> Brick4: server2b.cvd.com:/data/brick02b/gfsvol
> 
> Brick5: server1a.cvd.com:/data/brick01a/gfsvol
> 
> Brick6: server1b.cvd.com:/data/brick01b/gfsvol
> 
> Brick7: server2a.cvd.com:/data/brick02a/gfsvol
> 
> Brick8: server2b.cvd.com:/data/brick02b/gfsvol
> 
> Options Reconfigured:
> 
> performance.io-thread-count: 32
> 
> performance.cache-size: 128MB
> 
> performance.write-behind-window-size: 128MB
> 
> server.allow-insecure: on
> 
> network.ping-timeout: 10
> 
> storage.owner-gid: 100
> 
> geo-replication.indexing: off
> 
> geo-replication.ignore-pid-check: on
> 
> changelog.changelog: on
> 
> changelog.fsync-interval: 3
> 
> changelog.rollover-time: 15
> 
> server.manage-gids: on
> 
> 
> 
> Tom Young

> _______________________________________________
> Gluster-users mailing list
> Gluster-users@xxxxxxxxxxx
> http://www.gluster.org/mailman/listinfo/gluster-users

Attachment: pgpqBY32hrVZT.pgp
Description: PGP signature

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux