B.K.Raghuram
2014-Jan-24 06:46 UTC
[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
Poornima Gurusiddaiah
2014-Jan-27 11:26 UTC
[Gluster-users] Problem creating/editing files with samba gluster vfs module..
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