[linux-lvm] [dm-devel] fix corrupted thin pool
Vasiliy Tolstov
v.tolstov at selfip.ru
Tue Oct 28 13:55:12 UTC 2014
2014-10-27 12:15 GMT+03:00 Zdenek Kabelac <zdenek.kabelac at 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 at selfip.ru
jabber: vase at selfip.ru
More information about the linux-lvm
mailing list