From c5a5fea9e6a1f1709e6826c1eea89dfd25cc496b Mon Sep 17 00:00:00 2001 From: Pavan Sondur Date: Thu, 23 Sep 2010 09:18:37 +0000 Subject: mgmt/glusterd: Misc fixes to pump / cli / glusterd wrt replace brick. Patches from Vijay and Shishir have been pulled in into this one big patch. Signed-off-by: Pavan Vilas Sondur Signed-off-by: Vijay Bellur BUG: 1235 (Bug for all pump/migrate commits) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1235 --- cli/src/cli3_1-cops.c | 2 +- 1 file changed, 1 insertion(+), 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 78683ccab0..b2a1a78b34 100644 --- a/cli/src/cli3_1-cops.c +++ b/cli/src/cli3_1-cops.c @@ -914,7 +914,7 @@ gf_cli3_1_replace_brick_cbk (struct rpc_req *req, struct iovec *iov, goto out; } - snprintf (cmd_str, 4096, "gluster mode script volume remove-brick %s %s >/dev/null", + snprintf (cmd_str, 4096, "gluster --mode=script volume remove-brick %s %s >/dev/null", local->u.replace_brick.volname, src_brick); ret = system (cmd_str); -- cgit