mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
test: Ensure that outdated PVs are wiped just once.
This commit is contained in:
parent
632dde0cbc
commit
9c0049b1ce
@ -45,4 +45,10 @@ check_
|
|||||||
test -e LOCAL_LVMETAD && lvremove $vg/boo # FIXME trigger a write :-(
|
test -e LOCAL_LVMETAD && lvremove $vg/boo # FIXME trigger a write :-(
|
||||||
check_ not
|
check_ not
|
||||||
|
|
||||||
|
aux disable_dev "$dev1"
|
||||||
|
vgreduce --removemissing --force $vg
|
||||||
|
aux enable_dev "$dev1"
|
||||||
|
vgs 2>&1 | grep 'Removing PV'
|
||||||
|
vgs 2>&1 | not grep 'Removing PV'
|
||||||
|
|
||||||
vgremove -ff $vg
|
vgremove -ff $vg
|
||||||
|
Loading…
Reference in New Issue
Block a user