summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRajesh Joseph <rjoseph@redhat.com>2013-12-02 04:26:33 -0800
committerGerrit Code Review <review@dev.gluster.org>2013-12-02 04:26:33 -0800
commit16edf27198de7efca8a0eff3955d36dee9edde67 (patch)
treecf266404c4c0de6a60d86d26b1557b4a43070cfc
parentca5659d13f7ea63e9b6f9ee7cd9152ae1750ae54 (diff)
parent7c3c240aef1f289c06c771f7ed5c0dcfbabaad22 (diff)
Merge "snapshot: setting --setactivationskip as 'n' during lvcreate" into development
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-snapshot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-snapshot.c b/xlators/mgmt/glusterd/src/glusterd-snapshot.c
index afe2251..eacda05 100644
--- a/xlators/mgmt/glusterd/src/glusterd-snapshot.c
+++ b/xlators/mgmt/glusterd/src/glusterd-snapshot.c
@@ -2542,8 +2542,8 @@ glusterd_take_snapshot (glusterd_brickinfo_t *brickinfo, char *volname,
runinit (&runner);
snprintf (msg, sizeof (msg), "taking snapshot of the brick %s:%s",
brickinfo->hostname, brickinfo->path);
- runner_add_args (&runner, "/sbin/lvcreate", "-s", device, "--name",
- snapname, NULL);
+ runner_add_args (&runner, "/sbin/lvcreate", "-s", device,
+ "--setactivationskip", "n", "--name", snapname, NULL);
runner_log (&runner, "", GF_LOG_DEBUG, msg);
//let glusterd get blocked till snapshot is over