[Gluster-users] Glusterfs looses extendeed attributes Samba 4

Lukáš Bezdička lukas.bezdicka at gooddata.com
Thu Sep 19 08:20:05 UTC 2013


gluster 3.4.0 had issue with ACLs, aren't you hitting
https://bugzilla.redhat.com/show_bug.cgi?id=994392 ?


On Thu, Sep 19, 2013 at 10:00 AM, Daniel Müller <mueller at tropenklinik.de>wrote:

> I logon to the samba4 domain. To set the home directory with the dsa.msc
> tool from a windows client-->there profile
>   even the tool complaining the directory could not be created. It is on my
> linux box on the glusterd root /raid5hs..
> The home directories are on a gluster volume exported using samba 4:
>  [home]
> path= /mnt/glusterfs/ads/home <---- my glusterfs-client mount
>         readonly = No
>          posix locking =NO
>        vfs objects = acl_xattr <--- set but no function
>
> I  do a "mount -t glusterfs 172.17.1.1:/sambacluster /mnt/glusterfs -o ac"
> no result.
> I think this is an issue of the glusterfs 3.4 client
>
> I cannot see any extended attributes from a windows client!
> Strange!!!
>
>
> EDV Daniel Müller
>
> Leitung EDV
> Tropenklinik Paul-Lechler-Krankenhaus
> Paul-Lechler-Str. 24
> 72076 Tübingen
> Tel.: 07071/206-463, Fax: 07071/206-499
> eMail: mueller at tropenklinik.de
> Internet: www.tropenklinik.de
>
> Von: RAGHAVENDRA TALUR [mailto:raghavendra.talur at gmail.com]
> Gesendet: Donnerstag, 19. September 2013 09:04
> An: mueller at tropenklinik.de
> Cc: samba-bounces at lists.samba.org; gluster-users at gluster.org
> Betreff: Re: [Gluster-users] Glusterfs looses extendeed attributes Samba 4
>
> Hi Daniel,
>
> If I understand correctly, you are doing this:
> 1. Using a windows client, set acls on files on a gluster volume exported
> using samba 4.
> 2. Mount the same volume using native glusterfs mount option.
> 3. Check for the acl set from windows client.
>
> Result is that you are not able to see the acls from glusterfs mount.
>
> My questions:
> 1. Do you still see the extended attributes on a windows client?
> 2. Can you trying doing a glusterfs mount with acl option and tell if that
> works?
>
> Thanks,
> Raghavendra Talur
>
> On Wed, Sep 18, 2013 at 7:46 PM, Daniel Müller <mueller at tropenklinik.de>
> wrote:
> No one!?
> How do I get the extended attributes passed through to the glusterfs
> client?
> Samba4 (With ADS Tool Microsoft) indeed does create the directories on the
> gluster /raid5hs/glusterfs/samba/ads/home
> the right way but complaining it could not.
> But glusterfs : xxx.xxx.xxx:/sambacluster on /mnt/glusterfs type
> fuse.glusterfs (rw,allow_other,max_read=131072)
> Cannot show up the extended attributes!?
>
> -----------------------------------------------
> EDV Daniel Müller
>
> Leitung EDV
> Tropenklinik Paul-Lechler-Krankenhaus
> Paul-Lechler-Str. 24
> 72076 Tübingen
>
> Tel.: 07071/206-463, Fax: 07071/206-499
> eMail: mueller at tropenklinik.de
> Internet: www.tropenklinik.de
> -----------------------------------------------
> -----Ursprüngliche Nachricht-----
> Von: Daniel Müller [mailto:mueller at tropenklinik.de]
> Gesendet: Montag, 16. September 2013 10:24
> An: 'samba-bounces at lists.samba.org'
> Cc: 'gluster-users at gluster.org'
> Betreff: Glusterfs looses extendeed attributes Samba 4
>
> Hello to all,
>
> There is a strange problem with samba 4 and glusterfs 3.4 on centos 6.4.
> As the Glusterd-XFS-Filesystem mounted on  my /raid5hs Have the right
> extended attributes:
>
> The xfs Server-Gluster-Partition mounted on /raid5hs ls -la
> /raid5hs/glusterfs/samba/ads/home/Administrator insgesamt 0
> drwxrwxr-x+ 2 3000000 users  6 23. Aug 10:35
>
> [root at s4master bricks]# getfacl
> /raid5hs/glusterfs/samba/ads/home/Administrator
> getfacl: Entferne führende '/' von absoluten Pfadnamen
> # file: raid5hs/glusterfs/samba/ads/home/Administrator
> # owner: 3000000
> # group: users
> user::rwx
> user:root:rwx
> group::rwx
> group:users:rwx
> group:3000000:rwx
> mask::rwx
> other::r-x
> default:user::rwx
> default:user:root:rwx
> default:user:3000000:rwx
> default:group::r-x
> default:group:users:r-x
> default:mask::rwx
> default:other::r-x
>
> The Gluster-Brick Glusterfs-Client remounted on /mnt/glusterfs on the same
> host has lost this attributes
>
> ls -la   /mnt/glusterfs/ads/home/Administrator
> insgesamt 0
> drwxrwxr-x 2 3000000 users  6 23. Aug 10:35 .
>
>
> [root at s4master bricks]# getfacl  /mnt/glusterfs/ads/home/Administrator
> getfacl: Entferne führende '/' von absoluten Pfadnamen
> # file: mnt/glusterfs/ads/home/Administrator
> # owner: 3000000
> # group: users
> user::rwx
> group::rwx
> other::r-x
>
>
> The brick is mounted like this --> mount -t glusterfs
> 172.17.1.1:/sambacluster /mnt/glusterfs -o ac
>
> My smb.conf:
>
> # Global parameters
> [global]
>         workgroup = TPLK
>         realm = tplk.loc
>         netbios name = S4MASTER
>         server role = active directory domain controller
>         server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl,
> winbind, ntp_signd, kcc, dnsupdate
>         idmap_ldb:use rfc2307 = yes
>         allow dns updates = yes
>         follow symlinks = yes
>         unix extensions = no
>
>
> [netlogon]
>         path = /usr/local/samba/var/locks/sysvol/tplk.loc/scripts
>         read only = No
>
> [sysvol]
>         path = /usr/local/samba/var/locks/sysvol
>         read only = No
>
> [home]
> path= /mnt/glusterfs/ads/home
> readonly = No
> posix locking =NO
>
> Any idea!?
>
> Greetings
>
> -----------------------------------------------
> EDV Daniel Müller
>
> Leitung EDV
> Tropenklinik Paul-Lechler-Krankenhaus
> Paul-Lechler-Str. 24
> 72076 Tübingen
>
> Tel.: 07071/206-463, Fax: 07071/206-499
> eMail: mueller at tropenklinik.de
> Internet: www.tropenklinik.de
> -----------------------------------------------
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>
>
>
>
> --
> Raghavendra Talur
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130919/6c73fb7b/attachment.html>


More information about the Gluster-users mailing list