[SOLVED] How to retrieve VMs from shared storage

michaeljd

New Member
Aug 30, 2023
18
0
1
Hello,

In preparation for my wipe/reload for PVE8.0, I moved my VMs to an NFS share on one of my NAS devices (vault-vm-storage) in this pic. You can see the 2 VMs. They were working fine for a week before I shut the old PVE server down. I wiped/reloaded the server with PvE8.0 and here I am.

1695082253361.png

I now have PVE8.0 up and running and added the NFS share (above). You can see the 2VMs. How to I retrieve them/make them active again? I don't see a way to move or use/activate them. I really want to move them to the other NFS share, truenas-vm-storage. Your help is greatly appreciated! My VMs have been down for a week now and I need them back up badly. Thank you.
 
Last edited:
Those aren't VMs, those are only the virtual disks of those VMs. VMs are defined by the config files that were stored on the system disk you have wiped.
Did you backup the /etc folder (especially /etc/pve/qemu-server/101.conf and /etc/pve/qemu-server/103.conf) before wiping it or do you have proper Vzdump/PBS backups of your VMs(which both include the configs as well as the virtual disks)?
 
Last edited:
Well, guess which forum newbie just learned a harsh lesson? :oops: I would have sworn I copied my VM backups to shared storage, but I did not. I edited the Contents of that NFS share to include VZDUMPS and guess what's not there?

Well, a wipe and reload is time for fresh, new beginnings! ;)

There is a saying that I live by and it goes: "Experience is what you get when you didn't get what you expected."

I would assume that if those files were actual VZDump files, there would be other options available? Thank you, Dunuin.

1695083855368.png
 
After I rebuild these VMs, I need to follow some best practices. Ironically, this PVE rebuild was actually me building a cluster (3 machines) and moving to Shared Storage to precisely avoid this very thing from happening. Nodes PVE2 and PVE3 are already up and running. I was going to get the VMs running again with them stored on Shared Storage, build the cluster, enable HA and so on. Well, I'm still going to do that, but we'll just add in a "create VMs again, dumbass" step.

I have all the data to rebuild those VMs. It's just in 3 different places. Going to be a busy day tomorrow. Thank you again.
 
Last edited:

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!