The /etc/pve directory disappeared

Jonatanas12

New Member
May 29, 2023
3
0
1
The directory /etc/pve when making changes to the server disappeared, I reverted the changes but still can not see the content, what do I do? I have no backups.
 
As you can see there is nothing in the directory and when I want to restart the services it does not let me
 

Attachments

  • Screenshot_4.jpg
    Screenshot_4.jpg
    36.4 KB · Views: 10
  • Screenshot_3.jpg
    Screenshot_3.jpg
    129.2 KB · Views: 10
  • Screenshot_2.jpg
    Screenshot_2.jpg
    212.7 KB · Views: 10
As you can see there is nothing in the directory and when I want to restart the services it does not let me
That's normal when the pve-cluster service does not start. Can you find the actual reason for the failure in journalctl -b (you might have to scroll and search a bit)?
The directory /etc/pve when making changes to the server disappeared, I reverted the changes but still can not see the content, what do I do?
Maybe you can tell a little about the changes and how you reverted them?
I have no backups.
It's fine if you don't care about the VMs/containers.
 
Last edited:
Changes were made to the hosts file to rename the clusters and then returned to the same name.

As you can see I have no more errors that the keys do not exist. and another one I found about ip
 

Attachments

  • Screenshot_5.jpg
    Screenshot_5.jpg
    519.4 KB · Views: 6
  • Screenshot_6.jpg
    Screenshot_6.jpg
    518.9 KB · Views: 5
  • Screenshot_8.jpg
    Screenshot_8.jpg
    59.9 KB · Views: 5
There might be something wrong in one of your /etc/hosts file. Please post it and make sure each IP + name is correct in the /etc/hosts file.
Renaming a node while still in cluster, might make some issues. The correct way is to remove the node and the readd it again to the cluster. Please also post /etc/pve/corosync.conf and /etc/network/interfaces of each host.
 
Last edited:
  • Like
Reactions: leesteken

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!