[linux-lvm] Reattach cache

Zdenek Kabelac zkabelac at redhat.com
Wed Nov 22 11:03:16 UTC 2017


Dne 22.11.2017 v 11:15 Xen napsal(a):
> Zdenek Kabelac schreef op 22-11-2017 10:57:
> 
>> In your case - just destroy the cache (--uncache) and do not try to
>> reuse cache-pool unless you really know what you are doing.
> 
> But I still don't know how to clean the metadata manually.


Just drop/lvremove the cache-pool and create the new one again.
There is no specific 'zeroing' metadata command.

And as said - newer tool will ZERO by default and you need to pass -Zn to 
avoid zeroing (in case you want to reattach same cache-pool to unused data - 
but as said you need to be skilled user knowing what you are doing for this 
use case)

Zdenek




More information about the linux-lvm mailing list