I have a FreeBSD 10 server setup, with a 300G iSCSI target backed by a
zVOL device. With a windows 8.1 Workstation as the initiator connected
to it. I am trying to use it to store VMware Workstation Virtual
Machines. However I am having all kinds of crashes of Virtual Machines
and file corruption with it. I have found these errors on the Server, I
setup a Virtual Machine on the workstations local disk, and have had no
problems.
Jan 20 13:19:47 webmail kernel: (0:2:0:0): INQUIRY. CDB: 12 01 b1 00 ff
00
Jan 20 13:19:47 webmail kernel: (0:2:0:0): Tag: 0xdf020000, Type: 0
Jan 20 13:19:47 webmail kernel: (0:2:0:0): CTL Status: SCSI Error
Jan 20 13:19:47 webmail kernel: (0:2:0:0): SCSI Status: Check Condition
Jan 20 13:19:47 webmail kernel: (0:2:0:0): SCSI sense: ILLEGAL REQUEST
asc:24,0 (Invalid field in CDB)
Jan 20 13:19:47 webmail kernel: (0:2:0:0): Command byte 2 is invalid
I am fairly new to using iSCSI on FreeBSD as a target I have ran it as
initiator connecting to our Lefthand Networks SAN at work, but of course
that was with the older iSCSI prior to 10. I am kind of clueless on how
to go about trouble shooting this issue. Perhaps I did something stupid
when I setup the configuration, which is shown below.
auth-group Workstation {
chap iqn.1991-05.com.microsoft:workstation.dweimer.local *****
}
portal-group WorkstationISCSI {
discovery-auth-group Workstation
listen 0.0.0.0
listen [::]
}
target iqn.2012-06.com.webmail:WorkstationDriveD {
auth-group Workstation
portal-group WorkstationISCSI
lun 0 {
path /dev/zvol/iscsi/WorkstationDriveD.0
blocksize 4k
}
}
--
Thanks,
Dean E. Weimer
http://www.dweimer.net/
Edward Tomasz NapieraĆa
2014-Jan-20 23:43 UTC
FreeBSD 10 iSCSI Target Windows 8.1 Initiator
Wiadomo?? napisana przez dweimer w dniu 20 sty 2014, o godz. 21:20:> I have a FreeBSD 10 server setup, with a 300G iSCSI target backed by a zVOL device. With a windows 8.1 Workstation as the initiator connected to it. I am trying to use it to store VMware Workstation Virtual Machines. However I am having all kinds of crashes of Virtual Machines and file corruption with it. I have found these errors on the Server, I setup a Virtual Machine on the workstations local disk, and have had no problems. > > Jan 20 13:19:47 webmail kernel: (0:2:0:0): INQUIRY. CDB: 12 01 b1 00 ff 00 > Jan 20 13:19:47 webmail kernel: (0:2:0:0): Tag: 0xdf020000, Type: 0 > Jan 20 13:19:47 webmail kernel: (0:2:0:0): CTL Status: SCSI Error > Jan 20 13:19:47 webmail kernel: (0:2:0:0): SCSI Status: Check Condition > Jan 20 13:19:47 webmail kernel: (0:2:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB) > Jan 20 13:19:47 webmail kernel: (0:2:0:0): Command byte 2 is invalidThis is normal. It's basically that CTL doesn't implement some optional SCSI stuff.> I am fairly new to using iSCSI on FreeBSD as a target I have ran it as initiator connecting to our Lefthand Networks SAN at work, but of course that was with the older iSCSI prior to 10. I am kind of clueless on how to go about trouble shooting this issue. Perhaps I did something stupid when I setup the configuration, which is shown below.First, can you take a look at logs at both sides? Is there anything unusual? Second, could you try to remove "blocksize 4k"? I've seen some strange behaviour with 4k blocks under ESX. -- If you cut off my head, what would I say? Me and my head, or me and my body?