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

  • 88h = SCSI ports page

  • C8h = Vendor Specific Device Capabilities Page (Bridged HP LTO-6 Tape Drive)

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:

  • 0 = no inquiry data will be transferred. This is not considered an error.

  • 24h = Standard Inquiry Data Length (IBM Bridged Tape Drive)

  • 4Ah = Standard Inquiry Data Length (HP Bridged Tape Drive)

  • 08h = Supported Pages Length

  • 09h = Supported Pages Length (HP LTO-6 Bridged Tape Drive)

  • 16h = Unit Serial Number Page Length

  • 3Eh = Device Identification Page Length (IBM Bridged Tape Drive)

  • 46h = Device Identification Page Length (HP Bridged Tape Drive)

  • 34h = SCSI Ports Page Length

  • 08h = Vendor Specific Device Capabilities Page Length (HP LTO-6 Bridged Tape Drive

Standard Inquiry Data Definition

Figure 2-4 Standard Inquiry Data Definition - HP Bridged

Description of Figure 2-4 follows
Description of "Figure 2-4 Standard Inquiry Data Definition - HP Bridged"

Figure 2-5 Standard Inquiry Data Definition - IBM Bridged

Description of Figure 2-5 follows
Description of "Figure 2-5 Standard Inquiry Data Definition - IBM Bridged"
Peripheral Qualifier

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

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

1Fh = The library has 31 additional bytes of Standard Inquiry Data available to the initiator.

45h = The library has 69 additional bytes of Standard Inquiry Data available to the initiator. This value is returned if the Allocation Length in the CDB is 36 bytes or larger.

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)

01b = Implicit asymmetric logical unit access is supported. The SCSI target device is capable of changing target port asymmetric access states without a SET TARGET PORT GROUPS command. The REPORT TARGET PORT GROUPS command is supported and the SET TARGET PORT GROUPS command is not supported.

3PC (Third-Party Commands - not supported)

The library returns 0.

Protect (Information Protection - not supported)

The library returns 0.

VS (Vendor Specific)

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

MultiP

0 = There are no multiple target ports.

1 = The library has multiple target ports.

MChngr

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

ADDR16

The library returns 0.

WBUS16

The library returns 0.

SYNC

The library returns 0.

LINKED (Linked commands - not supported)

The library returns 0.

CmdQue (Command Queuing)

0 = the library does not support command queuing

1 = the library supports command queuing

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 “SL150" followed by blanks.

Product Revision Level

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

Version Descriptors

The bridged drive returns up to eight Version Descriptors that are used to identify up to eight standards to which the drive conforms.

Supported Pages

Peripheral Qualifier

See "Peripheral Qualifier".

Peripheral Device Type

See "Peripheral Device Type".

Page Code

00h = The vital page

Additional Page Length

4h = The library has 4 additional bytes of Supported Pages Inquiry data available to the initiator

5h = The bridged drive is an HP LTO-6 drive. The library has 5 additional bytes of Supported Pages Inquiry data available to the initiator

Supported pages

80h = Unit serial number page

83h = Device identification page

88h = SCSI ports page

C8h = Vendor Specific Device Capabilities Page (Bridged HP LTO-6 Tape Drive)

Unit Serial Number Page

Peripheral Qualifier

See "Peripheral Qualifier".

Peripheral Device Type

See "Peripheral Device Type".

Page Code

80h = The unit serial number page.

Additional Page Length

12h = 18 bytes of unit serial number data.

Unit Serial Number

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

  • 464970G+1221XX0005

Where XX indicates the library partition identifier (such as P1 for partition 1). For nonpartitioned libraries, XX is 00.

Device Identification Page

Figure 2-6 Device Identification Page - HP Bridged

Description of Figure 2-6 follows
Description of "Figure 2-6 Device Identification Page - HP Bridged"

Figure 2-7 Device Identification Page - IBM Bridged

Description of Figure 2-7 follows
Description of "Figure 2-7 Device Identification Page - IBM Bridged"
Peripheral Qualifier

See "Peripheral Qualifier".

Peripheral Device Type

See "Peripheral Device Type".

Additional Page Length

42h = 66d additional bytes of Device ID Inquiry Data available to the initiator.

Protocol Identifier

0h = FC protocol

6h = Serial Attached SCSI

Code Set

1h = Binary values

2h = ACSII printable characters

Identifier Type

1h = Contains T10 Vendor ID data

3h = Contains a 64-bit IEEE formatted address

4h = Contains the Relative Target Port Identifier

Identifier Length

04h = 4-bytes long for Relative Port Identifier

08h = 8-bytes long for Node Name Identifier

2Ah = Length for T10 Vendor ID data

PIV (Protocol Identifier Valid)

0 = The protocol identifier contents are reserved

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

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

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 “SL150" followed by blanks.

Unit Serial Number

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

  • 464970G+1221XX0005

Where XX indicates the library partition identifier (such as P1 for partition 1). For nonpartitioned libraries, XX is 00.

SCSI Ports Page

Peripheral Qualifier

See "Peripheral Qualifier".

Peripheral Device Type

See "Peripheral Device Type".

Additional Page Length

18h = 24d additional bytes of SCSI Ports Data available to the initiator.

30h = 48d additional bytes of SCSI Ports Data available to the initiator. This value is returned, if the drive has 2 SCSI ports and both SCSI ports are enabled

SCSI Port Identification Descriptor Data

Relative Port Identifier

1 = Port 1

2 = Port 2

Protocol Identifier

0 = Fibre Channel

6 = Serial Attached SCSI

Code Set

1 = Binary values

Association

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

PIV

1 = protocol identifier is valid

Port Name Identification

Contains the 64-bit IEEE formatted address for the Port Name.

Specific Device Capabilities Page (HP LTO6 Bridged Tape Drive Only)

Peripheral Qualifier

See "Peripheral Qualifier".

Peripheral Device Type

See "Peripheral Device Type".

Page Code

C8h = Identifies the page as the vendor specific device capabilities page.

Additional Page Length

14h = 4d bytes