[PVE-User] Moving disk with ZFS over iSCSI = IO error

Daniel Berteaud daniel at firewall-services.com
Fri Sep 20 10:45:33 CEST 2019


----- Le 19 Sep 19, à 7:57, Daniel Berteaud <daniel at firewall-services.com> a écrit : 

> Forgot to mention. When moving a disk offline, from ZFS over iSCSI to something
> else (in my case to an NFS storage), I do have warnings like this :

> create full clone of drive scsi0 (zfs-test:vm-132-disk-0)
> Formatting '/mnt/pve/nfs-dumps/images/132/vm-132-disk-0.qcow2', fmt=qcow2
> size=53687091200 cluster_size=65536 preallocation=metadata lazy_refcounts=off
> refcount_bits=16
> transferred: 0 bytes remaining: 53687091200 bytes total: 53687091200 bytes
> progression: 0.00 %
> qemu-img: iSCSI GET_LBA_STATUS failed at lba 0: SENSE KEY:ILLEGAL_REQUEST(5)
> ASCQ:INVALID_FIELD_IN_CDB(0x2400)
> qemu-img: iSCSI GET_LBA_STATUS failed at lba 4194303: SENSE
> KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
> qemu-img: iSCSI GET_LBA_STATUS failed at lba 8388606: SENSE
> KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
> qemu-img: iSCSI GET_LBA_STATUS failed at lba 12582909: SENSE
> KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
> qemu-img: iSCSI GET_LBA_STATUS failed at lba 16777212: SENSE
> KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
> qemu-img: iSCSI GET_LBA_STATUS failed at lba 20971515: SENSE
> KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
> [...]
> qemu-img: iSCSI GET_LBA_STATUS failed at lba 83886060: SENSE
> KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
> qemu-img: iSCSI GET_LBA_STATUS failed at lba 88080363: SENSE
> KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
> qemu-img: iSCSI GET_LBA_STATUS failed at lba 92274666: SENSE
> KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
> qemu-img: iSCSI GET_LBA_STATUS failed at lba 96468969: SENSE
> KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
> qemu-img: iSCSI GET_LBA_STATUS failed at lba 100663272: SENSE
> KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
> qemu-img: iSCSI GET_LBA_STATUS failed at lba 104857575: SENSE
> KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
> qemu-img: iSCSI GET_LBA_STATUS failed at lba 0: SENSE KEY:ILLEGAL_REQUEST(5)
> ASCQ:INVALID_FIELD_IN_CDB(0x2400)
> transferred: 536870912 bytes remaining: 53150220288 bytes total: 53687091200
> bytes progression: 1.00 %
> transferred: 1079110533 bytes remaining: 52607980667 bytes total: 53687091200
> bytes progression: 2.01 %
> transferred: 1615981445 bytes remaining: 52071109755 bytes total: 53687091200
> bytes progression: 3.01 %
> qemu-img: iSCSI GET_LBA_STATUS failed at lba 4194303: SENSE
> KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
> transferred: 2158221066 bytes remaining: 51528870134 bytes total: 53687091200
> bytes progression: 4.02 %
> transferred: 2695091978 bytes remaining: 50991999222 bytes total: 53687091200
> bytes progression: 5.02 %
> transferred: 3231962890 bytes remaining: 50455128310 bytes total: 53687091200
> bytes progression: 6.02 %
> transferred: 3774202511 bytes remaining: 49912888689 bytes total: 53687091200
> bytes progression: 7.03 %
> qemu-img: iSCSI GET_LBA_STATUS failed at lba 8388606: SENSE
> KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
> transferred: 4311073423 bytes remaining: 49376017777 bytes total: 53687091200
> bytes progression: 8.03 %
> transferred: 4853313044 bytes remaining: 48833778156 bytes total: 53687091200
> bytes progression: 9.04 %
> transferred: 5390183956 bytes remaining: 48296907244 bytes total: 53687091200
> bytes progression: 10.04 %
> transferred: 5927054868 bytes remaining: 47760036332 bytes total: 53687091200
> bytes progression: 11.04 %
> Which might well be related to the problem (the same errors when the VM is
> running are reported back to the upper stacks, until the guest FS, which panics
> ?)
> When running offline, even with these error messages, the transfert is OK

Another case which might be related : [ https://forum.proxmox.com/threads/move-disk-to-a-different-iscsi-target-errors-warning.27313/ | https://forum.proxmox.com/threads/move-disk-to-a-different-iscsi-target-errors-warning.27313/ ] 

-- 

[ https://www.firewall-services.com/ ] 	
Daniel Berteaud 
FIREWALL-SERVICES SAS, La sécurité des réseaux 
Société de Services en Logiciels Libres 
Tél : +33.5 56 64 15 32 
Matrix: @dani:fws.fr 
[ https://www.firewall-services.com/ | https://www.firewall-services.com ] 



More information about the pve-user mailing list