Description of problem: Proper error message not shown upon changing the stripe count of a volume Version-Release number of selected component (if applicable): Mainline How reproducible: often Steps to Reproduce: 1.Crate a distribute volume with one brick 2. try add-brick with stripe count 2 Actual results: Ouput shows "operation Failed" Expected results: It should show proper error message Additional info:
CHANGE: http://review.gluster.com/2589 (glusterd: Improved err msgs for add_brick) merged in master by Vijay Bellur (vijay)
[root@gqac022 ~]# gluster v add-brick dis stripe 2 10.16.157.66:/home/bricks/dis-str Changing the 'stripe count' of the volume is not a supported feature. In some cases it may result in data loss on the volume. Also the re may be issues with regular filesystem operations on the volume after the change. Do you really want to continue with 'stripe' count option ? (y/n) y Now proper message will be shown