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:
parent
8eedb18c73
commit
37cf201906
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user