Lost metadata after fresh install

slav

New Member
Apr 8, 2023
1
0
1
hi all,
Im looking for help to retrieve my sda drive data, its a hardware raid of 1.8TBish. We had a power outage not long ago and it killed my boot drive so after replacing that and loading proxmox back up on a fresh install, I suddenly realized the 'drive' didn't come back as easy as the rest. I've done alot of research how to restore metadata with no luck and even then i'm not sure if i'm even on the correct route for success. I would really appreciate if someone could take alook.

Code:
LVS

  WARNING: Metadata location on /dev/sda1 at 205312 begins with invalid VG name.
  WARNING: bad metadata text on /dev/sda1 in mda1
  WARNING: scanning /dev/sda1 mda1 failed to read metadata summary.
  WARNING: repair VG metadata on /dev/sda1 with vgck --updatemetadata.
  WARNING: scan failed to get metadata summary from /dev/sda1 PVID 3dwUDqpeTmDDz93ENlpO2m11T9Tl07jc

LV            VG  Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  vm-100-disk-0 SSD -wi-ao----  20.00g                                                   
  vm-102-disk-0 SSD -wi-ao----  60.00g                                                   
  data          pve twi-aotz-- <59.50g             13.18  1.81                           
  root          pve -wi-ao----  27.50g                                                   
  swap          pve -wi-ao----   8.00g                                                   
  vm-100-disk-0 pve Vwi-aotz--   8.00g data        18.66                                 
  vm-101-disk-0 pve Vwi-aotz--  20.00g data        31.73                                 
root@pve:~#


VGS
  WARNING: Metadata location on /dev/sda1 at 205312 begins with invalid VG name.
  WARNING: bad metadata text on /dev/sda1 in mda1
  WARNING: scanning /dev/sda1 mda1 failed to read metadata summary.
  WARNING: repair VG metadata on /dev/sda1 with vgck --updatemetadata.
  WARNING: scan failed to get metadata summary from /dev/sda1 PVID 3dwUDqpeTmDDz93ENlpO2m11T9Tl07jc
  VG  #PV #LV #SN Attr   VSize    VFree
  SSD   1   2   0 wz--n-  118.62g 38.62g
  pve   1   5   0 wz--n- <110.75g 13.75g



lsblk

NAME                         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                            8:0    0   1.8T  0 disk
├─sda1                         8:1    0 464.7G  0 part
├─sda2                         8:2    0   1.4M  0 part
└─sda3                         8:3    0   1.4M  0 part
sdb                            8:16   0 118.6G  0 disk
├─SSD-vm--102--disk--0       253:0    0    60G  0 lvm 
└─SSD-vm--100--disk--0       253:1    0    20G  0 lvm 
sdc                            8:32   0 111.3G  0 disk
├─sdc1                         8:33   0  1007K  0 part
├─sdc2                         8:34   0   512M  0 part /boot/efi
└─sdc3                         8:35   0 110.7G  0 part
  ├─pve-swap                 253:2    0     8G  0 lvm  [SWAP]
  ├─pve-root                 253:3    0  27.5G  0 lvm  /
  ├─pve-data_tmeta           253:4    0     1G  0 lvm 
  │ └─pve-data-tpool         253:6    0  59.5G  0 lvm 
  │   ├─pve-data             253:7    0  59.5G  1 lvm 
  │   ├─pve-vm--100--disk--0 253:8    0     8G  0 lvm 
  │   └─pve-vm--101--disk--0 253:9    0    20G  0 lvm 
  └─pve-data_tdata           253:5    0  59.5G  0 lvm 
    └─pve-data-tpool         253:6    0  59.5G  0 lvm 
      ├─pve-data             253:7    0  59.5G  1 lvm 
      ├─pve-vm--100--disk--0 253:8    0     8G  0 lvm 
      └─pve-vm--101--disk--0 253:9    0    20G  0 lvm 
sdd                            8:48   1  59.8G  0 disk
└─sdd1                         8:49   1  59.7G  0 part
sr0                           11:0    1  1024M  0 rom

LVSCAN

WARNING: Metadata location on /dev/sda1 at 205312 begins with invalid VG name.
  WARNING: bad metadata text on /dev/sda1 in mda1
  WARNING: scanning /dev/sda1 mda1 failed to read metadata summary.
  WARNING: repair VG metadata on /dev/sda1 with vgck --updatemetadata.
  WARNING: scan failed to get metadata summary from /dev/sda1 PVID 3dwUDqpeTmDDz93ENlpO2m11T9Tl07jc
  ACTIVE            '/dev/pve/swap' [8.00 GiB] inherit
  ACTIVE            '/dev/pve/root' [27.50 GiB] inherit
  ACTIVE            '/dev/pve/data' [<59.50 GiB] inherit
  ACTIVE            '/dev/pve/vm-100-disk-0' [8.00 GiB] inherit
  ACTIVE            '/dev/pve/vm-101-disk-0' [20.00 GiB] inherit
  ACTIVE            '/dev/SSD/vm-102-disk-0' [60.00 GiB] inherit
  ACTIVE            '/dev/SSD/vm-100-disk-0' [20.00 GiB] inherit
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!