[Samba] samba4 with glusterfs

Daniel Müller mueller at tropenklinik.de
Tue Sep 24 23:40:24 MDT 2013


It is also missing in glusterfs 3.4!
Just setup samba4 with glusterfs on centos 6.4. The same error.
Only the acl option is working. A work around to see the extended acls from
windows is to set the volume stat-prefetch off.

Greetings
Daniel

-----------------------------------------------
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: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von wil
Gesendet: Mittwoch, 25. September 2013 01:58
An: samba at lists.samba.org
Betreff: Re: [Samba] samba4 with glusterfs

Ulrich Schinz <uli <at> schinz.de> writes:

> 
> Am 11.05.2013 03:31, schrieb Hisham Attar:
> > for mine to work (under ubuntu) I had to mount with the options at 
> > the end or it didnt work mount -t glusterfs 
> > gluster01:/vol01/samba/glusterfs -o acl,user_xattr
> >
> ah ok, maybe in earlier versions... for now it's an unkonwn option...
> 
> mount -t glusterfs sba-gluster01.intern.ksfh.de:/dfsvol01
> /samba/glusterfs/ -o acl,user_xattr
> unknown option user_xattr (ignored)
> 

the option does appear to be there but it is either miss-named or doesn't
have an appropriate alias setup

glusterfs --help | grep -i attr

correct option name appears to be selinux

you could modify the mount script...
nano /sbin/mount.glusterfs

I can confirm this option doesn't appear to be in glusterfs 3.2.5 built on
Jan 31 2012 either as user_xattr or selinux

the operation of mount.glusterfs appears to be buggy when issued user_xattr
option - the log in /var/log/gluster/mnt.... indicates its trying to resolve
it as a host name

options are only specified after the volume when using the mount.glusterfs
script directly...
Usage:  mount.glusterfs <volumeserver>:<volumeid/volumeport> -o <options>
<mountpoint>

I believe when working directly with mount it's more normal to do as per man
entry....
mount [-fnrsvw] [-t vfstype] [-o options] device dir






-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list