Proxmox not booting after pve lvm name change

alois

Member
Dec 24, 2021
1
0
21
39
Hello,

After changing the name of pve lvm in the shell with
vgrename pve pve1
And updating the name in the storage.cfg
nano /etc/pve/storage.cfg (and running systemctl try-reload-or-restart pvedaemon pveproxy pvestatd)

Proxmox wouldn't boot anymore
ALERT! /dev/mapper/pve-root does not exist. Dropping to shell!

I want to add a failed ssd (is in read only mode) with a proxmox installation on it to a proxmox test machine to recover some config files
For this I need to change the name of active installation pve lvm because cant have 2 lvms with the same name

Thank you and happy new year
 
If you rename VG containing boot / root, you need to modify grub (or whatever mechanism you use for booting) configuration. And possibly /etc/fstab and other places.