summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2010-07-27 02:06:45 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-27 06:48:44 -0700
commit7c3ee2fd042c56ef6f53159f1ae9dd9a8f91c6f4 (patch)
tree860206403d9549f84256408fc53952cd08cc35fc
parent14f00f972b8dda94f7797ed71398c5e365883fd6 (diff)
fix volume creation errors in replicate and stripe
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1228 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1228
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index 060f957e871..0871dfedc19 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -250,7 +250,7 @@ glusterd_volume_create_generate_volfiles (glusterd_volinfo_t *volinfo)
case GF_CLUSTER_TYPE_REPLICATE:
{
snprintf (cmd_str, 8192,
- "glusterfs-volgen -n %s -c %s -r 1 %s -p %d"
+ "glusterfs-volgen -n %s -c %s -r 1 %s -p %d "
"--num-replica %d",
volinfo->volname, path, bricks,
volinfo->port, volinfo->sub_count);
@@ -261,7 +261,7 @@ glusterd_volume_create_generate_volfiles (glusterd_volinfo_t *volinfo)
case GF_CLUSTER_TYPE_STRIPE:
{
snprintf (cmd_str, 8192,
- "glusterfs-volgen -n %s -c %s -r 0 %s -p %d"
+ "glusterfs-volgen -n %s -c %s -r 0 %s -p %d "
"--num-stripe %d",
volinfo->volname, path, bricks,
volinfo->port, volinfo->sub_count);