mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
tests: lvconvert more thin extorg conversions
Add test for conversion of pool and thin lv at the same time.
This commit is contained in:
parent
7edf61186b
commit
273373bf53
@ -144,5 +144,13 @@ lvs -a -o+origin_size,seg_size,segtype $vg
|
||||
lvremove -f $vg/extorg2
|
||||
# Only pool is left
|
||||
check vg_field $vg lv_count 1
|
||||
lvremove -ff $vg
|
||||
|
||||
# Test conversion to the pool and thin external at the same time (rhbz #1003461)
|
||||
lvcreate -l50 -n pool $vg
|
||||
lvcreate -l100 -n thin $vg
|
||||
lvconvert --thin --thinpool $vg/pool $vg/thin --originname thin-origin
|
||||
check lv_field $vg/thin segtype thin
|
||||
check lv_field $vg/thin-origin segtype linear
|
||||
|
||||
vgremove -ff $vg
|
||||
|
Loading…
x
Reference in New Issue
Block a user