Bug 764801 (GLUSTER-3069) - 'gluster rebalance' doesn't preserve any of the extended attributes of the migrated file
Summary: 'gluster rebalance' doesn't preserve any of the extended attributes of the mi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3069
Product: GlusterFS
Classification: Community
Component: distribute
Version: mainline
Hardware: All
OS: All
urgent
high
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
: 764831 (view as bug list)
Depends On:
Blocks: GLUSTER-2258
TreeView+ depends on / blocked
 
Reported: 2011-06-22 06:42 UTC by Amar Tumballi
Modified: 2015-12-01 16:45 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Regression: RTA
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Amar Tumballi 2011-06-22 06:42:40 UTC
This is part of bug 763990. We have to make sure all the data/meta-data related to a file are properly migrated when a file gets migrated as part of rebalance. Currently I did tests to check if the extended attributes (anything other than glusterfs's xattrs) are not getting copied over to destination.

Comment 1 Amar Tumballi 2011-07-06 03:40:28 UTC
*** Bug 3099 has been marked as a duplicate of this bug. ***

Comment 2 Anand Avati 2011-07-12 04:07:22 UTC
PATCH: http://patches.gluster.com/patch/7825 in release-3.2 (glusterd rebalance: bring in feature to migrate extended attributes too)

Comment 3 Anand Avati 2011-07-12 09:38:08 UTC
PATCH: http://patches.gluster.com/patch/7840 in release-3.2 (glusterd rebalance: mount with '--acl' option for rebalancing.)

Comment 4 Anand Avati 2011-07-19 12:04:21 UTC
CHANGE: http://review.gluster.com/9 (currently when a file gets migrated, the extended attributes of the) merged in release-3.1 by Anand Avati (avati)

Comment 5 Lakshmipathi G 2011-08-04 07:16:01 UTC
tested with 3.1.6qa3. 
1.set custom extended attribute using setfattr on 25 files.
2.Added 2 more brick (/export3) to existing dht-afr(/export1,export2) volume.
3.now did a rebalance.
4.user given extended attributes are present on new bricks(export3)

getfattr -d -m . /export3/24.txt 
getfattr: Removing leading '/' from absolute path names
# file: export3/24.txt
trusted.gfid=0syhDrGQ97RluQC+4W/MyCTQ==
trusted.user.foo="bar"


Note You need to log in before you can comment on or make changes to this bug.