Proxmox local lvm status unknown, LXCs, VMs can't start.

NoNeNaMe

Member
Mar 31, 2023
1
0
6
Hi.

So, I messed up my LXCs and VMs, and here’s what happened.

I decided to replace the Proxmox drive with a larger one because I was running out of space. I inserted the second drive, launched Clonezilla, selected the correct drive as both the source and destination (256-->512GB), unchecked the file system verification option (set to 200%), and started the cloning process. After a few dozen seconds, Clonezilla started displaying messages about a change to some non-standard blocks (?) (unfortunately, I don’t know exactly what this referred to), and at one point it looked like everything had stopped. I didn’t get to see the cloning progress; I rebooted the server, and after starting Proxmox, none of the LXCs or VMs will start—“local-lvm status unknown.” I can see my LXCs/VMs listed in the GUI, but I can’t start any of them.

Please help. I’d like to get my LXC and VMs running.

Below are the results of the commands I ran—maybe they’ll shed some light on the issue.

root@pve:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 1.8T 0 disk
+¦sda1 8:1 0 8G 0 part
+¦sda2 8:2 0 2G 0 part
L¦sda3 8:3 0 1.8T 0 part
sdb 8:16 0 10.9T 0 disk
+¦sdb1 8:17 0 8G 0 part
+¦sdb2 8:18 0 2G 0 part
L¦sdb3 8:19 0 10.9T 0 part
nvme0n1 259:0 0 238.5G 0 disk
+¦nvme0n1p1 259:1 0 1007K 0 part
+¦nvme0n1p2 259:2 0 1G 0 part
L¦nvme0n1p3 259:3 0 237.5G 0 part
+¦pve-swap 252:0 0 8G 0 lvm [SWAP]
+¦pve-root 252:1 0 69.4G 0 lvm /
L¦pve-data 252:2 0 1.4G 0 lvm
nvme1n1 259:4 0 476.9G 0 disk
+¦nvme1n1p1 259:5 0 1007K 0 part
+¦nvme1n1p2 259:6 0 1G 0 part /boot/efi
L¦nvme1n1p3 259:7 0 237.5G 0 part

root@pve:~# lvscan
ACTIVE '/dev/pve/swap' [8.00 GiB] inherit
ACTIVE '/dev/pve/root' [<69.37 GiB] inherit
ACTIVE '/dev/pve/data' [<1.44 GiB] inherit

root@pve:~# pvesm status
storage 'Media923p' is not online
storage 'Media923p2' is not online
Name Type Status Total Used Available %
Media923p nfs inactive 0 0 0 0.00%
Media923p2 nfs inactive 0 0 0 0.00%
local dir active 71017632 48979620 18384792 68.97%
local-lvm lvmthin inactive 0 0 0 0.00%

root@pve:~# lvs -a
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve -wi-a----- <1.44g
[lvol0_pmspare] pve ewi------- <1.44g
root pve -wi-ao---- <69.37g
swap pve -wi-ao---- 8.00g

Edit. All my LXCs and VMs were stored on local-lvm ;(
 
Last edited: