[Bugs] [Bug 1752413] ctime: Cannot see the "trusted.glusterfs.mdata" xattr for directory on a new brick after rebalance

bugzilla at redhat.com bugzilla at redhat.com
Mon Sep 16 10:18:34 UTC 2019


Kotresh HR <khiremat at redhat.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |ASSIGNED
           Assignee|bugs at gluster.org            |khiremat at redhat.com

--- Comment #1 from Kotresh HR <khiremat at redhat.com> ---
Description of problem:
The "trusted.glusterfs.mdata" xattr was present on a dir on brick1 when it was
created, but when added new brick (brick2) to the volume, and did rebalance as
well, the xattr was not present on the dir on new brick(brick2).

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce :
1.Create a 1 brick distributed volume.
2.Mount the volume on a client node using fuse.
3.Create a dir on client node
  #mkdir dir1
4.Check all the internal xattrs for the dir1 on the back-end using:
  #getfattr -de hex -m . /bricks/brick1/dir1
5.Add a new brick to the volume.
6.Trigger rebalance on the volume and let it complete.
7.Check all the internal xattrs for the dir1 on the back-end (old_brick and
new_brick) using:
  #getfattr -de hex -m . /bricks/brick1/dir1

Actual Results:
[root at dhcp46-63 ~]# getfattr -de hex -m . /bricks/brick8/vol6-b1/dir1   
<------ Old brick
getfattr: Removing leading '/' from absolute path names
# file: bricks/brick8/vol6-b1/dir1

[root at dhcp47-188 dir1]# getfattr -de hex -m . /bricks/brick8/vol6-b2/dir1  
<----- New brick
getfattr: Removing leading '/' from absolute path names
# file: bricks/brick8/vol6-b2/dir1

Expected Results:

As the trusted.glusterfs.mdata is an internal xattr, it should also behave like
other xattrs (e.g. trusted.glusterfs.dht) and be present on dir1 on new brick
as well.

Rebalance status output:

[root at dhcp47-88 ~]# gluster v rebal vol6 status
                                    Node Rebalanced-files          size      
scanned      failures       skipped               status  run time in h:m:s
                               ---------      -----------   -----------  
-----------   -----------   -----------         ------------     --------------
                                  0        0Bytes        
    0             0             0            completed        0:00:00
                                   0        0Bytes        
    0             0             0            completed        0:00:00
volume rebalance: vol6: success

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