1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: on older system use mirror type

This commit is contained in:
Zdenek Kabelac 2014-02-15 13:28:16 +01:00
parent 8eedb18c73
commit 37cf201906

View File

@ -11,11 +11,13 @@
. lib/test
aux target_at_least dm-raid 1 1 0 || skip
aux prepare_vg 4
lvcreate --type raid1 -m 1 -l 2 -n $lv1 $vg
TYPE=raid1
aux target_at_least dm-raid 1 1 0 || TYPE=mirror
lvcreate --type $TYPE -m 1 -l 2 -n $lv1 $vg
lvchange -an $vg/$lv1
aux disable_dev "$dev1"