Sync usage with man page.
[netbsd-mini2440.git] / external / gpl2 / lvm2 / dist / test / t-partial-activate.sh
blobdd978f533766ffbeda52159c720150abb526ff89
1 . ./test-utils.sh
3 aux prepare_vg 3
5 lvcreate -m 1 -l 1 -n mirror $vg
6 lvchange -a n $vg/mirror
7 disable_dev $dev1
9 not vgreduce --removemissing $vg
10 not lvchange -v -a y $vg/mirror
11 lvchange -v --partial -a y $vg/mirror
13 # also check that vgchange works
14 vgchange -a n --partial $vg
15 vgchange -a y --partial $vg