From 8d340ec57557708a8e9db24d397ef3a9e0220a49 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 12 Jul 2011 05:30:17 +0000 Subject: glusterd rebalance: mount with '--acl' option for rebalancing. so posix-acl xattrs gets rebalanced too. Signed-off-by: Amar Tumballi Signed-off-by: Anand Avati BUG: 3069 ('gluster rebalance' doesn't preserve any of the extended attributes of the migrated file) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3069 --- xlators/mgmt/glusterd/src/glusterd-rebalance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c index 6119ad34d23..a3d87d86fca 100644 --- a/xlators/mgmt/glusterd/src/glusterd-rebalance.c +++ b/xlators/mgmt/glusterd/src/glusterd-rebalance.c @@ -624,7 +624,7 @@ glusterd_handle_defrag_start (glusterd_volinfo_t *volinfo, char *op_errstr, snprintf (cmd_str, sizeof (cmd_str), "%s/sbin/glusterfs -s localhost --volfile-id %s " - "--xlator-option *dht.use-readdirp=yes " + "--acl --xlator-option *dht.use-readdirp=yes " "--xlator-option *dht.lookup-unhashed=yes %s", GFS_PREFIX, volinfo->volname, defrag->mount); -- cgit