-----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-----
On Fri, Feb 13, 2015 at 02:46:24PM +0100, Stefan Kania wrote:> -----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.a level 10 log might be telling. -Ralph -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de,mailto:kontakt at sernet.de
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Ralph, I think I found out why the vfs modul glusterfs is not working. Itt is because it's not build in the Sernet-Packages I got. Because the confgured log-file was not there, I searched throug all related log-files and found this message: - ------------------ tail -f /var/log/samba/log.smbd Error loading module '/usr/lib/x86_64-linux-gnu/samba/vfs/glusterfs.so': /usr/lib/x86_64-linux-gnu/samba/vfs/glusterfs.so: Kann die Shared-Object-Datei nicht ?ffnen: Datei oder Verzeichnis nicht gefunden - ------------------ So as long as the module is not part of the sernet-packages it will never work. So I think I'm at the same point as befor, changing permissions via Windows with glusterfs is not working But thank you Stefan Am 13.02.2015 um 14:59 schrieb Ralph B?hme:> On Fri, Feb 13, 2015 at 02:46:24PM +0100, Stefan Kania wrote: >> -----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. > > a level 10 log might be telling. > > -Ralph >- -- Stefan Kania Landweg 13 25693 St. Michaelisdonn Signieren jeder E-Mail hilft Spam zu reduzieren. Signieren Sie ihre E-Mail. Weiter Informationen unter http://www.gnupg.org Mein Schl?ssel liegt auf hkp://subkeys.pgp.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlTeGeQACgkQ2JOGcNAHDTZ1OQCg4vAOMjqD2n2dZAOw2U8NDTyD 6YMAoKHrB3npgzR1fAHk0jBqtwWhGHTh =pPcJ -----END PGP SIGNATURE-----