KVM does not boot after Kernelupdate 4.13.4.1

Update: I rebooted and my KVM can't boot anymore:
kvm: -drive file=/dev/zvol/rpool/data/vm-250-disk-1,if=none,id=drive-scsi0,discard=on,format=raw,cache=none,aio=native,detect-zeroes=unmap: Could not open '/dev/zvol/rpool/data/vm-250-disk-1': No such file or directory

Code:
sudo zpool list

NAME    SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
rpool   232G  74.8G   157G         -    38%    32%  1.00x  ONLINE  -
tank   2.72T  1.20T  1.52T         -    17%    44%  1.00x  ONLINE  -

The folder "/dev/zvol" is missing


edit: this appears every 3 minutes in the syslog:
Code:
Oct 27 12:31:31 pve systemd[1]: dev-zvol-rpool-swap.device: Job dev-zvol-rpool-swap.device/start timed out.
Oct 27 12:31:31 pve systemd[1]: Timed out waiting for device dev-zvol-rpool-swap.device.
Oct 27 12:31:31 pve systemd[1]: Dependency failed for /dev/zvol/rpool/swap.
Oct 27 12:31:31 pve systemd[1]: dev-zvol-rpool-swap.swap: Job dev-zvol-rpool-swap.swap/start failed with result 'dependency'.
Oct 27 12:31:31 pve systemd[1]: dev-zvol-rpool-swap.device: Job dev-zvol-rpool-swap.device/start failed with result 'timeout'.
 
Last edited:
please post a full journal of the boot..

the zvol symlink is generated by udev via "/lib/udev/rules.d/60-zvol.rules" which calls "/lib/udev/zvol_id", so please verify that those two files exist.
 
Another reboot didn't help. And it takes now some time to boot up...

Edit: Swap is missing as well....
 
Last edited:
This I'll get when I create a new VM:

Code:
kvm: -drive file=/tank/Backup/images/100/vm-100-disk-1.qcow2,if=none,id=drive-scsi0,discard=on,format=qcow2,cache=none,aio=native,detect-zeroes=unmap: file system may not support O_DIRECT
kvm: -drive file=/tank/Backup/images/100/vm-100-disk-1.qcow2,if=none,id=drive-scsi0,discard=on,format=qcow2,cache=none,aio=native,detect-zeroes=unmap: Could not open '/tank/Backup/images/100/vm-100-disk-1.qcow2': Invalid argument
TASK ERROR: start failed: command '/usr/bin/kvm -id 100 -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=80b12ed0-725e-4199-b10b-c11fa5513c5a' -name test -smp '8,sockets=1,cores=8,maxcpus=8' -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 -cpu kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 2048 -object 'memory-backend-ram,id=ram-node0,size=2048M' -numa 'node,nodeid=0,cpus=0-7,memdev=ram-node0' -k de -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' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:585db126e16d' -drive 'file=/tank/iso/template/iso/kali-linux-2017.2-amd64.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=/tank/Backup/images/100/vm-100-disk-1.qcow2,if=none,id=drive-scsi0,discard=on,format=qcow2,cache=none,aio=native,detect-zeroes=unmap' -device 'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100' -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=3A:D5:04:53:AE:35,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'' failed: exit code 1
 
"journalctl -b"
 
I confirm this issue

Fix: hold some packages
Code:
#aptitude versions `aptitude -v search ~ahold | cut -d ' '  -f 2`
Package libzfs2linux:                            
ph  0.6.5.9-5                                                                                                               stable                                                                                              500
ph  0.6.5.9-pve16~bpo90                                                                                                     stable                                                                                              500
ph  0.6.5.11-pve17~bpo90                                                                                                    stable                                                                                              500
ih  0.6.5.11-pve18~bpo90                                                                                                    stable                                                                                              500
ph  0.7.2-pve1~bpo90                                                                                                        stable                                                                                              500

Package libzpool2linux:
ph  0.6.5.9-5                                                                                                               stable                                                                                              500
ph  0.6.5.9-pve16~bpo90                                                                                                     stable                                                                                              500
ph  0.6.5.11-pve17~bpo90                                                                                                    stable                                                                                              500
ih  0.6.5.11-pve18~bpo90                                                                                                    stable                                                                                              500
ph  0.7.2-pve1~bpo90                                                                                                        stable                                                                                              500

Package proxmox-ve:
ph  5.0-2                                                                                                                   stable                                                                                              500
ph  5.0-5                                                                                                                   stable                                                                                              500
ph  5.0-6                                                                                                                   stable                                                                                              500
ph  5.0-7                                                                                                                   stable                                                                                              500
ph  5.0-9                                                                                                                   stable                                                                                              500
ph  5.0-12                                                                                                                  stable                                                                                              500
ph  5.0-15                                                                                                                  stable                                                                                              500
ph  5.0-16                                                                                                                  stable                                                                                              500
ph  5.0-18                                                                                                                  stable                                                                                              500
ph  5.0-19                                                                                                                  stable                                                                                              500
ph  5.0-20                                                                                                                  stable                                                                                              500
ph  5.0-21                                                                                                                  stable                                                                                              500
ph  5.0-22                                                                                                                  stable                                                                                              500
ph  5.0-23                                                                                                                  stable                                                                                              500
ih  5.0-24                                                                                                                  stable                                                                                              500
ph  5.0-25                                                                                                                  stable                                                                                              500
ph  5.1-25                                                                                                                  stable                                                                                              500

Package zfsutils-linux:
ph  0.6.5.9-5                                                                                                               stable                                                                                              500
ph  0.6.5.9-pve16~bpo90                                                                                                     stable                                                                                              500
ph  0.6.5.11-pve17~bpo90                                                                                                    stable                                                                                              500
ih  0.6.5.11-pve18~bpo90                                                                                                    stable                                                                                              500
ph  0.7.2-pve1~bpo90                                                                                                        stable                                                                                              500