Skip to contentSkip to conversation

dm thinp: pool get's bigger than allowd virtual disk

linux-lvm Stefan Priebe 2 participants 3 messages Aug 5, 2012 – Aug 6, 2012

lore
Share & tools
lore
#0 lore raw

Hello list,

i created a thinp device with a maximum size of 100G and an initial size of 10G.

I started to copy 100GB to this disk and end up like this:

# lvs
    LV    VG      Attr     LSize   Pool  Origin Data%  Move Log Copy%
 Convert
    disk1 thinvol Vwi-aotz 100,00g pool1         99,96
    pool1 thinvol twi-a-tz 123,86g               80,71

this will waste 123,86g for all the time ?! As i can't use them.

Is this known? Is there a fix / solution?

Greets,
Stefan

#1 lore raw
Quoted 1 line · Stefan Priebe

this will waste 123,86g for all the time ?! As i can't use them.

Did you have it configured to auto-expand to a size larger than you know you need? (See logs / dmeventd / lvm.conf)

Alasdair

#2 lore raw

Am 06.08.2012 00:14, schrieb Alasdair G Kergon:

Quoted 5 lines · Stefan Priebe
Quoted 1 line

this will waste 123,86g for all the time ?! As i can't use them.

Did you have it configured to auto-expand to a size larger than you know you need? (See logs / dmeventd / lvm.conf)

I've configured these settings in lvm.conf:

thin_pool_autoextend_threshold = 80
thin_pool_autoextend_percent = 15

monitoring = 1

polling_interval = 15

Thanks,
Stefan