diff options
author | Susant Palai <spalai@redhat.com> | 2014-09-02 05:29:52 -0400 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-09-03 01:46:05 -0700 |
commit | b81cec326d4d43519593cb56b7a0e68ea5c3421c (patch) | |
tree | 2fb3a24a32d73f01b693843d6addf144f2de40f3 /cli | |
parent | c087e5f634a0b2262118d61ab9c1d5c8e18c8819 (diff) |
CLI: Adding warning message in case remove-brick commit executed
Change-Id: Ia2f1b2cd2687ca8e739e7a1e245e668a7424ffac
BUG: 1136702
Signed-off-by: Susant Palai <spalai@redhat.com>
Reviewed-on: http://review.gluster.org/8577
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r-- | cli/src/cli-rpc-ops.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index ba8ba6810d6..151ec0d3157 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -2088,6 +2088,12 @@ gf_cli_remove_brick_cbk (struct rpc_req *req, struct iovec *iov, cli_out ("volume remove-brick %s: success", cmd_str); if (GF_OP_CMD_START == cmd && task_id_str != NULL) cli_out ("ID: %s", task_id_str); + if (GF_OP_CMD_COMMIT_FORCE == cmd) + cli_out ("Check the removed bricks to ensure all files " + "are migrated.\nIf files with data are " + "found on the brick path, copy them via a " + "gluster mount point before re-purposing the " + "removed brick. "); } ret = rsp.op_ret; |