linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: David Teigland <teigland@redhat.com>
To: Dennis Schridde <devurandom@gmx.net>
Cc: linux-lvm@redhat.com
Subject: Re: [linux-lvm] cache_check --clear-needs-check-flag does not clear needs_check flag?
Date: Wed, 9 Dec 2020 14:45:25 -0600	[thread overview]
Message-ID: <20201209204525.GD15208@redhat.com> (raw)
In-Reply-To: <11903480.O9o76ZdvQC@monk>

On Wed, Dec 09, 2020 at 08:57:07PM +0100, Dennis Schridde wrote:
> 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.
> 
> Sadly the cache is in writeback mode.
> 
> Is my understanding correct that the cache itself is fine?  It is just the
> inability to clear the needs_check flag that is preventing me from using the
> device?  

I suspect the cache itself is fine and we're just missing a way to clear
that flag in the cache metadata.  I'm looking for a workaround for that
until we can sort out a complete fix.

Dave

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


  reply	other threads:[~2020-12-09 20:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-06 21:01 Dennis Schridde
2020-12-08 22:19 ` Dennis Schridde
2020-12-09 11:05 ` Zdenek Kabelac
2020-12-09 19:06   ` Dennis Schridde
2020-12-09 19:30     ` David Teigland
2020-12-09 19:57       ` Dennis Schridde
2020-12-09 20:45         ` David Teigland [this message]
2020-12-09 23:52           ` David Teigland
2020-12-09 20:15       ` Dennis Schridde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201209204525.GD15208@redhat.com \
    --to=teigland@redhat.com \
    --cc=devurandom@gmx.net \
    --cc=linux-lvm@redhat.com \
    --subject='Re: [linux-lvm] cache_check --clear-needs-check-flag does not clear needs_check flag?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).