Volume group pve not found after impulsive update to proxmox 8

serde

New Member
Oct 14, 2023
5
0
1
Hello

In the middle of the night I had an impulsive thought to update my proxmox 7.2 to proxmox 8. First I updated tot 7.4 then I changed the repo file and I tried to apt dist-upgrade. It gave some error codes so I tried to reboot. After the reboot the system constantly gave a error with: volume group “pve” not found
Cannot process volume group pve (see attachment).

I have tried a couple of things like https://pve.proxmox.com/wiki/Recover_From_Grub_Failure. When I tried:
  • Create a 4MB logical volume named grubtemp in the pve volume group: lvcreate -L 4M pve -n grubtemp
It gave an error that the volume was full

I was able to get in chroot Then I tried
  • grub-install /dev/sda
But it says efi file not found

Also when I live usb boot ubuntu on the server and I look in the folder /etc/pve it is empty.

Last time I checked my proxmox was 7.4 with kernel 6.2

I also have made backups of the vm’s and lxc’s on a drive that is in the server, should I just install a new proxmox 8 and try to recover with the backups?

If you guys need any more information please let me know.
 

Attachments

  • e41130a9-f0e9-48cf-a312-680f8d4c3613.jpeg
    e41130a9-f0e9-48cf-a312-680f8d4c3613.jpeg
    101.8 KB · Views: 13
With a recent backup of all your guests and also a backup your /var/lib/pve-cluster/config.db for the PVE configs and and /etc for Debian configs it might be faster to just do a reinstall + restore instead of trying to fix it. But on the other hand you would probably learn more by fixing it and maybe also find out the problem so you don'T run into it again in the future. So it depends...
 
With a recent backup of all your guests and also a backup your /var/lib/pve-cluster/config.db for the PVE configs and and /etc for Debian configs it might be faster to just do a reinstall + restore instead of trying to fix it. But on the other hand you would probably learn more by fixing it and maybe also find out the problem so you don'T run into it again in the future. So it depends...
I think the problem was that I have no patients. Thank you for the help! Do you see anything I could do to fix it? Do you maybe recognize this problem?
 
Did you run pve7to8 to check for problems before upgrading to PVE8?

I guess you don't remember what these were reporting?
I did not run pve7to8 and can’t remember what it was reporting, I was very impulsive. I will save the ssd and try to troubleshoot after I am finished with recovering my proxmox.

I copied the config.db and everything in etc to a another drive. I boot in to live usb ubuntu and replaced the config.db of the new proxmox server and copied all the etc files in to new etc folder with sudo cp -r /backup/etc/* to /etc I also tried to replace everything in etc but I get this error code. When I only move the config.db it wil boot but i cant acces the webui because of mfa failure.

Should I not move everything in etc and only couple of files? Do I have to a file to make mfa work?
 

Attachments

  • image1.jpeg
    image1.jpeg
    42.1 KB · Views: 8
Last edited:
Nevermind I have used the wrong co commands. Thanks for helping the backup has been recovered.
 

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!