All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gionatan Danti <g.danti@assyoma.it>
To: Ming-Hung Tsai <mingnus@gmail.com>
Cc: linux-lvm@redhat.com
Subject: Re: [linux-lvm] How to check if thin volume or snapshot was ever activated
Date: Tue, 10 Aug 2021 10:46:32 +0200	[thread overview]
Message-ID: <17fdbee926c230a26f761fb70ae46444@assyoma.it> (raw)
In-Reply-To: <CAAYit8RWCA3W0y4vuZju6aZVSeu7e6SjErkZ1orLceJj0nhsvw@mail.gmail.com>

Il 2021-08-10 10:40 Ming-Hung Tsai ha scritto:
> It depends on the number of thin volumes and the space utilization. A
> selective dump might also help, e.g.,
> # thin_dump <metadata> --dev-id <thin-id1> --dev-id <thin-id2> ...
> 
> The thin-ids could be obtained from lvs, using listing:
> # lvs -o lv_name,vg_name,thin_id
> or querying:
> # lvs -o thin_id --select <criteria> --noheadings

Greatly appreciated, thanks!

-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@assyoma.it - info@assyoma.it
GPG public key ID: FF5F32A8

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


      parent reply	other threads:[~2021-08-10  8:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-07 11:39 [linux-lvm] How to check if thin volume or snapshot was ever activated Gionatan Danti
2021-08-09  3:53 ` Ming-Hung Tsai
2021-08-09  4:16   ` Ming-Hung Tsai
2021-08-09  8:33   ` Gionatan Danti
     [not found]     ` <CAAYit8RWCA3W0y4vuZju6aZVSeu7e6SjErkZ1orLceJj0nhsvw@mail.gmail.com>
2021-08-10  8:46       ` Gionatan Danti [this message]

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=17fdbee926c230a26f761fb70ae46444@assyoma.it \
    --to=g.danti@assyoma.it \
    --cc=linux-lvm@redhat.com \
    --cc=mingnus@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.