Are you using CTDB on a shared gluster volume instead of TDB on a local volume which is samba default. If not this may explain your issue because Samba stores or at least did ate one time store spinlocks in the TDB for speed. -- Sent from my HP Pre3 On Jan 23, 2014 10:31, Adrian Valeanu <Adrian.Valeanu@xxxxxxxxxx> wrote: Hi,
I try to replicate some data that resides on two CentOS servers. The replicated data should be shared using Samba to the users. It should be avoided that two users
try to work on the same file using MS Office. If the users access the same file on one server, one of them is not able to modify the file. This is possible (and the normal operation)
if one uses one server with Samba. I assumed that this kind of lock would be replicated too.
I did not knew about libgfapi and have not used it yesterday. I used the fuse mounted directory as data source for Samba.
Yesterday night I updated both CentOS servers. They are CentOS 6.5 now. Now locking does not happen at all any more. After you mentioned libgfapi I found this:
I managed to compile the module and switched to samba-glusterfs-vfs. But I still have no locking
My Samba configuration looks like this:
[glusterdata-vfs]
vfs object = glusterfs glusterfs:volume = gv0 path = / glusterfs:loglevel = 2 glusterfs:logfile = /var/log/samba/glusterdata-vfs.log read _only_ = no
browseable = yes guest ok = no printable = no nt acl support = yes acl map full control = yes Thank you for your attention.
>>> Lalatendu Mohanty <lmohanty@xxxxxxxxxx> 22.01.2014 16:10 >>> > On 01/22/2014 08:30 PM, Adrian Valeanu wrote:
Are you using Samba with libgfapi? I am not sure if I understand your expectation on locking through Samba. Some more context would be nice. -Lala
|
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://supercolony.gluster.org/mailman/listinfo/gluster-users