Daniel Müller
2013-Sep-16 08:23 UTC
[Gluster-users] 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 -----------------------------------------------
Daniel Müller
2013-Sep-18 14:16 UTC
[Gluster-users] Glusterfs looses extendeed attributes Samba 4
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 -----------------------------------------------