Hi there.
I recently added new pair of server disks (hardware raid1). I've also created new LVM_Thin and moved boot-vd of my VM from my old LVM.
It worked like a charm for a few days. Just now I saw my VM in a boot-loop mode - "no bootable device".
In proxmox gui everything seemed to look just fine. After a PM reboot vdisks are listed on a new lvm-thin yet lvm usage is 0%! :/
My lvscan shows:
lsblk:
/etc/pve/storage.cfg
VM's start fail log:
VM conf file:
Raid controller shows no errors on all disks and raid volumes.
Help me out on this cause I litterally have no idea wtf :/ My main concern is to recover that 150GB vdisk.
PS. VM os = windows server 2016. I launched VM with OS install ISO and on a disk selection tab I can see 'missing' disks yet with "OFFLINE" status. Any ideas?
I recently added new pair of server disks (hardware raid1). I've also created new LVM_Thin and moved boot-vd of my VM from my old LVM.
It worked like a charm for a few days. Just now I saw my VM in a boot-loop mode - "no bootable device".
In proxmox gui everything seemed to look just fine. After a PM reboot vdisks are listed on a new lvm-thin yet lvm usage is 0%! :/
My lvscan shows:
Code:
***@ip:~# lvscan
inactive '/dev/raid1_2x1200GB/daneVM' [1.09 TiB] inherit
inactive '/dev/raid1_2x1200GB/vm-100-disk-1' [150.00 GiB] inherit
inactive '/dev/raid1_2x1200GB/vm-100-disk-2' [250.00 GiB] inherit
ACTIVE '/dev/pve/swap' [16.00 GiB] inherit
ACTIVE '/dev/pve/root' [20.00 GiB] inherit
ACTIVE '/dev/pve/data' [496.03 GiB] inherit
ACTIVE '/dev/pve/vm-100-disk-2' [400.00 GiB] inherit
lsblk:
Code:
***@ip:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 558.4G 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 256M 0 part /boot/efi
└─sda3 8:3 0 558.2G 0 part
├─pve-swap 253:0 0 16G 0 lvm [SWAP]
├─pve-root 253:1 0 20G 0 lvm /
├─pve-data_tmeta 253:2 0 5.1G 0 lvm
│ └─pve-data-tpool 253:4 0 496G 0 lvm
│ ├─pve-data 253:5 0 496G 0 lvm
│ └─pve-vm--100--disk--2 253:6 0 400G 0 lvm
└─pve-data_tdata 253:3 0 496G 0 lvm
└─pve-data-tpool 253:4 0 496G 0 lvm
├─pve-data 253:5 0 496G 0 lvm
└─pve-vm--100--disk--2 253:6 0 400G 0 lvm
sdb 8:16 0 1.1T 0 disk
└─sdb1 8:17 0 1.1T 0 part
sr0 11:0 1 1024M 0 rom
/etc/pve/storage.cfg
Code:
dir: local
path /var/lib/vz
content vztmpl,backup,iso
lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images
dir: backup
path /mnt/USB
content vztmpl,backup,iso
maxfiles 5
shared 0
cifs: WDcloud
path /mnt/pve/WDcloud
server 10.20.30.244
share PROXMOX
content backup,iso,images
maxfiles 3
username backuppm
lvmthin: daneVM2
thinpool daneVM
vgname raid1_2x1200GB
content images,rootdir
Code:
****@ip:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.7G 0 7.7G 0% /dev
tmpfs 1.6G 8.9M 1.6G 1% /run
/dev/mapper/pve-root 20G 8.2G 11G 44% /
tmpfs 7.8G 43M 7.7G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/sda2 253M 288K 252M 1% /boot/efi
/dev/fuse 30M 20K 30M 1% /etc/pve
//*.*.*.*/PROXMOX 1.8T 781G 1.1T 43% /mnt/pve/WDcloud
tmpfs 1.6G 0 1.6G 0% /run/user/0
VM's start fail log:
Code:
Virtual Environment 5.2-1
Search
Node 'ip'
Server View
Logs
()
kvm: -drive file=/dev/raid1_2x1200GB/vm-100-disk-1,if=none,id=drive-scsi0,format=raw,cache=none,aio=native,detect-zeroes=on: Could not open '/dev/raid1_2x1200GB/vm-100-disk-1': No such file or directory
TASK ERROR: start failed: command '/usr/bin/kvm -id 100 -name Win2016 -chardev 'socket,id=qmp,path=/var/run/qemu-server/100.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -pidfile /var/run/qemu-server/100.pid -daemonize -smbios 'type=1,uuid=667db880-be40-45e5-8ed0-5107a99962bb' -smp '4,sockets=1,cores=4,maxcpus=4' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga std -vnc unix:/var/run/qemu-server/100.vnc,x509,password -no-hpet -cpu 'kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,enforce' -m 14336 -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -chardev 'socket,path=/var/run/qemu-server/100.qga,server,nowait,id=qga0' -device 'virtio-serial,id=qga0,bus=pci.0,addr=0x8' -device 'virtserialport,chardev=qga0,name=org.qemu.guest_agent.0' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:33eb8940d3c1' -drive 'file=/var/lib/vz/template/iso/virtio-win-0.1.141.iso,if=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -device 'virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5' -drive 'file=/dev/raid1_2x1200GB/vm-100-disk-1,if=none,id=drive-scsi0,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100' -drive 'file=/dev/raid1_2x1200GB/vm-100-disk-2,if=none,id=drive-scsi1,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=1,drive=drive-scsi1,id=scsi1' -drive 'file=/mnt/pve/WDcloud/images/100/vm-100-disk-1.raw,if=none,id=drive-scsi2,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=2,drive=drive-scsi2,id=scsi2' -drive 'file=/dev/pve/vm-100-disk-2,if=none,id=drive-virtio1,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'virtio-blk-pci,drive=drive-virtio1,id=virtio1,bus=pci.0,addr=0xb' -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=0E:72:29:84:B4:D6,netdev=net0,bus=pci.0,addr=0x12,id=net0' -rtc 'driftfix=slew,base=localtime' -global 'kvm-pit.lost_tick_policy=discard'' failed: exit code 1
VM conf file:
Code:
/etc/pve/nodes/ip/qemu-server/100.conf
agent: 1
balloon: 8132
boot: cd
bootdisk: scsi0
cores: 4
ide2: local:iso/virtio-win-0.1.141.iso,media=cdrom,size=309208K
memory: 14336
name: Win2016
net0: virtio=0E:72:29:84:B4:D6,bridge=vmbr1
numa: 0
ostype: win10
scsi0: daneVM2:vm-100-disk-1,size=150G
scsi1: daneVM2:vm-100-disk-2,backup=0,size=250G
scsi2: WDcloud:100/vm-100-disk-1.raw,backup=0,size=100G
scsihw: virtio-scsi-pci
smbios1: uuid=667db880-be40-45e5-8ed0-5107a99962bb
sockets: 1
virtio1: local-lvm:vm-100-disk-2,backup=0,size=400G
Raid controller shows no errors on all disks and raid volumes.
Help me out on this cause I litterally have no idea wtf :/ My main concern is to recover that 150GB vdisk.
PS. VM os = windows server 2016. I launched VM with OS install ISO and on a disk selection tab I can see 'missing' disks yet with "OFFLINE" status. Any ideas?
Last edited: