Volume group "pve" not found

SomeUser

Member
Aug 1, 2020
24
5
23
54
Proxmox wouldn't install on my system because X couldn't run during installation. So I took the ssd, attached it to my MacBook, and installed Proxmox in a Parallels VM that has the ssd via USB as a passthrough drive. Installation went fine. Attached the ssd to my system and during the boot process, I get this on the screen:

Reading all physical volumes. This may take a while...
Volume group "pve" not found
Cannot process volume group pve
Volume group "pve" not found
Cannot process volume group pve
[repeats for a total of 9 times]
/dev/mapper/pve-root: clean, 50672/6291456 files, 1020225/25165820 blocks

It then finishes booting without issues. However, after a few update-grub and apt-get disk-upgrade, it couldn't find /dev/mapper/pve-root and dropped me into busybox. So I had to rebuild, and do this again. How do I fix it?

fdisk gives me the following:

Disk /dev/sdh: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 860
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 49903C82-DB84-421C-AD2B-6CE09F183116

Device Start End Sectors Size Type
/dev/sdh1 34 2047 2014 1007K BIOS boot
/dev/sdh2 2048 1050623 1048576 512M EFI System
/dev/sdh3 1050624 1953525134 1952474511 931G Linux LVM

root@pve:~# vgcfgrestore --list pve
File: /etc/lvm/archive/pve_00000-2016087084.vg
Couldn't find device with uuid oItVj1-WZIr-rP0o-0xBU-Wdor-bXK7-MSzOZM.
VG name: pve
Description: Created *before* executing 'pvscan --cache --activate ay 8:3'
Backup Time: Sat Aug 1 20:40:58 2020

File: /etc/lvm/backup/pve
VG name: pve
Description: Created *after* executing 'pvscan --cache --activate ay 8:3'
Backup Time: Sat Aug 1 20:40:58 2020

root@pve:~# pvdisplay
--- Physical volume ---
PV Name /dev/sdh3
VG Name pve
PV Size 931.01 GiB / not usable 4.69 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 238338
Free PE 4094
Allocated PE 234244
PV UUID oItVj1-WZIr-rP0o-0xBU-Wdor-bXK7-MSzOZM

root@pve:~# lvdisplay
--- Logical volume ---
LV Path /dev/pve/swap
LV Name swap
VG Name pve
LV UUID 9WPAYs-EWkJ-sMGl-9cpc-p0yT-l0Y5-YIb8to
LV Write Access read/write
LV Creation host, time proxmox, 2020-08-01 20:37:03 -0400
LV Status available
# open 2
LV Size 4.00 GiB
Current LE 1024
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1

--- Logical volume ---
LV Path /dev/pve/root
LV Name root
VG Name pve
LV UUID LXnLG6-S9nD-pT7Z-D8Ic-qjYp-isjk-34tnhL
LV Write Access read/write
LV Creation host, time proxmox, 2020-08-01 20:37:03 -0400
LV Status available
# open 1
LV Size 96.00 GiB
Current LE 24576
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

--- Logical volume ---
LV Name data
VG Name pve
LV UUID u0waVP-jwpF-9py4-U2MJ-zX9q-GzaQ-PilMv6
LV Write Access read/write
LV Creation host, time proxmox, 2020-08-01 20:37:04 -0400
LV Pool metadata data_tmeta
LV Pool data data_tdata
LV Status available
# open 0
LV Size 798.71 GiB
Allocated pool data 0.00%
Allocated metadata 0.24%
Current LE 204470
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:4

root@pve:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sdh3 pve lvm2 a-- <931.01g 15.99g
root@pve:~# vgs
VG #PV #LV #SN Attr VSize VFree
pve 1 3 0 wz--n- <931.01g 15.99g
root@pve:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-a-tz-- 798.71g 0.00 0.24
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 4.00g

root@pve:~# cat /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/pve/root / ext4 errors=remount-ro 0 1
/dev/pve/swap none swap sw 0 0
proc /proc proc defaults 0 0
 
Last edited:

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!