On Wed, Sep 24, 2008 at 05:10:44PM -0500, Albert Chin wrote:
> On Wed, Sep 24, 2008 at 04:58:00PM -0500, Albert Chin wrote:
> > On Fri, Aug 01, 2008 at 01:20:36PM -0700, Nigel Smith wrote:
> > > Did it work or did you have problems?
> > 
> > [[ snip snip ]]
> >   (initiator) SCSI: Reserve(6) LUN: 0x00
> >      (target) SCSI Response (Check Condition) LUN: 0x00
> > 
> >     iSCSI (SCSI Response)
> >         ...
> >     SCSI: SNS Info
> >         [LUN: 0x0000]
> >         Valid: 0
> >         .111 0000 = SNS Error Type: Current Error (0x70)
> >         Filemark: 0, EOM: 0, ILI: 0
> >         .... 0101 = Sense Key: Illegal Request (0x05)
> >         Sense Info: 0x00000000
> >         Additional Sense Length: 0
> >         Command-Specific Information: 00000000
> >         Additional Sense Code+Qualifier: Invalid Command Operation Code 
> > (0x2000)
> >         Field Replaceable Unit Code: 0x00
> >         .. = SKSV: False
> >         Sense Key Specific: 000000
> 
> Does the Solaris iscsitgtd in b91 support the RESERVE/RELEASE commands?

Ok, it seems that the iscsitgtd from b91 doesn't support RESERVE(6) but
the latest does. However, in addition to the RESERVE(6) from AIX,
there's also a RESERVE(10) (opcode 0x56). According to lba_table in
usr/src/cmd/iscsi/iscsitgtd/t10_sbc.c, there is no support for this. Any
plans to add RESERVE(10) and RELEASE(10) support?

iSCSI (SCSI Command)
    Opcode: SCSI Command (0x01)
    .0.. .... = I: Queued delivery
    Flags: 0x81
        1... .... = F: Final PDU in sequence
        .0.. .... = R: No data will be read from target
        ..0. .... = W: No data will be written to target
        .... .001 = Attr: Simple (0x01)
    TotalAHSLength: 0x00
    DataSegmentLength: 0x00000000
    LUN: 0000000000000000
    InitiatorTaskTag: 0x00000002
    ExpectedDataTransferLength: 0x00000000
    CmdSN: 0x0bfffe0d
    ExpStatSN: 0x00000003
SCSI CDB Reserve(10)
    [LUN: 0x0000]
    [Command Set:Direct Access Device (0x00) (Using default commandset)]
    Opcode: Reserve(10) (0x56)
    Flags: 3rd Party ID = 0, LongID = 0
    Parameter Length: 0
    Vendor Unique = 0, NACA = 0, Link = 0

...
iSCSI (SCSI Response)
    Opcode: SCSI Response (0x21)
    Flags: 0x80
    Response: Command completed at target (0x00)
    Status: Check Condition (0x02)
    TotalAHSLength: 0x00
    DataSegmentLength: 0x00000016
    InitiatorTaskTag: 0x00000002
    StatSN: 0x00000003
    ExpCmdSN: 0x0bfffe0e
    MaxCmdSN: 0x0bfffe4c
    ExpDataSN: 0x00000000
    BidiReadResidualCount: 0x00000000
    ResidualCount: 0x00000000
    Request in: 17
    Time from request: 0.000098000 seconds
    SenseLength: 0x0014
SCSI: SNS Info
    [LUN: 0x0000]
    Valid: 0
    .111 0000 = SNS Error Type: Current Error (0x70)
    Filemark: 0, EOM: 0, ILI: 0
    Filemark: 0, EOM: 0, ILI: 0
    .... 0101 = Sense Key: Illegal Request (0x05)
    Sense Info: 0x00000000
    Additional Sense Length: 0
    Command-Specific Information: 00000000
    Additional Sense Code+Qualifier: Invalid Command Operation Code (0x2000)
    Field Replaceable Unit Code: 0x00
    .. = SKSV: False
    Sense Key Specific: 000000

-- 
albert chin ([EMAIL PROTECTED])
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to