Dell PowerVault TL2000 SCSI Reference Guide - Page 81

Report, Supported, Operation, Codes

Page 81 highlights

REPORT SUPPORTED OPERATION CODES (A3h) The REPORT SUPPORTED OPERATION CODES command requests information on commands the addressed logical unit supports. An application client may request a list of all operation codes and service actions supported by the media changer. Bit 7 Byte 0 1 2 3 4 (MSB) 5 6 (MSB) 7 8 9 10 11 6 5 4 3 2 1 0 LUN Operation Code (A3) Service Action (0Ch) Reserved Reporting Options Requested Operation Code Requested Service Action (LSB) Allocation Length Reserved Control (LSB) Field descriptions: Reporting Options : The Reporting Options field specifies the information to be returned in the parameter data. Reporting Option 000b 001b 010b 011b Description A list of all operation codes and service actions supported by the logical unit shall be returned in the all_commands parameter data format. The Requested Operation Code Cdb field and Requested Service Action Cdb field shall be ignored. The command support data for the operation code specified in the Requested Operation Code field shall be returned in the one_command parameter data format. The Requested Service Action Cdb field shall be ignored. If the Requested Operation Code field specifies an operation code that has service actions, then the command shall be terminated with CHECK CONDITION status, with the sense key set to ILLEGAL REQUEST, and the additional sense code set to INVALID FIELD IN CDB. The command support data for the operation code and service action specified in the Requested Operation Code Cdb field and Requested Service Action Cdb field shall be returned in the one_command parameter data format. If the Requested Operation Code Cdb field specifies an operation code that does not have service actions, then the command shall be terminated with CHECK CONDITION status, with the sense key set to ILLEGAL REQUEST, and the additional sense code set to INVALID FIELD IN CDB. Reserved Requested Operation Code: The Requested Operation Code field specifies the operation code of the command to be returned in the one_command parameter data format. Requested Service Action: The Requested Service Action field specifies the service action of the command to be returned in the one_command parameter data format. Chapter 3. Supported SCSI Commands 3-67

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116

REPORT
SUPPORTED
OPERATION
CODES
(A3h)
The
REPORT
SUPPORTED
OPERATION
CODES
command
requests
information
on
commands
the
addressed
logical
unit
supports.
An
application
client
may
request
a
list
of
all
operation
codes
and
service
actions
supported
by
the
media
changer.
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation
Code
(A3)
1
LUN
Service
Action
(0Ch)
2
Reserved
Reporting
Options
3
Requested
Operation
Code
4
(MSB)
Requested
Service
Action
5
(LSB)
6
(MSB)
7
Allocation
Length
8
9
(LSB)
10
Reserved
11
Control
Field
descriptions:
Reporting
Options
:
The
Reporting
Options
field
specifies
the
information
to
be
returned
in
the
parameter
data.
Reporting
Option
Description
000b
A
list
of
all
operation
codes
and
service
actions
supported
by
the
logical
unit
shall
be
returned
in
the
all_commands
parameter
data
format.
The
Requested
Operation
Code
Cdb
field
and
Requested
Service
Action
Cdb
field
shall
be
ignored.
001b
The
command
support
data
for
the
operation
code
specified
in
the
Requested
Operation
Code
field
shall
be
returned
in
the
one_command
parameter
data
format.
The
Requested
Service
Action
Cdb
field
shall
be
ignored.
If
the
Requested
Operation
Code
field
specifies
an
operation
code
that
has
service
actions,
then
the
command
shall
be
terminated
with
CHECK
CONDITION
status,
with
the
sense
key
set
to
ILLEGAL
REQUEST,
and
the
additional
sense
code
set
to
INVALID
FIELD
IN
CDB.
010b
The
command
support
data
for
the
operation
code
and
service
action
specified
in
the
Requested
Operation
Code
Cdb
field
and
Requested
Service
Action
Cdb
field
shall
be
returned
in
the
one_command
parameter
data
format.
If
the
Requested
Operation
Code
Cdb
field
specifies
an
operation
code
that
does
not
have
service
actions,
then
the
command
shall
be
terminated
with
CHECK
CONDITION
status,
with
the
sense
key
set
to
ILLEGAL
REQUEST,
and
the
additional
sense
code
set
to
INVALID
FIELD
IN
CDB.
011b
Reserved
Requested
Operation
Code:
The
Requested
Operation
Code
field
specifies
the
operation
code
of
the
command
to
be
returned
in
the
one_command
parameter
data
format.
Requested
Service
Action:
The
Requested
Service
Action
field
specifies
the
service
action
of
the
command
to
be
returned
in
the
one_command
parameter
data
format.
Chapter
3.
Supported
SCSI
Commands
3-67