Rookie mistake - Assistance Needed: Deleted Cluster Configurations, GUI Showing No VMs

djkay2637

New Member
Apr 4, 2024
17
1
3
Hi Proxmox Community,

I made an unfortunate mistake and deleted all VM configurations on my Proxmox server when atemptiing to take this node out of my cluster. The VMs are still running in the background, but I can't see them in the GUI.

Actions Taken:

  1. Tried qm list, but it doesn't show anything.
  2. Checked /etc/pve/qemu-server/ directory, and it's empty.
  3. Attempted to check Corosync status, but received the error: "Corosync config '/etc/pve/corosync.conf' does not exist - is this node part of a cluster?"
Any advice on how to reconfigure the configuration files or get the VMs to show up in the GUI again would be greatly appreciated. I don't want to reboot the system until I can be confident i can start them up again.

Thank you in advance for your help!
 
Hi djkay

This happened to me when I first started using Proxmox. As far as I know there's not much you can do. Do you have a backup of the system?

I'm not sure if this will work but if the VM's currently run they are still in memory so you can try to somehow recreate the config files by getting the running VM Processes and their CLI Parameters:
Bash:
ps aux | grep '/usr/bin/kvm -id'

But if you have, i would prefere the Backup if existing.

regards
Frederik
 
Great, this has worked. i have had Copilot parse the result to help create a load of qm create commands. I now need it to recreate the old data mount points next.
 
Yes this worked. but you do have to be very specific with the Copilot command to ensure it creates everything.
 
  • Like
Reactions: FSIN