On 02/05/2016 01:09 PM, RenShu Xiao wrote: > We are using Microsoft wintarget server. > > In the T10/1683-D SAM-4 > > 5.11 Incorrect logical unit > The SCSI target device's response to a command addressed to an incorrect > logical unit number is described in this subclause. > In response to a REQUEST SENSE command, a REPORT LUNS command, or an > INQUIRY command the SCSI target device shall respond as defined in > SPC-4. Any command except REQUEST SENSE, REPORT LUNS, or INQUIRY:
In your trace INQUIRY is what is failing, so this chunk of SAM says the target should not be failing a INQUIRY with the a illegal request. Did you check out SPC-4's INQUIRY info like it says in the part of the spec you quoted? It says the target should return success for the command and set the PQ/PQT bits. You will have to contact Microsoft. They most likely have a fix for this already. > a) shall be terminated with CHECK CONDITION status, with the sense key > set to ILLEGAL REQUEST, and with the additional sense code set to > LOGICAL UNIT NOT SUPPORTED, if: A) the SCSI target device is not capable > of supporting the logical unit (e.g., some SCSI target devices support > only one peripheral device); or B) the SCSI target device supports the > logical unit, but the peripheral device is not currently connected to > the SCSI target device; or b) is responded to in a vendor specific > manner, if: A) the SCSI target device supports the logical unit and the > peripheral device is connected, but the peripheral device is not > operational; or B) the SCSI target device supports the logical unit but > is incapable of determining if the peripheral device is connected or is > not operational because the peripheral device is not ready. > > > > On Wednesday, February 3, 2016 at 11:11:46 AM UTC-8, RenShu Xiao wrote: > > Hi > > in the target server, I have 2 luns in one host and I removed LUN0 > and using iscsiadm log in fine but the disks won't be discovered. > Hence can't be mounted. > > The following listed the network trace. Target responded check > condition for LUN0 inquiry and expect report all from initiator. > > Do we miss something here? or is this a known issue of open-iscsi? > > Thanks, > > Frank > > > > > -- > You received this message because you are subscribed to the Google > Groups "open-iscsi" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/open-iscsi. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.
