[Samba] samba4 with glusterfs

Hisham Attar hashi825 at gmail.com
Fri May 10 08:15:56 MDT 2013


have you tried mounting with user_xattr in addition to acl? I had to do
that when I was using glusterfs for sysvol replication


On Sat, May 11, 2013 at 12:00 AM, Ulrich Schinz <uli at schinz.de> wrote:

> Hi Sambalist,
>
> maybe someone with some glusterfs experience can help me.
>
> I have a running samba4 installation here.
> Now i tried to get glusterfs configured so I can use glusterfs as an
> additional storagesystem.
>
> The setup of glusterfs worked pretty easy. I tried multiple configurations
> with up to 4 virtual machines (Virtual Box).
> The bricks are xfs-filesystems.
>
> Mounting glusterfs (mount -t glusterfs gluster01:/volume1 /samba/glusterfs
> -o acl) is working as well, but I have a strange error.
> Trying to set the rights on that share /samba/glusterfs from windows is
> not possible.
>
> Gluster tells me following:
> [2013-05-10 15:43:43.508988] E [posix.c:2583:posix_getxattr]
> 0-dfsvol01-posix: getxattr failed on /export/brick1/: user.DOSATTRIB (No
> data available)
>
> another error:
> [2013-05-10 15:49:54.998621] E [posix.c:2583:posix_getxattr]
> 0-dfsvol01-posix: getxattr failed on /export/brick1/:
> system.posix_acl_access (No data available)
> [2013-05-10 15:49:55.028892] E [marker.c:2136:marker_**removexattr_cbk]
> 0-dfsvol01-marker: No data available occurred while creating symlinks
> [2013-05-10 15:49:55.028952] I [server3_1-fops.c:738:server_**removexattr_cbk]
> 0-dfsvol01-server: 127: REMOVEXATTR / (00000000-0000-0000-0000-**000000000001)
> ==> -1 (No data available)
>
>
> And it's right, there is no data in there... samba wants to write it...
>
> I did a (in my opinion identical) setup on 2 virtualbox machines before.
> There everything is working fine.
>
> Trying to set xattrs in shell works fine, it works on the bricks (xfs) and
> on the mounted glusterfs-volume (mount -t glusterfs ... -o acl ... or
> without -o acl, doesnt matter). It
> works perfect, no errors in logfile nothing. just setfattr -n user.test -v
> test file.txt and thing is done... Prequesites for samba should be given in
> that case....
>
> System: Debian Wheezy
> Brick fs: xfs (mounted with defaults)
> gluster version: 3.3.1
> gluster replica 2 (2 nodes)
>
> Has someone any idea whats missing?
>
> Kind regards
> Uli
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/**mailman/options/samba<https://lists.samba.org/mailman/options/samba>
>


More information about the samba mailing list