mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
test: Make dmsetup remove more robust in pvmove-restart.
This commit is contained in:
parent
210a66fbf8
commit
839ea48aa9
@ -40,8 +40,7 @@ wait
|
||||
|
||||
# Simulate reboot - forcibly remove related devices
|
||||
dmsetup table
|
||||
dmsetup remove $vg-$lv1
|
||||
dmsetup ls --exec echo | grep $vg-pvmove0 | xargs -r dmsetup remove
|
||||
dmsetup ls --exec echo | egrep '$vg-$lv1|$vg-pvmove0' | xargs -r -n 1 dmsetup remove
|
||||
|
||||
# Check we really have pvmove volume
|
||||
check lv_attr_bit type $vg/pvmove0 "p"
|
||||
|
Loading…
Reference in New Issue
Block a user