[linux-lvm] how to recover after thin pool metadata did fill up?

Andres Toomsalu andres at active.ee
Thu Oct 18 13:47:07 UTC 2012


Is it intended to be backported to RHEL6 kernels as well?
-- 
----------------------------------------------
Andres Toomsalu

On 18.10.2012, at 16:43, Zdenek Kabelac wrote:

> Dne 18.10.2012 15:28, Spelic napsal(a):
>> On 10/18/12 12:30, Zdenek Kabelac wrote:
>>> Dne 17.10.2012 22:21, Andres Toomsalu napsal(a):
>>>> Hi,
>>>> 
>>>> I'm aware that thin provisioning is not yet production ready (no metadata
>>>> resize) - but is there a way to recover from thin pool failure when pool
>>>> metadata was filled up?
>>>> 
>>>> 
>>> 
>>> 
>>> Unfortunately there is no 'easy' advice for now yet - you hit current
>>> Achilles heel of thinp support in lvm2 - we are thinking how to make
>>> recovery usable for user - but it's not easy task since many things are
>>> making it very complex - so it still needs some month of work.
>>> 
>> 
>> So, supposing one is aware of this problem beforehand, at pool creation
>> can this problem be worked around by using --poolmetadatasize  to make a
>> metadata volume much larger than the default?
>> 
>> And if yes, do you have any advice on the metadata size we should use?
>> 
> 
> It really depends on the pool size and use-cases.
> 
> The max size is ~16GB for metadata.
> The reasonable max size is probably within  4GB if you want to stay safe in the most possible conditions.
> 
> With 3.7 kernel and the next release of lvm2 (2.02.99) it's expected full support for live size extension of metadata device.
> 
> Zdenek
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20121018/b5064654/attachment.htm>


More information about the linux-lvm mailing list