From 40497ba922667abbc20dda635cb0ef0abe5f51eb Mon Sep 17 00:00:00 2001 From: Vijaikumar M Date: Tue, 4 Mar 2014 13:02:52 +0530 Subject: glusterd/snapshot: Snapshot create and delete changes With the snap driven approach, While creating the snapshot, We have to mention the snap-name first and then the volumes to be associated with that. Corresponding changes has been made in glusterd. While deleting the snapshot, we have to mention only the snapname. Corresponding changes has been made in glusterd. CLI changes for the same can be found here: http://review.gluster.org/#/c/6947/ Change-Id: I8bd8f471da5b728165da5f331faad3dde3486823 Signed-off-by: Vijaikumar M Reviewed-on: http://review.gluster.org/7123 Reviewed-by: Avra Sengupta Reviewed-by: Rajesh Joseph Tested-by: Rajesh Joseph --- tests/basic/volume-snapshot.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/basic') diff --git a/tests/basic/volume-snapshot.t b/tests/basic/volume-snapshot.t index 4bc0792db..bea11e215 100755 --- a/tests/basic/volume-snapshot.t +++ b/tests/basic/volume-snapshot.t @@ -18,10 +18,10 @@ function create_volumes() { } function create_snapshots() { - $CLI_1 snapshot create $V0 -n ${V0}_snap & + $CLI_1 snapshot create ${V0}_snap ${V0}& PID_1=$! - $CLI_1 snapshot create $V1 -n ${V1}_snap & + $CLI_1 snapshot create ${V1}_snap ${V1}& PID_2=$! wait $PID_1 $PID_2 -- cgit