On 11/14/2016 05:57 PM, Atin Mukherjee
wrote:
I don't think this is a good idea. It would make more sense to give out verbose warnings in the individual commands themselves. A volume lock doesn't prevent users from unlocking and still inadvertently running those commands without knowing the implications. The remove brick set of commands provides verbose messages nicely: $gluster v remove-brick testvol 127.0.0.2:/home/ravi/bricks/brick{4..6} commit Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y volume remove-brick commit: success Check the removed bricks to ensure all files are migrated. If files with data are found on the brick path, copy them via a gluster mount point before re-purposing the removed brick My 2 cents, Ravi
|
_______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-devel