linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Daniel Leong <daniel.leong@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Accessing LVM cache origin
Date: Tue, 19 Jan 2016 23:23:07 +0000	[thread overview]
Message-ID: <CAD=NvSb8TsprJPuOTwCPALPiv9+LRCECy0WUNPx-iobCK5EJUg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 742 bytes --]

Hello,

I'm struggling to find information about lvmcache recovery after the cache
fails. Is it possible to access an LVcache origin if the PV for the cache
has failed?

If I try partial mode :
  lvchange -a y -P fedora/home

Then it just hangs.

If I try the home_corig directly :
  lvchange -a y -P fedora/home_corig

  "Unable to change internal LV home_corig directly"

I can see the LVs with :
   lvs -a -o +devices fedora

The home_corig is still on /dev/sdb3 so I can probably find the blocks if
needed ... but that seems like hard work!

At the moment [cache_cdata] and [cache_cmeta] are on "unknown device"
because it failed. Can I just extend to a new PV for the cache?

Thanks for any tips, and apologies if I'm being stupid.

Dan

[-- Attachment #2: Type: text/html, Size: 1095 bytes --]

             reply	other threads:[~2016-01-19 23:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-19 23:23 Daniel Leong [this message]
2016-01-22 16:09 ` [linux-lvm] Accessing LVM cache origin Marian Csontos
2016-01-26 22:43   ` Daniel Leong

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='CAD=NvSb8TsprJPuOTwCPALPiv9+LRCECy0WUNPx-iobCK5EJUg@mail.gmail.com' \
    --to=daniel.leong@gmail.com \
    --cc=linux-lvm@redhat.com \
    /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
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).