I'm still trying to wrap my head around this because at no time was there a 'rm -rf' command run today - specifically one removing the contents of /etc/pve. So I may not have all the answers yet, but at this point I have given up trying to recover from LVM.
All I was trying to do is change the host name for a node to match naming conventions for my other two nodes. This involved removing the four default certificate files and trying to regenerate them from the command line when I noticed the /etc/pve folder was completely empty. My /data partition is intact, with all the disk images etc. I also have an LVM backup and several archive files with .vg extensions, but I don't know what to do with any of those things.
If I don't want to lose all kinds of data I will need help to be sure the next things I do are not making things worse. First, is there a way to recover just /etc/pve from an LVM backup or archive? If not, how do I get the web ui running again so I can try to rebuild everything manually.
Oh by the way, none of the Proxmox services are able to start, but the base Linux boots and I can SSH to it. Presently, this server is booted to a System Rescue USB, the LVM root is mounted, but will need to be umounted if we need to run any new commands.
I'll be here hoping for a miracle in the meantime.
Regards,
Jeff
All I was trying to do is change the host name for a node to match naming conventions for my other two nodes. This involved removing the four default certificate files and trying to regenerate them from the command line when I noticed the /etc/pve folder was completely empty. My /data partition is intact, with all the disk images etc. I also have an LVM backup and several archive files with .vg extensions, but I don't know what to do with any of those things.
If I don't want to lose all kinds of data I will need help to be sure the next things I do are not making things worse. First, is there a way to recover just /etc/pve from an LVM backup or archive? If not, how do I get the web ui running again so I can try to rebuild everything manually.
Oh by the way, none of the Proxmox services are able to start, but the base Linux boots and I can SSH to it. Presently, this server is booted to a System Rescue USB, the LVM root is mounted, but will need to be umounted if we need to run any new commands.
I'll be here hoping for a miracle in the meantime.
Regards,
Jeff