[Bugs] [Bug 1447269] New: Duplicate files in same folder
bugzilla at redhat.com
bugzilla at redhat.com
Tue May 2 09:22:48 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1447269
Bug ID: 1447269
Summary: Duplicate files in same folder
Product: GlusterFS
Version: 3.8
Component: distribute
Severity: high
Assignee: bugs at gluster.org
Reporter: bart.denotte at bluebee.com
CC: bugs at gluster.org
Hello,
I'm currently using glusterfs-server-3.7.5-1.el6 on centos 6.
I have a distributed setup with 4 nodes. We use posix acl. I recently added
node 4 to the environment (was almost full) and did a fix-layout after adding
it.
In certain folders I can create two files with the same name.
If i copy an already existing file from local storage into that specific
location on gluster volume, it gets two entries. If I do the same action to a
parent folder i don't see this behaviour anymore.
One file contains the special T flag and has no data.
-rw-r----T+ 1 root root 0 May 2 09:40 testfile
-rw-r-----+ 1 root root 47 May 2 09:40 testfile
Both files exist at two bricks, one with data one without data.
The getfattr (getfattr -m. -d) output from the file on both bricks is:
- File with data
security.selinux="unconfined_u:object_r:file_t:s0"
system.posix_acl_access=0sAgAAAAEABgD/////AgAHANcxhW8EAAcA/////wgAAwCJAwAAEAAEAP////8gAAAA/////w==
trusted.SGI_ACL_FILE=0sAAAABgAAAAH/////AAYAAAAAAAJvhTHXAAcAAAAAAAT/////AAcAAAAAAAgAAAOJAAMAAAAAABD/////AAQAAAAAACD/////AAAAAA==
trusted.bit-rot.version=0sAgAAAAAAAABY+yYpAAvC+w==
trusted.gfid=0stCuARz7zTXWTBi7bAsE9Vg==
- File without data
security.selinux="unconfined_u:object_r:file_t:s0"
system.posix_acl_access=0sAgAAAAEABgD/////AgAHANcxhW8EAAcA/////wgAAwCJAwAAEAAEAP////8gAAAA/////w==
trusted.SGI_ACL_FILE=0sAAAABgAAAAH/////AAYAAAAAAAJvhTHXAAcAAAAAAAT/////AAcAAAAAAAgAAAOJAAMAAAAAABD/////AAQAAAAAACD/////AAAAAA==
trusted.gfid=0stCuARz7zTXWTBi7bAsE9Vg==
trusted.glusterfs.dht.linkto="ams03data02-client-3"
The getfattr output from the dir containing the files on both bricks is:
- Folder with file containing data
security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000
system.posix_acl_access=0x0200000001000700ffffffff02000700d731856f04000700ffffffff080003008903000010000500ffffffff20000000ffffffff
system.posix_acl_default=0x0200000001000700ffffffff02000700d731856f04000700ffffffff080003008903000010000700ffffffff20000000ffffffff
trusted.SGI_ACL_DEFAULT=0x0000000600000001ffffffff00070000000000026f8531d70007000000000004ffffffff0007000000000008000003890003000000000010ffffffff0007000000000020ffffffff00000000
trusted.SGI_ACL_FILE=0x0000000600000001ffffffff00070000000000026f8531d70007000000000004ffffffff0007000000000008000003890003000000000010ffffffff0005000000000020ffffffff00000000
trusted.gfid=0x496c62dfc615430c985299b7bc7d36fe
trusted.glusterfs.dht=0x00000001000000007fa11578bfac6033
- Folder with empty file
security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000
trusted.gfid=0x496c62dfc615430c985299b7bc7d36fe
trusted.glusterfs.dht=0x0000000100000000bfac6034ffffffff
If any additional information is required, please let me know.
Thanks in advance
Bart
--
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