Relinking old NMVe

Just1n

New Member
Dec 28, 2024
4
0
1
Hello all,

I had a SATA drive fail after a bit with all the Proxmox boot data on it. I just received new hardware and got it reinstalled, but I have 2x NMVes that had alot of data on them. (NMVE0 has 21 Windows VMs & 5 Linux Containers on it all stored on it)

So how do I add them as storage again without losing any data on them?

Thanks,
Justin
 

Attachments

  • DISK.JPG
    DISK.JPG
    38.3 KB · Views: 3
  • NET.JPG
    NET.JPG
    6.1 KB · Views: 3
  • LVM.JPG
    LVM.JPG
    124.3 KB · Views: 3
So how do I add them as storage again without losing any data on them?
Depends on the filesystem, but just mounting it is fine. You will have a harder time to reconstruct each VM configuration, which you need to do manually, if you don't have backups.
 
Depends on the filesystem, but just mounting it is fine. You will have a harder time to reconstruct each VM configuration, which you need to do manually, if you don't have backups.
I'm still fairly new to the Proxmox environment, so what would be the path/way to just mount them?
 
From your image, it appears that Proxmox is correctly reading from /dev/nvme0n1 (thats a partition of NVME disk1) a VG by the name of VM_Disc with 26 LVs on it. These are probably your old Virtual disks of your VMs. NVME disk2 also appears to have a VG by the name of VM_Disc_2 but does not appear to have any LVs on it. IDK the history of those NVMe disks & how they were setup/used. Maybe you do?

I believe, if you go to Datacenter, Storage, choose the Add drop-down & select LVM, give it a name in the ID: & choose from the Volume group drop-down VM_Disc then press Add, you should have all those LVs available in the PVE storage backend.

I've never done this procedure myself, but I believe it should work.

REMEMBER YOU SHOULD HAVE FULL & RESTORABLE BACKUPS OF ALL VM/S & LXC/S ALWAYS!
 
Last edited:
  • Like
Reactions: Kingneutron
From your image, it appears that Proxmox is correctly reading from /dev/nvme0n1 (thats a partition of NVME disk1) a VG by the name of VM_Disc with 26 LVs on it. These are probably your old Virtual disks of your VMs. NVME disk2 also appears to have a VG by the name of VM_Disc_2 but does not appear to have any LVs on it. IDK the history of those NVMe disks & how they were setup/used. Maybe you do?

I believe, if you go to Datacenter, Storage, choose the Add drop-down & select LVM, give it a name in the ID: & choose from the Volume group drop-down VM_Disc then press Add, you should have all those LVs available in the PVE storage backend.

I've never done this procedure myself, but I believe it should work.

REMEMBER YOU SHOULD HAVE FULL & RESTORABLE BACKUPS OF ALL VM/S & LXC/S ALWAYS!
Much Appreciated, it looks like it worked,

Now I have to figure out how reset up the VMs again.

The second NVMe was "Supposed" to be the back up, but I can see that was not the case.
 

Attachments

  • image_2024-12-28_162041409.png
    image_2024-12-28_162041409.png
    10.5 KB · Views: 4
  • VM_Disk_1.JPG
    VM_Disk_1.JPG
    18.6 KB · Views: 4

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!