xref: /netbsd-src/external/gpl2/lvm2/dist/test/t-partial-activate.sh (revision 500db002748d9818288e46e10f026a2b09548086)
1. ./test-utils.sh
2
3aux prepare_vg 3
4
5lvcreate -m 1 -l 1 -n mirror $vg
6lvchange -a n $vg/mirror
7disable_dev $dev1
8
9# FIXME should this return an error code due to that big fat WARNING?
10vgreduce --removemissing $vg
11not lvchange -v -a y $vg/mirror
12lvchange -v --partial -a y $vg/mirror
13