linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: Xen <list@xenhideout.nl>
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Reattach cache
Date: Wed, 22 Nov 2017 12:03:16 +0100	[thread overview]
Message-ID: <199baa98-ad7d-efc6-786d-75cf780188c1@redhat.com> (raw)
In-Reply-To: <f4617ae4ec55c2b9cf1e3bd0079ed20a@xenhideout.nl>

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

  reply	other threads:[~2017-11-22 11:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-22  8:55 [linux-lvm] Reattach cache Xen
2017-11-22  9:57 ` Zdenek Kabelac
2017-11-22 10:15   ` Xen
2017-11-22 11:03     ` Zdenek Kabelac [this message]
     [not found] <181942124.99954.1511342208833.ref@mail.yahoo.com>
2017-11-22  9:16 ` matthew patton
2017-11-22 10:53   ` Xen

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=199baa98-ad7d-efc6-786d-75cf780188c1@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=list@xenhideout.nl \
    /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).