How to recover LVM thin pool / volume after failed repair?

dantedevil89

New Member
Feb 11, 2025
1
0
1
Good morning,
I had a problem with a proxmox server. After a reboot, LVM could not be activated. With a recovery iso, I was able to restore lvm and restart the proxmox server.

Now in the WEBGUI I see all the VMs, but they don't start because the VM disks are not revealed under ThinPool.

below are the details of the commands to display the Logical Volumes.

I see the "tdata" and "tmeta" volumes and the space used is about 57Tb so I assume that the VM data is still present, but for some reason I can not reactivate the VM disks?

Is there anyone who can give me instructions on how to recover the VM disks?

Code:
root@nameserver:~# pvdisplay 
  --- Physical volume ---
  PV Name               /dev/sda3
  VG Name               pve
  PV Size               <54.57 TiB / not usable 4.98 MiB
  Allocatable           yes 
  PE Size               4.00 MiB
  Total PE              14304855
  Free PE               4158
  Allocated PE          14300697
  PV UUID               3qsw0h-H5FU-Kd2O-15DW-IoBc-9316-svDtWT
   
root@nameserver:~# vgdisplay 
  --- Volume group ---
  VG Name               pve
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  16
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               <54.57 TiB
  PE Size               4.00 MiB
  Total PE              14304855
  Alloc PE / Size       14300697 / 54.55 TiB
  Free  PE / Size       4158 / 16.24 GiB
  VG UUID               25yR3T-At75-Vyrq-w0pp-2lzM-o27r-ZsjwQt
   
root@nameserver:~# lvdisplay 
  --- Logical volume ---
  LV Name                data
  VG Name                pve
  LV UUID                3Wj0LK-Driw-eoYC-dZ58-OTYm-Vf8H-Oy8Poe
  LV Write Access        read/write
  LV Creation host, time proxmox, 2024-11-27 15:53:48 +0100
  LV Pool metadata       data_tmeta
  LV Pool data           data_tdata
  LV Status              available
  # open                 0
  LV Size                54.42 TiB
  Allocated pool data    1.37%
  Allocated metadata     1.05%
  Current LE             14265943
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:4
   
  --- Logical volume ---
  LV Path                /dev/pve/swap
  LV Name                swap
  VG Name                pve
  LV UUID                Y2cLrT-lmTg-vZKN-udyq-8gFf-DqL9-Ct5Plp
  LV Write Access        read/write
  LV Creation host, time proxmox, 2024-11-27 15:53:34 +0100
  LV Status              available
  # open                 2
  LV Size                8.00 GiB
  Current LE             2048
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:0
   
  --- Logical volume ---
  LV Path                /dev/pve/root
  LV Name                root
  VG Name                pve
  LV UUID                RFNK1A-YNnk-FVAr-Gcrq-l8Xo-7qL6-2cfGUe
  LV Write Access        read/write
  LV Creation host, time proxmox, 2024-11-27 15:53:34 +0100
  LV Status              available
  # open                 1
  LV Size                96.00 GiB
  Current LE             24576
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           252:1
   
root@nameserver:~# pvs
  PV         VG  Fmt  Attr PSize   PFree 
  /dev/sda3  pve lvm2 a--  <54.57t 16.24g
root@nameserver:~# vgs
  VG  #PV #LV #SN Attr   VSize   VFree 
  pve   1   3   0 wz--n- <54.57t 16.24g
root@nameserver:~# lvs
  LV   VG  Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  data pve twi-a-tz-- 54.42t             1.37   1.05                            
  root pve -wi-ao---- 96.00g                                                    
  swap pve -wi-ao----  8.00g
 
Last edited: