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.