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>
This commit is contained in:
parent
c087e5f634
commit
b81cec326d
@ -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);
|
cli_out ("volume remove-brick %s: success", cmd_str);
|
||||||
if (GF_OP_CMD_START == cmd && task_id_str != NULL)
|
if (GF_OP_CMD_START == cmd && task_id_str != NULL)
|
||||||
cli_out ("ID: %s", task_id_str);
|
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;
|
ret = rsp.op_ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user