SAM requirements for ACA on unsupported logical unit?
Stephen.Byan at quantum.com
Mon Nov 15 12:18:19 PST 1999
* From the T10 Reflector (t10 at t10.org), posted by:
* Stephen Byan <Stephen.Byan at quantum.com>
I'm looking for some clarification on the SCSI-3 Architectural Model (SAM)
requirements on auto contingent allegiance behavior for unsupported logical
units. As I read the standard, it calls for:
1) BUSY, RESERVATION CONFLICT, ACA ACTIVE, or TASK SET FULL take precedence
over other status conditions. (clause 5.2)
2) a command returning CHECK CONDITION status causes an auto contingent
allegiance (ACA) condition. (clause 5.6.1)
3) if a faulting command has the NACA bit set, the ACA condition is only
cleared by a power on, hard reset, or CLEAR ACA task management function.
4) a target shall respond to a command other than INQUIRY or REQUEST SENSE
to an unsupported logical unit by returning CHECK CONDITION. (clause 5.6.3,
Taken together, these imply that an auto contingent allegiance condition
shall exist for the addressed logical unit after a target receives a command
addressed to an unsupported logical unit.
I haven't read SAM-2 in detail, but it seems to have the same wording, so I
think it has the same problem.
I'm assuming the correct thing to do is to not establish an ACA, and to
simply follow the rules in clause 5.6.3. In other words, in the following
a) Initiator A sends READ command to unsupported logical unit X.
b) Initiator B sends READ command to unsupported logical unit X.
c) Initiator A sends REQUEST SENSE command to unsupported logical unit X.
initiator B should receive CHECK CONDITION status in step c), not ACA
and in this sequence:
a) Initiator A sends READ command with Normal ACA set to one to unsupported
logical unit X.
b) Initiator A sends READ command without ACA attribute to unsupported
logical unit X.
Note there is no intervening CLEAR ACA function between steps a) and b).
initiator A should receive CHECK CONDITION status in step b), not ACA
Have I missed something, or does the spec need clarification to state that
an ACA shall not be established for an unsupported or unattached logical
unit? (Or alternatively that CHECK CONDITION shall take precedence over
other status for unsupported or unattached logical units.)
Thanks in advance.
Steve Byan <stephen.byan at quantum.com>
Quantum Corporation <http://www.quantum.com>
333 South Street
Shrewsbury, MA 01545
voice: (508) 770-3414
fax: (508) 770-2604
* 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