summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2010-11-25 02:11:45 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-11-25 00:33:55 -0800
commit5725f33e314c2fca6a4b9c2b102fc66361145301 (patch)
tree6faeef31ad0c9cfdbec0312adbaf505f2af7b186
parent43a039789cbbdb50d67c960c7a6f4d0ac1858e48 (diff)
cli: Enhance message shown upon successful volume creation
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> 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
-rw-r--r--cli/src/cli3_1-cops.c4
1 files changed, 3 insertions, 1 deletions
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);