[Bugs] [Bug 1472609] New: Root path xattr does not heal correctly in certain cases when volume is in stopped state
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jul 19 06:10:31 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1472609
Bug ID: 1472609
Summary: Root path xattr does not heal correctly in certain
cases when volume is in stopped state
Product: GlusterFS
Version: mainline
Component: quota
Severity: high
Assignee: sunnikri at redhat.com
Reporter: sunnikri at redhat.com
CC: bugs at gluster.org
Created attachment 1300826
--> https://bugzilla.redhat.com/attachment.cgi?id=1300826&action=edit
repro script
[root at dhcp35-100 repros]# sh -x /tmp/3
+ gluster v create v1 self:/export/sdb/x1 force
volume create: v1: success: please start the volume to access data
+ gluster v start v1
volume start: v1: success
+ gluster v quota v1 enable
volume quota : success
+ gluster v quota v1 limit-usage / 100MB
volume quota : success
+ gluster v create v2 self:/export/sdb/y1 force
volume create: v2: success: please start the volume to access data
+ gluster v start v2
volume start: v2: success
+ gluster v stop v1
Stopping volume will make its data inaccessible. Do you want to continue? (y/n)
y
volume stop: v1: success
+ gluster v stop v2
Stopping volume will make its data inaccessible. Do you want to continue? (y/n)
y
volume stop: v2: success
+ gluster v add-brick v1 self:/export/sdb/x2 force
volume add-brick: success
+ ls -l /var/lib/glusterd/hooks/1/start/post/
total 12
lrwxrwxrwx. 1 root root 74 Jul 18 20:00 S28Quota-root-xattr-heal.sh ->
/var/lib/glusterd/hooks/1/add-brick/post/disabled-quota-root-xattr-heal.sh
-rwxr-xr-x. 1 root root 1797 Jun 29 17:07 S29CTDBsetup.sh
-rwxr-xr-x. 1 root root 3293 Jun 29 17:07 S30samba-start.sh
+ gluster v start v2
volume start: v2: success
+ sleep 2
+ ls -l /var/lib/glusterd/hooks/1/start/post/
total 8
-rwxr-xr-x. 1 root root 1797 Jun 29 17:07 S29CTDBsetup.sh
-rwxr-xr-x. 1 root root 3293 Jun 29 17:07 S30samba-start.sh
+ gluster v start v1
volume start: v1: success
+ getfattr -d -m. -e hex /export/sdb/x1
getfattr: Removing leading '/' from absolute path names
# file: export/sdb/x1
security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a7573725f743a733000
trusted.gfid=0x00000000000000000000000000000001
trusted.glusterfs.dht=0x000000010000000000000000ffffffff
trusted.glusterfs.quota.limit-set.1=0x0000000006400000ffffffffffffffff
trusted.glusterfs.volume-id=0x36c59571fba544c7b807fba925749bb7
+ getfattr -d -m. -e hex /export/sdb/x2
getfattr: Removing leading '/' from absolute path names
# file: export/sdb/x2
security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a7573725f743a733000
trusted.gfid=0x00000000000000000000000000000001
trusted.glusterfs.volume-id=0x36c59571fba544c7b807fba925749bb7
+ gluster v quota v1 list
/ N/A N/A N/A N/A
N/A N/A
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=g60xOCGEUJ&a=cc_unsubscribe
More information about the Bugs
mailing list