[linux-lvm] cache_check --clear-needs-check-flag does not clear needs_check flag?

Dennis Schridde devurandom at gmx.net
Wed Dec 9 20:15:25 UTC 2020


On Mittwoch, 9. Dezember 2020 20:30:51 CET David Teigland wrote:
> On Wed, Dec 09, 2020 at 08:06:41PM +0100, Dennis Schridde wrote:
> > How would you proceed to repair this cache?  I can recreate it as a
> > cachepool, but first I need to gain back access to the data, i.e. get
> > into a state where I can --uncache.
>
> I know that cachevols do not yet work with lvconvert --repair, which uses
> cache_repair, but this must be another case where cache_repair is still
> needed.  If this is writethough mode you should be able to simply drop the
> cache with lvconvert --splitcache and then recreate it.

Would this be safe if cache_dump showed all blocks are clean (dirty=false),
even if the cache was in writeback mode?

--Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20201209/d4c1eb33/attachment.sig>


More information about the linux-lvm mailing list