From 96f6c5159da92500e8ddb21a487d2848a2b1f7db Mon Sep 17 00:00:00 2001 From: Vijaikumar M Date: Thu, 13 Feb 2014 16:32:12 +0530 Subject: glusterd/snapshot: Use snap uuid to create lvm snapshot Using snap uuid to create lvm snapshot will solve the problem of having '-' in the snap name or snap name is too long. Change-Id: If204f02a8f5de599fb409d06c7893ef3542a6300 BUG: 1045333 Signed-off-by: Vijaikumar M Reviewed-on: http://review.gluster.org/6709 Reviewed-by: Rajesh Joseph Tested-by: Rajesh Joseph --- tests/basic/volume-snapshot.t | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/basic') diff --git a/tests/basic/volume-snapshot.t b/tests/basic/volume-snapshot.t index 2030efc05..bb7dcb458 100755 --- a/tests/basic/volume-snapshot.t +++ b/tests/basic/volume-snapshot.t @@ -62,6 +62,11 @@ TEST snapshot_exists ${V1}_snap TEST $CLI_1 snapshot config $V0 snap-max-hard-limit 100 TEST $CLI_1 snapshot config $V1 snap-max-hard-limit 100 +TEST mount -t glusterfs $H1:/$V0/snaps/${V0}_snap $M0 +TEST umount -f $M0 +TEST mount -t glusterfs $H2:/$V1/snaps/${V1}_snap $M0 +TEST umount -f $M0 + #Clean up delete_snapshots TEST ! snapshot_exists ${V0}_snap -- cgit