Unable to power-on VMs after reboot

valises-brass-0w

New Member
Jul 16, 2023
3
0
1
Hello Everyone,

New to proxmox and stumbled across an issue where I can't power-on VMs after reboot.

When I attempt to start any VM, it gives me this error:

Command failed with status code 5.
command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
TASK ERROR: no such logical volume local-lvm-4tb-01/local-lvm-4tb-01


Appreciate any help with this issue, pretty new to Proxmox and no idea how to fix this without losing data on disk.
Thanks in advance.

The disk is visible in pve01--> Disks
1693964040513.png

1693964123723.png

1693964143373.png
 
While the disk is there, the Usage column shows 'No' - so there seems to be something wrong with the disk.

Can you post the output of the following commands (in CODE tags)?

Code:
fdisk -l /dev/sda
pvs
 
While the disk is there, the Usage column shows 'No' - so there seems to be something wrong with the disk.

Can you post the output of the following commands (in CODE tags)?

Code:
fdisk -l /dev/sda
pvs
Here you go:

root@pve01:~# fdisk -l /dev/sda
Disk /dev/sda: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: CT4000MX500SSD1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 7F4BE2F9-119A-40F8-9D84-E0C71BD8F77F

Device Start End Sectors Size Type
/dev/sda1 2048 7814037134 7814035087 3.6T Linux LVM

root@pve01:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sda1 local-lvm-4tb-01 lvm2 a-- <3.64t 376.00m
/dev/sdb3 pve lvm2 a-- <1.82t 16.24g
 
Interesting, at least LVM & the Physical Volume seem to be there.

What is the output of

Code:
vgs
lvs
 
Interesting, at least LVM & the Physical Volume seem to be there.

What is the output of

Code:
vgs
lvs
Sorry to necro this thread...but I am having the same problem...here's all the outputs:
root@MediaNUC:~# fdisk -l /dev/sda
Disk /dev/sda: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: CT250BX100SSD1
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: 90659F4D-7D26-4D99-A7A2-18A8A3796134

Device Start End Sectors Size Type
/dev/sda1 34 2047 2014 1007K BIOS boot
/dev/sda2 2048 2099199 2097152 1G EFI System
/dev/sda3 2099200 488397134 486297935 231.9G Linux LVM
root@MediaNUC:~# pvs
PV VG Fmt Attr PSize PFree
/dev/nvme0n1 apps lvm2 a-- <476.94g 124.00m
/dev/sda3 pve lvm2 a-- 231.88g 16.00g
root@MediaNUC:~# vgs
VG #PV #LV #SN Attr VSize VFree
apps 1 3 0 wz--n- <476.94g 124.00m
pve 1 3 0 wz--n- 231.88g 16.00g
root@MediaNUC:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
apps apps twi-aotz-- <467.28g 12.93 0.82
snap_vm-200-disk-0_Update_20240728_203855 apps Vri---tz-k 60.00g apps vm-200-disk-0
vm-200-disk-0 apps Vwi-a-tz-- 60.00g apps 99.92
data pve twi-aotz-- 137.11g 0.00 1.16
root pve -wi-ao---- <67.97g
swap pve -wi-ao---- 8.00g
root@MediaNUC:~#

This is what I am dealing with:
1722306862952.png
 
Sorry to necro this thread...but I am having the same problem...here's all the outputs:
root@MediaNUC:~# fdisk -l /dev/sda
Disk /dev/sda: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: CT250BX100SSD1
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: 90659F4D-7D26-4D99-A7A2-18A8A3796134

Device Start End Sectors Size Type
/dev/sda1 34 2047 2014 1007K BIOS boot
/dev/sda2 2048 2099199 2097152 1G EFI System
/dev/sda3 2099200 488397134 486297935 231.9G Linux LVM
root@MediaNUC:~# pvs
PV VG Fmt Attr PSize PFree
/dev/nvme0n1 apps lvm2 a-- <476.94g 124.00m
/dev/sda3 pve lvm2 a-- 231.88g 16.00g
root@MediaNUC:~# vgs
VG #PV #LV #SN Attr VSize VFree
apps 1 3 0 wz--n- <476.94g 124.00m
pve 1 3 0 wz--n- 231.88g 16.00g
root@MediaNUC:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
apps apps twi-aotz-- <467.28g 12.93 0.82
snap_vm-200-disk-0_Update_20240728_203855 apps Vri---tz-k 60.00g apps vm-200-disk-0
vm-200-disk-0 apps Vwi-a-tz-- 60.00g apps 99.92
data pve twi-aotz-- 137.11g 0.00 1.16
root pve -wi-ao---- <67.97g
swap pve -wi-ao---- 8.00g
root@MediaNUC:~#

This is what I am dealing with:
View attachment 72079
Discussion is already happening here: https://forum.proxmox.com/threads/unknown-status.151935/
 

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!