[Gluster-users] Problem creating/editing files with samba gluster vfs module..

Ira Cooper ira at redhat.com
Mon Jan 27 14:54:32 UTC 2014


There is, but before disabling flock, I'd like to understand why we are doing it.  I thought we implemented posix locking in gluster?

The parameter will be named "locking", and I believe it can be set to posix, use a TDB, or nothing.

Thanks,

-Ira

----- Original Message -----
> Hi,
> 
> It seems to be a bug, this may have something to do with flock, in the
> vfs_glusterfs
> module the function vfs_gluster_kernel_flock() returns ENOSYS error.
> To solve this issue either modify the above mentioned function to return 0
> instead of ENOSYS, or there may be some parameter in smb.conf that disables
> flock.
> (i am not sure of the parameter though).
> 
> Regards,
> Poornima
> 
> ----- Original Message -----
> From: "B.K.Raghuram" <bkrram at gmail.com>
> To: "gluster-users" <gluster-users at gluster.org>
> Sent: Friday, January 24, 2014 12:16:46 PM
> Subject: [Gluster-users] Problem creating/editing files with samba gluster
> 	vfs module..
> 
> Hi,
> 
> We have built samba 4.1 from source with the gluster vfs module
> enabled. I am able to access (read) and browse a volume from a windows
> machine. However, when I try to create or edit a file that resides on
> the volume from a windows box, it hangs forever. On the backend, I see
> that many temporary files are being created. I suspect that the
> windows box is trying to create the file but is not getting a
> confirmation of it having been created and so it tries to create one
> again. However, I do not have any problems with creating directories.
> We are using gluster 3.4.1.
> 
> Any ideas on what may be the issue?
> 
> Thanks,
> -Ram
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
> _______________________________________________
> 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