[Samba] vfs objects = glusterfs

Stefan Kania stefan at kania-online.de
Fri Feb 13 06:46:24 MST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 13.02.2015 um 12:21 schrieb Ralph Böhme:
> Hi Stefan,
> 
> On Fri, Feb 13, 2015 at 12:02:20PM +0100, Stefan Kania wrote:
>> [daten] comment = Daten im Cluster path = /glusterfs/daten/ read
>> only = No kernel share modes = No
>> 
>> 
>> [daten2] comment = Daten im Cluster über gluster-vfs path = /
> 
> Shouldn't that read:
> 
> path = /glusterfs/daten/
> 
> too ?
> 
> -Ralph
> 
Hello Ralph,

That's what I tried first, but I got the same errormessage.
- -----smb.conf-------
[daten2]
        comment = Daten im Cluster über gluster-vfs
        path = /glusterfs/daten2
        read only = No
        kernel share modes = No
        vfs objects = glusterfs
        glusterfs:volfile_server = cluster-42
        glusterfs:volume = gv0
        glusterfs:logfile = /var/log/samba/gluster-gv0.log
        glusterfs:loglevel = 7
- --------------------

And the connect:
- --------------------
root at samba42-fs2:/glusterfs# smbclient -U administrator
//cluster-42/daten2
Enter administrator's password:
Domain=[EXAMPLE] OS=[Windows 6.1] Server=[Samba
4.2.0rc4-SerNet-Debian-6.wheezy]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
- --------------------
As I understoud, if you use vfs object glusterfs you point directly to
the Gluster-Brick. What I tried so far:
path = /
path = /glusterfs/daten2
path = /daten2
path = /gluster/brick/daten2
None of the above is working.

Btw. here some more information about my Gluster-volume:
- --------------------
root at samba42-fs2:/glusterfs# gluster volume info

Volume Name: gv0
Type: Replicate
Volume ID: d3393de7-cee1-48b3-a393-1c767304ef48
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: samba42-1:/gluster/brick
Brick2: samba42-2:/gluster/brick
Options Reconfigured:
server.allow-insecure: on
- --------------------

The hostname "cluster-42" points to the two virtual-IPs of the
CTDB-Cluster

- -- 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlTeADAACgkQ2JOGcNAHDTaEyQCfX+c3NFGGM/A7KC9LxDm5+t6A
pC4AoIJGENaMkltGeo9TcCsIUbVgIPqt
=0JYX
-----END PGP SIGNATURE-----


More information about the samba mailing list