SCSI Reference Guide - Oracle

[Pages:6]StorageTek SL150 Modular Tape Library

SCSI Reference Guide

E51473-10 January 2022

StorageTek SL150 Modular Tape Library SCSI Reference Guide,

E51473-10

Copyright ? 2015, 2022, Oracle and/or its affiliates.

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable:

U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are "commercial computer software" or "commercial computer software documentation" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, reproduction, duplication, release, display, disclosure, modification, preparation of derivative works, and/or adaptation of i) Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oracle computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the license contained in the applicable contract. The terms governing the U.S. Government's use of Oracle cloud services are defined by the applicable contract for such services. No other rights are granted to the U.S. Government.

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.

Oracle, Java, and MySQL are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc, and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.

This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle.

Contents

Preface

Documentation Accessibility

ix

Related Documents

ix

1 SCSI Operation and Configuration

SAS Implementation

1-1

FC Implementation

1-2

Running on Both Drive Ports

1-2

Logical Unit Number Addressing

1-3

Drive Element Addressing Mode Configuration

1-3

Multiple Initiator Support

1-4

Host Timeout Characteristics

1-4

Reservation Handling

1-4

Compatible Reservation Handling Bit

1-5

Reserve and Release Management Method Command Restrictions

1-5

Persistent Reservation Management Method Command Restrictions

1-6

SCSI Element Addressing

1-7

Behavior During LTO9 Tape Calibration

1-7

2 SCSI Commands

Command Descriptor Block (CDB) Structure

2-1

Control Byte Structure

2-2

Supported SCSI Command Status Byte Codes

2-3

Initialize Element Status (07h)

2-3

Initialize Element Status with Range (37h)

2-4

Inquiry (12h)

2-4

Standard Inquiry Data Definition

2-5

Supported Pages

2-8

Unit Serial Number Page

2-8

Device Identification Page

2-9

SCSI Ports Page

2-11

iii

SCSI Port Identification Descriptor Data Specific Device Capabilities Page (HP LTO6 Bridged Tape Drive Only) Log Sense (4Dh) Supported Pages Page Last n Errors Events Page Informational Exceptions TapeAlert Page TapeAlert Flags Mode Select 6-byte (15h) and Mode Select 10-byte (55h) Mode Select Parameter Header FC Disconnect/Reconnect Page SAS Disconnect/Reconnect Page Fibre Channel Logical Unit Page SAS Logical Unit Page Fibre Channel Port Control Page SAS Port Control Page SAS Phy Control and Discover Mode Subpage SAS Phy Mode Descriptor Data Information Exceptions TapeAlert Page Test Modes Element Address Assignment Mode Page Element Address Assignments Mode Sense 6-byte (1Ah) and Mode Sense 10-byte (5Ah) Mode Sense Parameter Header FC Disconnect/Reconnect Page SAS Disconnect/Reconnect Page FC Logical Unit Control Page SAS Logical Unit Page FC Port Control Page SAS Port Control Page SAS Phy Control and Discover Mode Subpage SAS Shared Control Mode Subpage SAS Enhanced Phy Control Subpage Enhanced Phy Control Mode Descriptor Data Phy Capabilities Data Informational Exceptions Tape Alert Control Page Element Address Assignment Page Transport Geometry Mode Page Device Capabilities Page Move Medium (A5h) Persistent Reserve In (5Eh) Read Keys Data

2-12 2-12 2-13 2-14 2-14 2-15 2-16 2-17 2-19 2-19 2-21 2-22 2-22 2-23 2-24 2-26 2-27 2-28 2-29 2-29 2-31 2-31 2-34 2-35 2-35 2-35 2-35 2-35 2-35 2-35 2-35 2-36 2-37 2-38 2-38 2-38 2-38 2-39 2-40 2-41 2-42

iv

Read Reservation Data Reservation Descriptor Report Capabilities Data Read Full Status Data

Full Status Descriptor Transport ID Data Persistent Reserve Out (5Fh) Persistent Reserve Out Parameter List Position to Element (2Bh) Prevent/Allow Medium Removal (1Eh) Read Element Status (B8h) Element Status Data Header Element Status Page Header Medium Transport Element Descriptor Storage Element Descriptor Import/Export Element Descriptor Data Transfer Element Descriptor (DvcID = 0) Data Transfer Element Descriptor (DvcID = 1) Element Descriptor Definitions Release 6-byte (17h) and Release 10-byte (57h) Report LUNs (A0h) Report LUNs Data Report Target Port Groups (A3h) Report Target Port Group Data Target Port Group Descriptor Data Target Port Descriptor Data Request Sense (03h) Request Sense Data Additional Sense Codes and Qualifiers Not Ready Sense Key (2h) Codes Medium Error (3h) Codes Hardware Error Sense Key (4h) Codes Illegal Request Sense Key (5h) Codes Unit Attention Sense Key (06h) Codes Aborted Command Sense Key (0Bh) Codes Request Volume Element Address (B5h) Volume Element Address Header Reserve 6-byte (16h) and Reserve 10-byte (56h) Send Diagnostic (1Dh) Send Volume Tag (B6h) Send Volume Tag Parameter List

2-42 2-43 2-44 2-45 2-46 2-46 2-47 2-48 2-49 2-50 2-51 2-52 2-52 2-53 2-54 2-54 2-55 2-56 2-56 2-59 2-60 2-62 2-62 2-63 2-63 2-64 2-64 2-65 2-67 2-67 2-68 2-68 2-69 2-69 2-71 2-72 2-73 2-73 2-74 2-75 2-76

v

Test Unit Ready (00h)

2-76

vi

List of Figures

2-1 2-2 2-3 2-4 2-5 2-6 2-7 2-8 2-9 2-10 2-11 2-12 2-13 2-14 2-15 2-16 2-17 2-18 2-19 2-20 2-21 2-22 2-23 2-24

6-Byte Command Structure 10-Byte Command Structure 12-Byte Command Structure Standard Inquiry Data Definition - HP Bridged Standard Inquiry Data Definition - IBM Bridged Device Identification Page - HP Bridged Device Identification Page - IBM Bridged Mode Select 6-Byte Command Mode Select 10-Byte Command Mode Select 6-Byte Parameter Header Mode Select 10-Byte Parameter Header Mode Sense 6-Byte Command Mode Sense 10-Byte Command Mode Sense 6-Byte Parameter Header Mode Sense 10-Byte Parameter Header Medium Transport Element Descriptor Storage Element Descriptor Import/Export Element Descriptor Data Transfer Element Descriptor (DvcID = 0) Data Transfer Element Descriptor (DvcID = 1) 6-Byte Command 10-Byte Command Reserve 6-Byte Reserve 10-Byte

2-2 2-2 2-2 2-5 2-6 2-9 2-10 2-17 2-17 2-19 2-19 2-32 2-32 2-34 2-34 2-53 2-54 2-54 2-55 2-56 2-60 2-60 2-73 2-74

vii

List of Tables

1-1 Action when the Library is Reserved by Another Initiator 1-2 Persistent Reservation Command Restrictions when the Library is Reserved by

Another Initiator 1-3 Starting Element Address and Maximum Number of Elements 2-1 Persistent Reserve Out Service Actions and Valid Parameters 2-2 Service Action Reservation Key Information

1-5

1-6 1-7 2-49 2-49

viii

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download