UPDATE: I got it to work by setting the ASync IO settings from the default (io_uring) to native
I followed this guide to add a phsyical hard drive to my VM (running Alpine linux) by running this command
The disk attaches successfully while the VM is running, and I can mount and read from the disk in the VM.
However, when I restart the VM, it hangs on startup, and doesn't show any of the usual Alpine start up logs in the console, just a flicking cursor. If I kill the VM using this command
and remove the attached disk, then I can restart the VM fine.
It's worth noting that the disk is a hard drive connected to this dual hard drive docking station via USB.
I followed this guide to add a phsyical hard drive to my VM (running Alpine linux) by running this command
Code:
qm set 102 -scsi1 /dev/disk/by-id/usb-WDC_WD30_PURX-64P6ZY0_0123456789000000001-0:0
The disk attaches successfully while the VM is running, and I can mount and read from the disk in the VM.
However, when I restart the VM, it hangs on startup, and doesn't show any of the usual Alpine start up logs in the console, just a flicking cursor. If I kill the VM using this command
Code:
rm -f /var/lock/qemu-server/lock-102.conf && qm stop 102 --skiplock
and remove the attached disk, then I can restart the VM fine.
It's worth noting that the disk is a hard drive connected to this dual hard drive docking station via USB.
Last edited: