Rebuild files ".conf" from "/etc/pve/nodes". I deleted them

mlopezbialet

Member
Apr 6, 2022
6
0
6
Hello everyone:

I had problems with my cluster and decided to disconnect it, when trying to connect it again the errors started:

Following the steps of the threads: "https://forum.proxmox.com/threads/c...s-host-already-contains-virtual-guests.55965/" and "https://forum.proxmox .com/threads/accidentally-deleted-etc-pve-and-i-dont-have-a-backup.90432/", I deleted VM folders and configuration files

The PVE is still online, I didn't reboot it and all my VM is working fine.

Also, "/var/lib/pve-cluster/config.db" is fine..!!
How can I solve it?


If I reboot PVE, mabe it could rebuild itself?

Is there some program to recover those files?

Im sorry for my English

Thanks in advance..!!

Mariano López Bialet
 
You could grep your way through the output of lsof, which will list files that are open even if they have been deleted since, and pick those up from the respective task's fd entries in /proc.
 
You could grep your way through the output of lsof, which will list files that are open even if they have been deleted since, and pick those up from the respective task's fd entries in /proc.
Many thanks for your reply..!!
I don´t understand very well what´s you´re saying
Can you explain more please?
Thanks..!!
 
.. wouldn't help anyway as pve apparently doesn't keep those files open.
 

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!