From 8d8c1b66241bea0b6b67bde7ebd04b9db10d3208 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 19 Nov 2014 23:24:18 +0100 Subject: [PATCH] tests: use snapshot targets --- test/shell/lvconvert-snapshot.sh | 2 +- test/shell/snapshot-usage.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/shell/lvconvert-snapshot.sh b/test/shell/lvconvert-snapshot.sh index 3d8157378..55fcb1a1c 100644 --- a/test/shell/lvconvert-snapshot.sh +++ b/test/shell/lvconvert-snapshot.sh @@ -18,7 +18,7 @@ aux prepare_pvs 1 vgcreate -s 1k $vg $(cat DEVICES) -lvcreate -V50 -L1 -n $lv1 -s $vg +lvcreate --type snapshot -V50 -L1 -n $lv1 -s $vg lvcreate -aey -L1 -n $lv2 $vg lvcreate -L1 -s -n $lv3 $vg/$lv2 diff --git a/test/shell/snapshot-usage.sh b/test/shell/snapshot-usage.sh index a3dd7a674..74f54decf 100644 --- a/test/shell/snapshot-usage.sh +++ b/test/shell/snapshot-usage.sh @@ -78,7 +78,7 @@ lvremove -f $vg # Automatically activates exclusively in cluster -lvcreate -s -l 100%FREE -n $lv $vg --virtualsize $TSIZE +lvcreate --type snapshot -s -l 100%FREE -n $lv $vg --virtualsize $TSIZE aux extend_filter_LVMTEST aux lvmconf "activation/snapshot_autoextend_percent = 20" \