Data recovery -- thin provisioned LVM metadata (?) problem after hardware failure

Zdenek Kabelac <[email protected]> Fri, 5 May 2023 17:07:54 +0200
Newsgroups dev.linux.lists.lvm-devel
Message-ID <[email protected]>
Dne 04. 05. 23 v 19:06 haaber napsal(a):
> Dear Zdenek,
> 
> here https://we.tl/t-41PiPG2V1G???? is the output of
> 
> #thin_dump?? /dev/qubes_dom0/pool00_tmeta? > pool00_tmeta
> 

Hi

We need the exact binary copy of _tmeta  LV  - thus just use

dd if=/dev/qubes_dom0/pool00_tmeta  /tmp/tmeta_copy  bs=512K
bzip2 /tmp/tmeta_copy

With this data - also provide full lvm2 metadata for this VG
(should be as a file in  /etc/lvm/backup  - or you could run
just vgcfgbackup)

thin_dump is already 'processed' result - so not usable for futher investigation.

(Although it might interesting idea to add some 'option' to actually provide 
the above 'binary backup' is  built-in feature of this tool for bug reporting...)


Regards

Zdenek