activating LV 'pve/data' failed: Check of pool pve/data failed (status:1). Manual repair required! (500)
0
votes
0
answers
1744
views
Good afternoon, I'm asking for help in recovering damaged metadata after a 220V drop on the server, when the power was restored and the server booted up, I got an error in the Proxmox panel
activating LV 'pve/data' failed: Check of pool pve/data failed (status:1). Manual repair required! (500)
then booted from LiveCD debian mounted corrupted metadata and tried to repair
root@debian:/home/user# lvchange -ay /dev/pve/data_tdata
Do you want to activate component LV in read-only mode? [y/n]: y
Allowing activation of component LV.
root@debian:/home/user# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
vm-102-disk-0 local-hdd-volume1-pve1 -wi-a----- 50.00g
vm-103-disk-0 local-hdd-volume1-pve1 -wi-a----- 250.00g
vm-104-disk-0 local-hdd-volume1-pve1 -wi-a----- 150.00g
vm-108-disk-0 local-hdd-volume1-pve1 -wi-a----- 20.00g
vm-109-disk-0 local-hdd-volume1-pve1 -wi-a----- 160.00g
vm-110-disk-0 local-hdd-volume1-pve1 -wi-a----- 20.00g
base-101-disk-0 pve Vri---tz-k 20.00g data
base-105-disk-0 pve Vri---tz-k 15.00g data
data pve twi---tz-- ../dm-2
lrwxrwxrwx 1 root root 7 Mar 29 17:35 pve-root -> ../dm-1
lrwxrwxrwx 1 root root 7 Mar 29 17:35 pve-swap -> ../dm-0
root@debian:/home/user# thin_dump --repair /dev/mapper/pve-data_tdata > repaired.xml
The following field needs to be provided on the command line due to corruption in the superblock: transaction id
root@debian:/home/user# thin_check /dev/mapper/pve-data_tdata
examining superblock
superblock is corrupt
bad checksum in superblock, wanted 2018675394
however, I don’t know how to specify the transaction id and, most importantly, what id - where to find it
Asked by Ярослав Прохоров
Mar 29, 2023, 06:40 PM
Last activity: Jan 20, 2025, 03:34 AM
Last activity: Jan 20, 2025, 03:34 AM