archive mirror
 help / color / mirror / Atom feed
From: Liwei <>
To: LVM general discussion and development <>
Subject: [linux-lvm] Detaching a failed cache pool
Date: Wed, 24 Oct 2018 14:36:04 +0800	[thread overview]
Message-ID: <> (raw)

Hi list,
    I have an LV with a corrupted cache. Looking at the cmeta using
cache_dump, I get this:

<superblock uuid="" block_size="128" nr_cache_blocks="0" policy=""
metadata contains errors (run cache_check for details).
perhaps you wanted to run with --repair ?

    Running with --repair just produces metadata with no mappings and
hints, which is incorrect too.

    Obviously the metadata volume is corrupted beyond recovery, but I
am okay with that as it is a read-only LV and we are using the cache
for read acceleration. However, there seems to be no way for us to get
out of this state into something usable? I can't seem to remove the
cache from the LV. I've read through the documentation for lvmcache
and can't find any information about this.

    At the moment I can't access the original LV anymore. Whatever I
try to do always results in "Check of pool vg/lv-cache failed
(status:1). Manual repair required!" What am I missing?


             reply	other threads:[~2018-10-24  6:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-24  6:36 Liwei [this message]
2018-11-07 17:19 ` [linux-lvm] Detaching a failed cache pool Liwei

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:

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

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).