How to Import VM/Container from Imported Pool?

Windows7ge

Active Member
Sep 12, 2019
35
1
28
29
I've upgraded the boot drive on my PROXMOX server and imported my old ZFS pools with:
Code:
zpool import [pool]
Then added them to the GUI via:
Datacenter -> Storage -> Add -> ZFS

Both pools show the Disks that existed on them previously but I cannot figure out how to import the Containers & VMs from these. I saved them to these ZFS pools and not the previous boot drive so I'm currently not sure what the next step is to complete the import. I've been reading forum posts and guides but all of them stop at the pool import and don't say how to import the containers & VMs from the pool itself. The PROXMOX GUI isn't giving me any options so I'm lost.
 
The guest configs are stored in /etc/pve (the clusterfilesystem- https://pve.proxmox.com/pve-docs/chapter-pmxcfs.html) and not on the ZFS-pool itself - you need to copy the relevant configs (/etc/pve/lxc and /etc/pve/qemu-server) from the old disks

I hope this helps!
 
I am facing a similar problem however I have mounted the old proxmox disk root file but the pve folder is empty. Also do I have to overwrite the new lxc directory with the old one?
 
I am facing a similar problem however I have mounted the old proxmox disk root file but the pve folder is empty. Also do I have to overwrite the new lxc directory with the old one?
The lxc folder is also in /etc not in /pve
 
The guest configs are stored in /etc/pve (the clusterfilesystem- https://pve.proxmox.com/pve-docs/chapter-pmxcfs.html) and not on the ZFS-pool itself - you need to copy the relevant configs (/etc/pve/lxc and /etc/pve/qemu-server) from the old disks

I hope this helps!

Well, the unexpected occurred. So I went to that directory and those "files" were links to nodes/pve/lxc & nodes/pve/qemu-server. These folders did contain the *.config files. I shutdown the server because I ran out of time to work on it. Coming back to it today for no explainable reason I can no longer enter the WebUI of this install. Running ip ad it says the NIC is in an UNKNOWN state. I decided to check the folders again for the *.config files and they're gone. The config files disappeared...

This is terrible, no idea what decided to spontaneously go wrong.

I do have some good news though. Prior to upgrading the boot drive I decided to be smart and backup all of my LXC & VM's on a server on the network. I successfully imported all of my LXC containers. I'll try importing my VM's and report back on how that went.
 
I guess pmxcfs did not boot up (maybe as a result of the network not coming up cleanly)
You can try to start pmxcfs in local mode and see if you can backup the config-files

also take a look at the journal - that should explain why the network did not come up properly

I hope this helps!
 
I guess pmxcfs did not boot up (maybe as a result of the network not coming up cleanly)
You can try to start pmxcfs in local mode and see if you can backup the config-files

also take a look at the journal - that should explain why the network did not come up properly

I hope this helps!
What I did to "fix" the problem was import the backups from my backup server. I'm seriously glad I did that just prior to updating the OS/boot drive.

The reason I've updated is because the final goal is GPU pass-though for a Windows VM which would be the next thing not working...

Motherboard: AsRock Rack EP2C602-4L/D16
CPU's: Intel Xeon E5 2670v1's

I have both VT-x & VT-d enabled in the BIOS. I don't see any other options specifically labeled IOMMU so I'm hoping VT-d is it.
I followed the instructions detailed in the Proxmox VE documentation on enabling IOMMU for device pass-though but despite following these instructions the Proxmox WebUI is still telling me:
No IOMMU detected, please activate it.See Documentation for further information.
Are there any specific commands I can run that may give us some clues as to what exactly is missing or what I haven't enabled?
 
I've upgraded the boot drive on my PROXMOX server and imported my old ZFS pools with:
Code:
zpool import [pool]
Then added them to the GUI via:
Datacenter -> Storage -> Add -> ZFS

Both pools show the Disks that existed on them previously but I cannot figure out how to import the Containers & VMs from these. I saved them to these ZFS pools and not the previous boot drive so I'm currently not sure what the next step is to complete the import. I've been reading forum posts and guides but all of them stop at the pool import and don't say how to import the containers & VMs from the pool itself. The PROXMOX GUI isn't giving me any options so I'm lost.
Bonjour,
Pour retrouver vos VM:
1- Créer une nouvelle VM
2- Aller dans /etc/pve/qemu-server/xxx.conf (xxx.conf est le fichier de configuration de la VM que vous venez de créer)
3- Modifier le fichier xxx.conf en faisant en sorte que cette VM boot sur le disque souhaité (ex: scsi0: pool:vm-100-disk-0,size=60G)
 

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!