From mboxrd@z Thu Jan 1 00:00:00 1970 References: <3c2aefc590d9dc46c5b366437bab30bd@xenhideout.nl> <2d536c8d-ca83-1c6e-ce83-9a73302b677b@redhat.com> From: Zdenek Kabelac Message-ID: <199baa98-ad7d-efc6-786d-75cf780188c1@redhat.com> Date: Wed, 22 Nov 2017 12:03:16 +0100 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] Reattach cache Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Xen Cc: LVM general discussion and development 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