lvm: Volume group "pve" not found

martin90

Member
Jun 14, 2020
3
0
6
34
Hi everyone,
first of i would like to say thank you for this great piece of software
and in particular for the fact that it is freely accessible which allows me as a student to gain experience in this field.
Thanks for that.

However, i ran into a problem i cannot solve myself.
The problem is that after a kernel update from „pve-kernel-5.3.10-1-pve“ to the newest kernel (actually every kernel since that one)
I can't boot the system because lvm can't find the group “pve” anymore.
I know this is quite a common problem and I have already tried some suggestions but non of them fixed the problem.

For example:
changing the rootdelay in grub to 30s → didn't help

setting all volume groups to active in initramfs with vgchange -ay
in fact a vgscan -v reports that it couldn’t find any volume groups on my system

However I am still able to boot the system when I select the old kernel.
if i run vgscan -v it shows me my volume groups as it should.
Code:
root@pve:~# vgscan -v
  Reading all physical volumes.  This may take a while...
  Found volume group "pve" using metadata type lvm2
root@pve:~# lvscan -v
  ACTIVE            '/dev/pve/swap' [8.00 GiB] inherit
  ACTIVE            '/dev/pve/root' [29.50 GiB] inherit
  ACTIVE            '/dev/pve/data' [<64.49 GiB] inherit

What could be the problem?
 
On what kind of hardware do you run PVE? Are the disks connected via some RAID controller?
 
I just rebuilt the server because I suspect that I was responsible for the error.
Now everything runs as expected.
 

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!