[linux-lvm] [dm-devel] fix corrupted thin pool

Vasiliy Tolstov v.tolstov at selfip.ru
Tue Oct 28 14:29:58 UTC 2014


2014-10-28 17:09 GMT+03:00 Joe Thornber <thornber at redhat.com>:
> thin_dump spits just spits out xml, it doesn't change the device it's
> reading.  So the process is either:
>
> thin_dump --repair <dev> > metadata.xml
> thin_restore -i metadata.xml -o <dev>
>


As i understand - if thin_dump --repair not displays volumes i can't
do restore...

> or you can use the thin_repair tool which does both of these
> processes.
>
>> <superblock uuid="" time="27" transaction="120" data_block_size="128"
>> nr_data_blocks="7290880">
>> </superblock>
>
> This is worrying, you seem to have no volumes in your pool?


No, as i email before, i have many volumes:
lvs vg1
  LV         VG   Attr       LSize   Pool Origin Data%  Move Log
Cpy%Sync Convert
  2679_751   vg1  Vwi---tz-k  20.00g tp1
  2735       vg1  Vwi---tz--  20.00g tp1
  2749       vg1  Vwi---tz--  20.00g tp1
  2799       vg1  Vwi---tz--  20.00g tp1
  2937_785   vg1  Vwi---tz-k 160.00g tp1
  3119       vg1  Vwi---tz--  20.00g tp1
  3435       vg1  Vwi---tz--  20.00g tp1
  3471       vg1  Vwi---tz--  20.00g tp1
  3547       vg1  Vwi---tz-- 160.00g tp1
  3645       vg1  Vwi---tz--  20.00g tp1
  3647       vg1  Vwi---tz--  20.00g tp1
  3695       vg1  Vwi---tz--  20.00g tp1
  tp1        vg1  twi---tz-- 445.00g
  tp1_tmeta0 vg1  -wi------- 620.00m

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




More information about the linux-lvm mailing list