1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-23 21:35:29 +03:00

Re-enable t-lvconvert-repair-transient, avoiding the deadlock by running mkfs

asynchronously.
This commit is contained in:
Petr Rockai 2011-01-05 14:15:01 +00:00
parent 5a363d74f2
commit 2fbadde558

View File

@ -11,18 +11,16 @@
. lib/test
exit 200 # this breaks upstream .33 and RHEL6 kernel :(
aux prepare_vg 5
# fail multiple devices
lvcreate -m 3 --ig -L 1 -n 4way $vg
aux disable_dev $dev2 $dev4
mkfs.ext3 $DM_DEV_DIR/$vg/4way
mkfs.ext3 $DM_DEV_DIR/$vg/4way &
sleep 1
aux enable_dev $dev2 $dev4
echo n | lvconvert --repair $vg/4way 2>&1 | tee 4way.out
lvs -a -o +devices | not grep unknown
vgreduce --removemissing $vg
check mirror $vg 4way
lvchange -a n $vg/4way
wait