Inquiry (12h)

Inquiry (12h) requests information about library parameters.

Note:

The Inquiry command returns Check Condition (02h) status only when it cannot return the requested data. This command will not clear any pending unit attention conditions.

CmdDt (Command Support Data - not supported)
Set this to 0.
EVPD (Enable vital product data)

0 = Requests standard inquiry data

1 = Requests vital support product data

Page Code

If EVPD is 0, set the page code to 00h.

If EVPD is 1, set the page code to:

  • 00h = Supported vital product page
  • 80h = Unit serial number page
  • 83h = Device identification page
Allocation Length

The library transfers either the number of bytes specified by the Allocation Length field or all of the available inquiry data, whichever is less. The page lengths are:

  • 38h (56d) bytes for standard inquiry data
  • 07h (7d) bytes for the supported vital product page
  • 10h (16d) bytes or 16h (22d) bytes for the unit serial number page
  • 2Ch (44d) bytes for the device identification page

Standard Inquiry Data Definition

Peripheral Qualifier

000b = The specified peripheral device type is currently connected to this logical unit.

001b = The device server can support the specified peripheral device type on this logical unit. However, the physical device is not currently connected to this logical unit. The library returns this value when either:

  • The redundant control paths (multi-port) hardware activation file is not installed, and the Inquiry command is received on a non-activated port.
  • Partitioning is enabled, and the host that issued this command does not have access to a partition. For more information, see Configuring SCSI Access in a Partitioned Library.

011b = The command was sent to an unsupported logical unit.

Peripheral Device Type

08h = The library is a medium changer device.

1Fh = The command was sent to an unsupported logical unit.

RMB (Removable Medium)

1 = The medium is removable.

Version

05h = The library complies with SCSI-3.

NACA (Normal Auto Contingent Allegiance - not supported)

0 = The library does not support setting NACA to one in the control byte of a CDB.

HiSup (Hierarchical Addressing Support)

1 = The library uses the hierarchical addressing module to identify logical units.

Response Data Format

2 = The data complies with the SCSI-3 specification.

Additional Length

33h = 51d bytes of remaining Standard Inquiry Data.

SCCS

0 = The library does not contain an embedded storage array controller component.

ACC (Access Control Coordinator)

0 = The library does not contain an ACC that may be addressed through this logical unit.

TPGS (Target Port Group Support)

1 = The library supports implicit asymmetric logical unit access. The library can change target port asymmetric access states without a Set Target Port Groups (which is an unsupported command). The library supports Report Target Port Groups (A3h).

3PC (Third-Party Commands - not supported)

The library returns 0.

Protect (Information Protection - not supported)

The library returns 0.

BQue (Basic Queuing - not supported)

The library returns 0.

VS (Vendor Specific)

0 = There is no vendor specific information with this command.

MultiP

1 = The library has multiple target ports.

MChngr

0 = The library is not embedded in or attached to a medium transport element.

LINKED (Linked commands - not supported)

The library returns 0.

CmdQue (Command Queuing - not supported)

The library returns 0.

SftRe (Soft Reset - not supported)

The library returns 0.

Vendor Identification

Contains the ASCII character sequence “STK" followed by blanks. If the specified logical unit is not supported, this field contains all blanks.

Product Identification

Contains the ASCII character sequence “SL4000" followed by blanks.

Product Revision Level

Contains an ASCII character sequence that represents the product revision level.

Error Conditions

The library returns Check Condition status for the Inquiry command only when a severe error occurs. To recover from a Check Condition status report on the Inquiry command, verify that the Inquiry CDB is correct and then retry the Inquiry command.

Supported Pages

Peripheral Qualifier

000b = The specified peripheral device type is currently connected to this logical unit.

001b = The device server can support the specified peripheral device type on this logical unit. However, the physical device is not currently connected to this logical unit. The library returns this value when either:

  • The redundant control paths (multi-port) hardware activation file is not installed, and the Inquiry command is received on a non-activated port.
  • Partitioning is enabled, and the host that issued this command does not have access to a partition. For more information, see Configuring SCSI Access in a Partitioned Library.

011b = The command was sent to an unsupported logical unit.

Peripheral Device Type

08h = The library is a medium changer device.

1Fh = The command was sent to an unsupported logical unit.

Page Code

00h = The vital page

Additional Page Length

03h (3d) bytes

Supported pages

00h = The first vital page is page 0 (current page)

80h = Unit Serial Number page

83h = Device Identification Page

Unit Serial Number Page

Peripheral Qualifier

000b = The specified peripheral device type is currently connected to this logical unit.

001b = The device server can support the specified peripheral device type on this logical unit. However, the physical device is not currently connected to this logical unit. The library returns this value when either:

  • The redundant control paths (multi-port) hardware activation file is not installed, and the Inquiry command is received on a non-activated port.
  • Partitioning is enabled, and the host that issued this command does not have access to a partition. For more information, see Configuring SCSI Access in a Partitioned Library.

011b = The command was sent to an unsupported logical unit.

Peripheral Device Type

08h = The library is a medium changer device.

1Fh = The command was sent to an unsupported logical unit.

Page Code

80h = The unit serial number page.

Additional Page Length

0Ch = 12 bytes of unit serial number data.

12h = 18 bytes of unit serial number data.

Unit Serial Number

Contains a unique ASCII Serial Number for the library. For example:

  • 571XX0000121 = 12 byte unit serial number
  • 464970G+1221XX0005 = 18 byte unit serial number

Where XX indicates the library partition identifier. For non-partitioned libraries, XX is 00.

Device Identification Page

Peripheral Qualifier

000b = The specified peripheral device type is currently connected to this logical unit.

001b = The device server can support the specified peripheral device type on this logical unit. However, the physical device is not currently connected to this logical unit. The library returns this value when either:

  • The redundant control paths (multi-port) hardware activation file is not installed, and the Inquiry command is received on a non-activated port.
  • Partitioning is enabled, and the host that issued this command does not have access to a partition. For more information, see Configuring SCSI Access in a Partitioned Library.

011b = The command was sent to an unsupported logical unit.

Peripheral Device Type

08h = The library is a medium changer device.

1Fh = The command was sent to an unsupported logical unit.

Protocol Identifier

0h = FC protocol.

Code Set

1 = Binary values

PIV (Protocol Identifier Valid)

1 = The protocol identifier is valid

Association

0 = The identifier field is associated with the addressed logical unit

1 = The identifier field is associated with the port that received the request

Identifier Type

3 = Contains a 64-bit IEEE formatted address

4 = Contains the Relative Target Port Identifier

5 = Contains the Target Port Group Identifier

Identifier Length

04h = 4-bytes long

08h = 8-bytes long

NAA IEEE Registered Identifier

An 8-byte identifier. The first 4 bits are the Name Address Authority — NAA (5h). The next 24 bits are the Oracle company ID (00 10 4Fh). The remaining bits are the vendor-specific identifier. The NAA IEEE Registered Identifier is unique for each library and Fibre Channel port.

Relative Target Port

01h = Port 1

02h = Port 2

03h = Port 3

04h = Port 4

Target Port Group

01h = Target Port Group 1

02h = Target Port Group 2