samba-vfs-glusterfs share problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



samba-vfs-glusterfs-4.1.12-23.el7_1.x86_64
gluster 3.6.6

I've shared a gluster volume using samba vfs with the options:
vfs objects = glusterfs
glusterfs:volume = test
path = /

I can do the following:
(Windows client):
-Create new directory
-Create new file -- an error pops up "Unable to create the file 'New
Test Document.txt' The system cannot find the file specified.' BUT the
file is created anyways and shows up in the directory immediately
-Create a new sub directory in the above directory
-Delete or rename any file
(Linux client)
-Create new directory
-Create a new file under sub-directory -- "Device or resource busy"
BUT the file is created anyways - must refresh to see file in GUI
-Delete or rename any file

Can not do:
(Windows client)
-Edit the new txt file in notepad -- file opens but popup says 'The
process cannot access the file because it is being used by another
process.'
-Create a new file in the above new directory -- "Unable to create the
file 'New Text Document.txt' The system cannot find the file
specified", refreshing the directory doesn't list the file, but if
samba is restarted the client can see the file.
(Linux client)
-Edit the new file -- "Unexpected error: Device or resource busy"


I've also shared the same volume via a fuse mount, and have no issues
performing any file operations.

smb.conf shares:

[gluster-test-fuse]
comment = exporting gluster filesystem via fuse mount
path = /mnt/gluster/test
read only = no
writable = yes
write list = +users
browseable = yes
guest ok = yes
create mask = 0660
;directory mask = 0770
force directory mode = 0770
force group = users

[gluster-test]
comment = exporting gluster filesystem via gfapi
vfs objects = glusterfs
glusterfs:volume = test
glusterfs:logfile = /var/log/samba/glusterfs-test.%M.log
glusterfs:loglevel = 7
path = /
writable = yes
write list = +users
browseable = yes
guest ok = yes
create mask = 0660
;directory mask = 0770
force directory mode = 0770
force group = users

Other things of note:

I have a default ACL on the gluster volume, as well as setgid.

Anyone else get samba vfs to work properly? I've opened a bugzilla
here: https://bugzilla.redhat.com/show_bug.cgi?id=1268092
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux