TrueNAS Scale on Proxmox VM and iSCSI with directly connected driver error

Here is an easily reproducible error that happens on Proxmox (perhaps also TrueNAS Core iSCSI NAS) that doesn’t seem solvable. The errors do not stop anything from working but it’s still very annoying as it repeats during disk moves, sometimes many times  a second.:

Apr 28 02:00:19 hvX QEMU[3161]: kvm: iSCSI GET_LBA_STATUS failed at lba 2695168: SENSE KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
Apr 28 02:00:19 hvX QEMU[3161]: kvm: iSCSI GET_LBA_STATUS failed at lba 2703360: SENSE KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
Apr 28 02:00:19 hvX QEMU[3161]: kvm: iSCSI GET_LBA_STATUS failed at lba 2711552: SENSE KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
Apr 28 02:00:19 hvX QEMU[3161]: kvm: iSCSI GET_LBA_STATUS failed at lba 2719744: SENSE KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
Apr 28 02:00:19 hvX QEMU[3161]: kvm: iSCSI GET_LBA_STATUS failed at lba 2727936: SENSE KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
Apr 28 02:00:19 hvX QEMU[3161]: kvm: iSCSI GET_LBA_STATUS failed at lba 2736128: SENSE KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
Apr 28 02:00:19 hvX QEMU[3161]: kvm: iSCSI GET_LBA_STATUS failed at lba 2744320: SENSE KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
Apr 28 02:00:19 hvX QEMU[3161]: kvm: iSCSI GET_LBA_STATUS failed at lba 2752512: SENSE KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)

The message only appears when there is heavy load on the NAS but I’ve seen it during normal moves as well. Please comment if you have any advice.

Mentioned here:

https://forum.proxmox.com/threads/proxmox-ve-and-zfs-over-iscsi-on-truenas-scale-my-steps-to-make-it-work.125387/

and here:

https://forum.proxmox.com/threads/zfs-over-iscsi-w-truenas-scale-difficult-troubleshooting.140168/

After a few years I revisited this article and it seems there is at least one person in the world that truly understand the error. From Vladislav:

Hi,

SCST does not implement GET LBA STATUS, because there is no known way to get this info
from the block layer. Since GET LBA STATUS command is subcommand of SERVICE ACTION IN
(16) multiplexing command, INVALID_FIELD_IN_CDB pointing to the SERVICE ACTION field in
the CDB supposed to specify that GET LBA STATUS subcommand is not supported.

Looks like KVM/QEMU does not obey this SCSI provision and confused by receiving
INVALID_FIELD_IN_CDB response.

Vlad

https://sourceforge.net/p/scst/mailman/message/35242474/

Vlad, if you’re out there, where does one go to fix this annoying problem? Or turn it off?

Original lead about “Blind Man”:

https://forum.proxmox.com/threads/proxmox-ve-and-zfs-over-iscsi-on-truenas-scale-my-steps-to-make-it-work.125387/

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *