Node hdd salvage - pve local-lvm renamed - cannot boot in VM

voarsh

Active Member
Nov 20, 2020
218
20
38
29
I attempted to load the data from a pulled hdd - tried to mount it only to find PVE complain about pve already existing when mounting the drive to a folder to browse.

vgdisplay
vgrename <VG UUID> new_name
modprobe dm-mod
vgchange -ay
lvscan
mount /dev/new_name/root /mnt/data/

So I used this to rename the hdd's pve lvm to something else. After adding the drive as a lvm-local I tried to browse the data, but I just found shortcuts to disk images.
It dawned on me that I should passthrough the disk to a VM to try and run PVE in a VM to copy/salvage the data.

When I passed through the disk the boot complained it couldn't find pve.
Before I tried to passthrough the disk I tried to rename it back, but it already existed on the system I already have pve installed, where I was trying to recover the disk data from.

So, I'm not sure how I can put things back in working order so I can load the disk in a VM and get the data off.