Clean PVE install and old VM disks

Can someone tell me if it's even possible to restore an LVM storage located on a separate disk (nvme) when doing a completely new install of PVE (on new SSDs). The LVM storage (NVME_SMS) is listed in storage.cfg however, will it be detected on the new install at all, if I just add these entries in storage.cfg? (Details on the 1st page last post)

dir: local
path /var/lib/vz
content iso,rootdir,backup,vztmpl,images,snippets
prune-backups keep-last=1
shared 1

dir: BACKUP_2TB
path /mnt/pve/BACKUP_2TB
content vztmpl,images,snippets,rootdir,backup,iso
is_mountpoint 1
nodes proxmox
prune-backups keep-last=10
shared 0

lvm: NVME_SMS
vgname NVME_SMS
content rootdir,images
nodes proxmox
shared 0
 
Last edited:
you can just copy/paste /etc/pve/qemu-server/*. conf to New pve host.
VMs will display immediatly.
To boot them, make sure the datastore is available with same previous datastore name.
You can copy/paste content of section from storage.cfg too.
Datastore will display immediatly after edit storage.cfg.
personally i use nano then copy/paste content from backup of my *. conf *. cfg..
 
you can just copy/paste /etc/pve/qemu-server/*. conf to New pve host.
VMs will display immediatly.
To boot them, make sure the datastore is available with same previous datastore name.
You can copy/paste content of section from storage.cfg too.
Datastore will display immediatly after edit storage.cfg.
personally i use nano then copy/paste content from backup of my *. conf *. cfg..

Are you sure this includes LVM storage?
 
you've asked clean install keeping old vm disk, so if your lvm/thin disk aren't touched, editing storage.cfg directly works.
 

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!