can't start vm

shiblovich

New Member
Jan 6, 2022
8
0
1
27
hello ,
i can't start vm , i get error "TASK ERROR: no such logical volume pve/vm-100-disk-0 at /usr/share/perl5/PVE/Storage/LvmThinPlugin.pm line 219."
any one can support ,
thanks in advance .
 
thank you for fast reply
here is the output
#########################cat /etc/pve/qemu-server/100.conf##############################
bootdisk: scsi0
cores: 12
ide2: local:iso/kata-cn-3.7.0-713-inst.x86_64_en-ru.iso,media=cdrom
memory: 131072
name: newcn
net0: virtio=32:84:B1:C7:A1:B7,bridge=vmbr0,firewall=1
net1: e1000=3E:0F:0A:8E:AB:79,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
parent: before_first_update
scsihw: virtio-scsi-pci
smbios1: uuid=0ad1d692-fc7c-40f2-8bbe-c415cbdf8a2f
sockets: 1
unused0: local-lvm:vm-100-disk-0
vmgenid: c0120662-41fc-447d-b799-08b004d2bb5a

[before_first_update]
bootdisk: scsi0
cores: 12
ide2: local:iso/kata-cn-3.7.0-713-inst.x86_64_en-ru.iso,media=cdrom
memory: 131072
name: newcn
net0: virtio=32:84:B1:C7:A1:B7,bridge=vmbr0,firewall=1
net1: e1000=3E:0F:0A:8E:AB:79,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
runningcpu: kvm64,enforce,+kvm_pv_eoi,+kvm_pv_unhalt,+lahf_lm,+sep
runningmachine: pc-i440fx-6.1+pve0
scsi0: local-lvm:vm-100-disk-0,size=1000G
scsihw: virtio-scsi-pci
smbios1: uuid=0ad1d692-fc7c-40f2-8bbe-c415cbdf8a2f
snaptime: 1648045031
sockets: 1
vmgenid: 50920bac-c2e3-48cc-9006-e21848e4d103
vmstate: local-lvm:vm-100-state-before_first_update
root@proxmox2:~################ cat /etc/pve/storage.cfg#############################
dir: local
path /var/lib/vz
content vztmpl,backup,iso

lvmthin: local-lvm
thinpool data
vgname pve
content images,rootdir

dir: for-vms
path /mnt/pve/for-vms
content backup,iso,images,rootdir,vztmpl,snippets
is_mountpoint 1
nodes proxmox2

dir: my-local-vms
path /last-system
content backup,iso,images,rootdir,vztmpl,snippets
shared 0

pbs: hpe-storeonce
datastore backup_16Tb
server 192.168.1.119
content backup
fingerprint 45:7f:e3:96:77:c5:b5:62:4c:e8:fd:94:26:a5:b4:40:7f:8e:db:54:c9:aa:aa:88:06:6a:eb:b9:96:2e:64:cf
prune-backups keep-all=1
username root@pam


root@proxmox2:~# ########################### pvesm status###############################
Name Type Status Total Used Available %
for-vms dir active 3514497280 2052673816 1461823464 58.41%
hpe-storeonce pbs active 15624302592 9933297856 5691004736 63.58%
local dir active 98497780 6245884 87202348 6.34%
local-lvm lvmthin active 1599115264 982816241 616299022 61.46%
my-local-vms dir active 98497780 6245884 87202348 6.34%

root@proxmox2:~# ####################lvs#############################
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- <1.49t 61.46 3.16
data_meta0 pve -wi-a----- 15.56g
data_meta1 pve -wi-a----- 15.56g
root pve -wi-ao---- 96.00g
snap_vm-100-disk-0_before_first_update pve Vri---tz-k 1000.00g data
swap pve -wi-ao---- 8.00g
vm-100-state-before_first_update pve Vwi-a-tz-- <256.49g data 48.69

root@proxmox2:~# ############pveversion###################

pve-manager/7.1-4/ca457116 (running kernel: 5.13.19-1-pve)
root@proxmox2:~#
 
your lvs output shows that volume local-lvm:vm-100-disk-0 doesnt exist on proxmox2 host.

I cant say what happened to it...
is it "2" because there is a 1? if so is it a cluster? did you move the vm (that has local storage) between nodes in cluster?

good luck


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
thank you for your response
the case happened when i take sanpshot from this vm but it's failed ,
i don't know what should i do ?!
 

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!