Access Controls - pending-enrolled state and REQUEST SENSE
Robert.Elliott at COMPAQ.com
Fri Jan 4 14:00:01 PST 2002
* From the T10 Reflector (t10 at t10.org), posted by:
* "Elliott, Robert" <Robert.Elliott at compaq.com>
This has been made into 01-026r0 and posted to the T10 web site.
> -----Original Message-----
> From: Elliott, Robert
> Sent: Wednesday, January 02, 2002 10:46 AM
> To: 't10 at t10.org'
> Subject: Access Controls - pending-enrolled state and REQUEST SENSE
> While a logical unit under Access Controls is in the pending-enrolled
> state, the rules in 01-268r2 (Access Controls rewrite) for accepting
> commands are:
> "a) INQUIRY, and REPORT LUNS commands shall be processed as if
> access controls were not present;
> b) All other commands shall be terminated with a CHECK CONDITION
> status, the sense key shall be set to ILLEGAL REQUEST and the
> additional sense code shall be set to ACCESS DENIED - INITIATOR
> This implies that REQUEST SENSE receives a CHECK CONDITION, which
> may not be desireable. I think REQUEST SENSE should result in
> GOOD status with a sense key of ILLEGAL REQUEST and an additional
> sense code of ACCESS DENIED - INITIATOR PENDING-ENROLLED.
> This is similar to how non-existent LUNs are handled (SAM-2
> section 5.8.3):
> "In response to an INQUIRY command the target shall return
> the INQUIRY
> data with the peripheral qualifier set to the value
> required in SPC-2.
> In response to a REQUEST SENSE command, the target shall
> return sense
> data. The sense key shall be set to ILLEGAL REQUEST and the
> sense code shall be set to LOGICAL UNIT NOT SUPPORTED.
> In response to any other command except REQUEST SENSE and
> INQUIRY, the
> target shall terminate the command with CHECK CONDITION
> status. Sense
> key and additional sense code shall be set to the values
> specified for
> the REQUEST SENSE command in item b);"
> Rob Elliott, Compaq Server Storage
> Robert.Elliott at compaq.com
* For T10 Reflector information, send a message with
* 'info t10' (no quotes) in the message body to majordomo at t10.org
More information about the T10