mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
tests: update for new thin pool messaging
This commit is contained in:
parent
a900d150e4
commit
3dbb9a57ca
@ -76,7 +76,7 @@ grep expected out
|
|||||||
check inactive $vg pool_tmeta
|
check inactive $vg pool_tmeta
|
||||||
|
|
||||||
# Transaction_id is higher by 1
|
# Transaction_id is higher by 1
|
||||||
fake_metadata_ 10 2 >data
|
fake_metadata_ 10 3 >data
|
||||||
"$LVM_TEST_THIN_RESTORE_CMD" -i data -o "$DM_DEV_DIR/mapper/$vg-$lv1"
|
"$LVM_TEST_THIN_RESTORE_CMD" -i data -o "$DM_DEV_DIR/mapper/$vg-$lv1"
|
||||||
lvconvert -y --thinpool $vg/pool --poolmetadata $vg/$lv1
|
lvconvert -y --thinpool $vg/pool --poolmetadata $vg/$lv1
|
||||||
not vgchange -ay $vg 2>&1 | tee out
|
not vgchange -ay $vg 2>&1 | tee out
|
||||||
|
@ -29,11 +29,8 @@ lvcreate -T -L8M $vg/pool -V10M -n $lv1
|
|||||||
# skip $vg from activation
|
# skip $vg from activation
|
||||||
aux lvmconf "activation/volume_list = [ \"$vg1\" ]"
|
aux lvmconf "activation/volume_list = [ \"$vg1\" ]"
|
||||||
|
|
||||||
# We still could pass - since pool is still active
|
# We cannot pass - pool volume cannot be manipulated
|
||||||
lvcreate -V10 -n $lv2 -T $vg/pool
|
not lvcreate -V10 -n $lv2 -T $vg/pool
|
||||||
|
|
||||||
# but $lv2 is not active
|
|
||||||
check inactive $vg $lv2
|
|
||||||
|
|
||||||
vgchange -an $vg
|
vgchange -an $vg
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user