[Gluster-users] Samba vfs objects glusterfs is it now working?
Lalatendu Mohanty
lmohanty at redhat.com
Fri Feb 7 17:01:26 UTC 2014
Hei Deniel,
I was trying out Samba 4.1.3 + Samba vfs plugin+ glusterfs 3.4.2 and
have hit a bug. I was using packages available in Fedora 20. I think the
bug might be with vfs plugin which is in Samba 4 tree. Please update the
bug with your comments if you think your issue is also related to this.
https://bugzilla.redhat.com/show_bug.cgi?id=1062674 : Write is failing
on a cifs mount with samba-4.1.3-2.fc20 + glusterfs samba vfs plugin
On 02/07/2014 12:57 PM, Daniel Müller wrote:
> Dear all,
>
> I try to establish the vfs object glusterfs.
> My settings samba 4.1.4 share definition:
>
> [home]
> comment=gluster test
> vfs objects=glusterfs
> glusterfs:volume= sambacluster
> glusterfs:volfile_server = 172.17.1.1
> path=/ads/home
Actually with vfs plugin we don't need to give the actual path. However
I am not sure if that is causing issue in your case. I use the following
entries
[testvol]
comment = For samba share of volume smb-vol-2
path = /
read only = No
guest ok = Yes
vfs objects = glusterfs
glusterfs:loglevel = 10
glusterfs:logfile = /var/log/samba/glusterfs-smb-vol-2.%M.log
glusterfs:volume = testvol
> read only=no
> posix locking =NO
>
>
> Mount gluster in fstab:
>
> 172.17.1.1:/sambacluster /mnt/glusterfs glusterfs
> defaults,acl,__netdev 0 0
>
> Under /dev/sdb1: mkfs.xfs -i size=512 /dev/sdb1
> /dev/sdb1 /raid5hs xfs defaults 1 2
>
> [root at s4master ~]# gluster volume info
>
> Volume Name: sambacluster
> Type: Replicate
> Volume ID: 4fd0da03-8579-47cc-926b-d7577dac56cf
> Status: Started
> Number of Bricks: 1 x 2 = 2
> Transport-type: tcp
> Bricks:
> Brick1: s4master:/raid5hs/glusterfs/samba
> Brick2: s4slave:/raid5hs/glusterfs/samba
> Options Reconfigured:
> performance.quick-read: on
> network.ping-timeout: 5
> performance.stat-prefetch: off
>
> Samba is reporting to load the vol:
>
> Feb 7 08:20:52 s4master GlusterFS[6867]: [2014/02/07 08:20:52.455982, 0]
> ../source3/modules/vfs_glusterfs.c:292(vfs_gluster_connect)
> Feb 7 08:20:52 s4master GlusterFS[6867]: sambacluster: Initialized volume
> from server 172.17.1.1
>
> But when I try to write Office Files and txt Files from a win client to the
> share there is an error "the file:xxxxx could not be created, System could
> not find the file". But after a refresh the file was generated anyway.
> This files cannot be changed but deleted anyway.
> Directories can be generated without this issue!?
>
> Can you give me a hint to make things work? Or is the plugin not working at
> this state?
>
>
> 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
> "Der Mensch ist die Medizin des Menschen"
>
>
>
>
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
More information about the Gluster-users
mailing list