From 5725f33e314c2fca6a4b9c2b102fc66361145301 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Thu, 25 Nov 2010 02:11:45 +0000 Subject: cli: Enhance message shown upon successful volume creation Signed-off-by: Vijay Bellur Signed-off-by: Anand V. Avati BUG: 2034 (Why not start a volume after it has been created?) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2034 --- cli/src/cli3_1-cops.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cli/src/cli3_1-cops.c') diff --git a/cli/src/cli3_1-cops.c b/cli/src/cli3_1-cops.c index eeb0f05c0..ba780e993 100644 --- a/cli/src/cli3_1-cops.c +++ b/cli/src/cli3_1-cops.c @@ -607,7 +607,9 @@ gf_cli3_1_create_volume_cbk (struct rpc_req *req, struct iovec *iov, gf_log ("cli", GF_LOG_NORMAL, "Received resp to create volume"); cli_out ("Creation of volume %s has been %s", volname, - (rsp.op_ret) ? "unsuccessful": "successful"); + (rsp.op_ret) ? "unsuccessful": + "successful. Please start the volume to " + "access data."); if (rsp.op_ret && rsp.op_errstr) cli_out ("%s", rsp.op_errstr); -- cgit