scsi virtio_scsi cannot boot

mir

Famous Member
Apr 14, 2012
3,570
132
133
Copenhagen, Denmark
Using scsi for disk and VIRTIO for scsi bus and VM cannot boot when disk is attached through iSCSI. If attached through NFS and Qcow2 it works.

Error message from boot:
sd 2:0:0:0 rejecting I/O to offline device
sd 2:0:0:0 [sda] Attached SCSI disk

Kernel in proxmox: proxmox-ve-2.6.32: 3.3-139 (running kernel: 2.6.32-34-pve)
Kernel in VM: linux-image-3.16.0-4-amd64 (3.16.7-ckt4-3)
 
I have tried with latest seabios (1.7.5.2). Same error.
I have tried with Debian Testing which have virtio_scsi as part of the installer. Same error.

Conclusion: Seabios does not present iSCSI devices over virtio_scsi. Epic fail!