From fe5927b6bd1ed795c9e85996e7c54c3abe36ceba Mon Sep 17 00:00:00 2001 From: Vijaikumar M Date: Fri, 14 Feb 2014 20:01:38 +0530 Subject: glusterd/snapshot: store location for snap driven changes Currently snapshot volfiles are stored at: /vols//snaps/ With snap driven approach we need to store the volfiles at: /snaps// Change-Id: I8efdd5db29833b2b06b64a900cbb4c9b9a5d36b6 Signed-off-by: Vijaikumar M Signed-off-by: Sachin Pandit Reviewed-on: http://review.gluster.org/7006 Reviewed-by: Avra Sengupta Reviewed-by: Rajesh Joseph Tested-by: Rajesh Joseph --- tests/bugs/bug-1040934.t | 2 +- tests/bugs/bug-1045333.t | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/bugs') diff --git a/tests/bugs/bug-1040934.t b/tests/bugs/bug-1040934.t index 38ccc1120..547f6c3bc 100644 --- a/tests/bugs/bug-1040934.t +++ b/tests/bugs/bug-1040934.t @@ -24,7 +24,7 @@ PID_1=$! wait $PID_1 TEST snapshot_exists ${V0}_snap -TEST mount -t glusterfs $H1:$V0/snaps/${V0}_snap $M0 +TEST mount -t glusterfs $H1:/snaps/${V0}_snap/$V0 $M0 cd $M0 TEST ! touch a diff --git a/tests/bugs/bug-1045333.t b/tests/bugs/bug-1045333.t index 5abdd5558..c1fd71beb 100644 --- a/tests/bugs/bug-1045333.t +++ b/tests/bugs/bug-1045333.t @@ -28,13 +28,13 @@ TEST $CLI snapshot create $V0 -n $S3 TEST snapshot_exists $S3 -TEST mount -t glusterfs $H0:/$V0/snaps/$S1 $M0 +TEST mount -t glusterfs $H0:/snaps/$S1/$V0 $M0 TEST umount -f $M0 -TEST mount -t glusterfs $H0:/$V0/snaps/$S2 $M0 +TEST mount -t glusterfs $H0:/snaps/$S2/$V0 $M0 TEST umount -f $M0 -TEST mount -t glusterfs $H0:/$V0/snaps/$S3 $M0 +TEST mount -t glusterfs $H0:/snaps/$S3/$V0 $M0 TEST umount -f $M0 #Clean up -- cgit