mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
tests: use old virt snaps in the test
Don't use thin with its thin requirements for the test.
This commit is contained in:
parent
fc935495c8
commit
4607cbcb0d
@ -20,11 +20,11 @@ aux have_raid 1 3 0 || skip
|
|||||||
|
|
||||||
aux prepare_vg 5
|
aux prepare_vg 5
|
||||||
|
|
||||||
lvcreate -s -l 20%FREE -n $lv1 $vg --virtualsize 256T
|
lvcreate --type snapshot -s -l 20%FREE -n $lv1 $vg --virtualsize 256T
|
||||||
lvcreate -s -l 20%FREE -n $lv2 $vg --virtualsize 256T
|
lvcreate --type snapshot -s -l 20%FREE -n $lv2 $vg --virtualsize 256T
|
||||||
lvcreate -s -l 20%FREE -n $lv3 $vg --virtualsize 256T
|
lvcreate --type snapshot -s -l 20%FREE -n $lv3 $vg --virtualsize 256T
|
||||||
lvcreate -s -l 20%FREE -n $lv4 $vg --virtualsize 256T
|
lvcreate --type snapshot -s -l 20%FREE -n $lv4 $vg --virtualsize 256T
|
||||||
lvcreate -s -l 20%FREE -n $lv5 $vg --virtualsize 256T
|
lvcreate --type snapshot -s -l 20%FREE -n $lv5 $vg --virtualsize 256T
|
||||||
|
|
||||||
#FIXME this should be 1024T
|
#FIXME this should be 1024T
|
||||||
#check lv_field $vg/$lv size "128.00m"
|
#check lv_field $vg/$lv size "128.00m"
|
||||||
|
@ -20,11 +20,11 @@ aux have_raid 1 3 0 || skip
|
|||||||
|
|
||||||
aux prepare_vg 5
|
aux prepare_vg 5
|
||||||
|
|
||||||
lvcreate -s -l 20%FREE -n $lv1 $vg --virtualsize 256T
|
lvcreate --type snapshot -s -l 20%FREE -n $lv1 $vg --virtualsize 256T
|
||||||
lvcreate -s -l 20%FREE -n $lv2 $vg --virtualsize 256T
|
lvcreate --type snapshot -s -l 20%FREE -n $lv2 $vg --virtualsize 256T
|
||||||
lvcreate -s -l 20%FREE -n $lv3 $vg --virtualsize 256T
|
lvcreate --type snapshot -s -l 20%FREE -n $lv3 $vg --virtualsize 256T
|
||||||
lvcreate -s -l 20%FREE -n $lv4 $vg --virtualsize 256T
|
lvcreate --type snapshot -s -l 20%FREE -n $lv4 $vg --virtualsize 256T
|
||||||
lvcreate -s -l 20%FREE -n $lv5 $vg --virtualsize 256T
|
lvcreate --type snapshot -s -l 20%FREE -n $lv5 $vg --virtualsize 256T
|
||||||
|
|
||||||
aux extend_filter_LVMTEST
|
aux extend_filter_LVMTEST
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ aux can_use_16T || skip
|
|||||||
|
|
||||||
aux prepare_vg 4
|
aux prepare_vg 4
|
||||||
|
|
||||||
lvcreate -s -l 100%FREE -n $lv $vg --virtualsize 1024T
|
lvcreate --type snapshot -s -l 100%FREE -n $lv $vg --virtualsize 1024T
|
||||||
|
|
||||||
#FIXME this should be 1024T
|
#FIXME this should be 1024T
|
||||||
#check lv_field $vg/$lv size "128.00m"
|
#check lv_field $vg/$lv size "128.00m"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user