linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Vasiliy Tolstov <v.tolstov@selfip.ru>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] [dm-devel] fix corrupted thin pool
Date: Tue, 28 Oct 2014 17:55:12 +0400	[thread overview]
Message-ID: <CACaajQtS00j9wwTXePVA5qi3cb9PwXDukVnPktxZGOR_XtFAdQ@mail.gmail.com> (raw)
In-Reply-To: <544E0D43.6010606@gmail.com>

2014-10-27 12:15 GMT+03:00 Zdenek Kabelac <zdenek.kabelac@gmail.com>:
> If you would have latest lvm2 tools - you could have tried:
>
> lvconvert --repair  vg/pool
>
>
> With older tools - you need to go in these manual step:
>
> 4. swap deactivated repaired volume back to your thin-pool
> # lvchange -an vg/repaired
> # lvconvert --thinpool vg/pool --poolmetadata repaired
>
> try to activate pool -  if it doesn't work report more problems.

I'm can't activate volumes =(.
I'm run
lvconvert --repair vg1/tp1
lvchange -ay vg1/tp1_meta0

thin_dump --repair /dev/mapper/vg1-tp1_tmeta0
<superblock uuid="" time="27" transaction="120" data_block_size="128"
nr_data_blocks="7290880">
</superblock>

lvchange -an vg1/tp1_tmeta0

and finally

lvchange -ay vg1/3695
  Check of thin pool vg1/tp1 failed (status:1). Manual repair required
(thin_dump --repair /dev/mapper/vg1-tp1_tmeta)!


-- 
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru
jabber: vase@selfip.ru

  reply	other threads:[~2014-10-28 13:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24 19:59 [linux-lvm] fix corrupted thin pool Vasiliy Tolstov
2014-10-25 12:43 ` Zdenek Kabelac
2014-10-25 18:41   ` [linux-lvm] [dm-devel] " Vasiliy Tolstov
2014-10-25 18:42     ` Vasiliy Tolstov
2014-10-25 20:18     ` Zdenek Kabelac
2014-10-25 20:53       ` Vasiliy Tolstov
2014-10-25 22:47         ` Zdenek Kabelac
2014-10-26 19:46           ` Vasiliy Tolstov
2014-10-27  9:15             ` Zdenek Kabelac
2014-10-28 13:55               ` Vasiliy Tolstov [this message]
2014-10-28 14:09                 ` Joe Thornber
2014-10-28 14:29                   ` Vasiliy Tolstov
2014-10-27  6:58           ` Anatoly Pugachev
2014-10-27  9:05             ` Zdenek Kabelac

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=CACaajQtS00j9wwTXePVA5qi3cb9PwXDukVnPktxZGOR_XtFAdQ@mail.gmail.com \
    --to=v.tolstov@selfip.ru \
    --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).