+++ This bug was initially created as a clone of Bug #1447606 +++
Description of problem:
Expanding a gluster volume that is sharded may cause file corruption
Sharded volumes are typically used for VM images, if such volumes are expanded or possibly contracted (i.e add/remove bricks and rebalance) there are reports of VM images getting corrupted.
If you are using sharded volumes, DO NOT rebalance them till this is fixed
Status of this bug can be tracked here, #1426508
REVIEW: https://review.gluster.org/17181 (glusterd: disallow rebalance & remove-brick on a sharded volume) posted (#2) for review on release-3.11 by Raghavendra Talur (email@example.com)
COMMIT: https://review.gluster.org/17181 committed in release-3.11 by Shyamsundar Ranganathan (firstname.lastname@example.org)
Author: Atin Mukherjee <email@example.com>
Date: Wed May 3 16:42:22 2017 +0530
glusterd: disallow rebalance & remove-brick on a sharded volume
Signed-off-by: Atin Mukherjee <firstname.lastname@example.org>
Reviewed-by: Raghavendra Talur <email@example.com>
Smoke: Gluster Build System <firstname.lastname@example.org>
NetBSD-regression: NetBSD Build System <email@example.com>
Reviewed-by: N Balachandran <firstname.lastname@example.org>
Reviewed-by: Amar Tumballi <email@example.com>
CentOS-regression: Gluster Build System <firstname.lastname@example.org>
(cherry picked from commit 8375b3d70d5c6268c6770b42a18b2e1bc09e411e)
Tested-by: Raghavendra Talur <email@example.com>
Reviewed-by: Prashanth Pai <firstname.lastname@example.org>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.11.0, please open a new bug report.
glusterfs-3.11.0 has been announced on the Gluster mailinglists , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.