mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
tests: use snapshot targets
This commit is contained in:
parent
c75548300d
commit
8d8c1b6624
@ -18,7 +18,7 @@ aux prepare_pvs 1
|
|||||||
|
|
||||||
vgcreate -s 1k $vg $(cat DEVICES)
|
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 -aey -L1 -n $lv2 $vg
|
||||||
lvcreate -L1 -s -n $lv3 $vg/$lv2
|
lvcreate -L1 -s -n $lv3 $vg/$lv2
|
||||||
|
@ -78,7 +78,7 @@ lvremove -f $vg
|
|||||||
|
|
||||||
|
|
||||||
# Automatically activates exclusively in cluster
|
# 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 extend_filter_LVMTEST
|
||||||
aux lvmconf "activation/snapshot_autoextend_percent = 20" \
|
aux lvmconf "activation/snapshot_autoextend_percent = 20" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user