[Bugs] [Bug 1268092] New: samba-vfs-glusterfs share problems

bugzilla at redhat.com bugzilla at redhat.com
Thu Oct 1 19:36:09 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1268092

            Bug ID: 1268092
           Summary: samba-vfs-glusterfs share problems
           Product: GlusterFS
           Version: 3.6.6
         Component: gluster-smb
          Assignee: bugs at gluster.org
          Reporter: sdainard at spd1.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:

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 the following:
(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 with samba via a fuse mount, and have no
issues performing any file operations.


Version-Release number of selected component (if applicable):
samba-vfs-glusterfs-4.1.12-23.el7_1.x86_64
gluster 3.6.6
CentOS 7.1


How reproducible:
Always

Steps to Reproduce:
1. Create Gluster volume
2. install samba-vfs-glusterfs
3. configure share for vfs (see below for share config)
4. configure 2nd share pointing to gluster fuse mount point to verify


Additional info:

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

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

# getfacl mount-test/
# file: mount-test/
# owner: root
# group: users
# flags: -s-
user::rwx
group::rwx
other::---
default:user::rwx
default:group::rwx
default:other::---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list