diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2014-11-19 23:24:18 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2014-11-19 23:24:18 +0100 |
commit | 8d8c1b66241bea0b6b67bde7ebd04b9db10d3208 (patch) | |
tree | 9c9a914e2a503d3e1cb8ca034f8ee30c4b974704 | |
parent | c75548300d63452b4fa615d71cb40cb10382aa33 (diff) | |
download | lvm2-8d8c1b66241bea0b6b67bde7ebd04b9db10d3208.tar.gz |
tests: use snapshot targets
-rw-r--r-- | test/shell/lvconvert-snapshot.sh | 2 | ||||
-rw-r--r-- | 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" \ |