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

Andres Toomsalu andres at active.ee
Thu Oct 18 13:35:26 UTC 2012


It has been commented that about 500MB should be enough by far - but as we could fill 128MB metadata easily with 1TB pool size just rewriting some 600GB during thin snapshot existance - I would go and reserve much more for metadata - so that it wont become an issue for sure. Probably 2-5GB  for --poolmetadatasize should guarantee pool lifetime. At least by this time metadata area resizing should be supported I gather :)
-- 
----------------------------------------------
Andres Toomsalu

On 18.10.2012, at 16:28, Spelic wrote:

> 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?
> 
> Thank you
> 
> 

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


More information about the linux-lvm mailing list