SCSI Commands Reference Manual

Total Page:16

File Type:pdf, Size:1020Kb

SCSI Commands Reference Manual Product Manual SCSI Commands Reference Manual Parallel SCSI Fibre Channel (FC) Serial Attached SCSI (SAS) 100293068 Rev. H July 2014 © 2014 Seagate Technology LLC. All rights reserved. Publication number: 100293068, Rev. H July 2014 Seagate, Seagate Technology and the Wave logo are registered trademarks of Seagate Technology LLC in the United States and/or other countries. SeaTools is a trademarks of Seagate Technology LLC or one of its affiliated companies in the United States and/or other countries. All other trademarks or registered trademarks are the property of their respective owners. No part of this publication may be reproduced in any form without written permission of Seagate Technology LLC. Call 877-PUB-TEK1 (877-782-8351) to request permission. CONTENTS 1.0 Definitions, Symbols, Abbreviations, Keywords, And Conventions . .1 1.1 Definitions . .2 1.2 Symbols and abbreviations . .9 1.3 Keywords . .10 1.4 Conventions. .11 2.0 General Concepts . .12 2.1 Command Descriptor Block (CDB) . .12 2.1.1 CDB usage and structure. .12 2.1.2 The fixed length CDB formats . .12 2.1.3 The variable length CDB formats . .14 2.2 Common CDB fields . .16 2.2.1 Operation Code . .16 2.2.2 SERVICE ACTION. .16 2.2.3 Logical block address. .16 2.2.4 TRANSFER LENGTH . .17 2.2.5 PARAMETER LIST LENGTH. .17 2.2.6 ALLOCATION LENGTH. .17 2.2.7 CONTROL . .17 2.2.8 Grouping function. .18 2.3 Parameter Rounding . .18 2.4 Sense data. .19 2.4.1 Sense data introduction . .19 3.0 Command Reference . .37 3.1 CHANGE DEFINITION command . .38 3.2 COMPARE command . .40 3.3 COPY command . .40 3.4 COPY AND VERIFY command . .40 3.5 FORMAT UNIT command . .40 3.5.1 FORMAT UNIT command overview. .40 3.5.2 FORMAT UNIT parameter list . .43 3.5.3 Parameter list header. .44 3.5.4 Initialization pattern descriptor . .47 3.5.5 Address descriptor formats . .48 3.6 INQUIRY command . .54 3.6.1 INQUIRY command introduction . .54 3.6.2 Standard INQUIRY data. .55 3.6.3 SCSI Parallel Interface specific INQUIRY data . .61 3.6.4 Vital product data . .62 3.7 LOG SELECT command . .63 3.7.1 Processing LOG SELECT when the parameter list length is zero . .64 3.8 LOG SENSE command . .67 3.9 MODE SELECT(6) command . .68 3.10 MODE SELECT (10) command. .70 3.11 MODE SENSE(6) command . .70 3.11.1 MODE SENSE(6) command introduction. .70 3.12 MODE SENSE(10) command . .72 3.13 PERSISTENT RESERVE IN command. .73 3.13.1 PERSISTENT RESERVE IN command introduction . .73 3.13.2 READ KEYS service action . .74 3.13.3 READ RESERVATION service action . .74 3.13.4 REPORT CAPABILITIES service action . .78 3.13.5 READ FULL STATUS service action . .81 3.14 PERSISTENT RESERVE OUT command. .83 SCSI COMMANDS REFERENCE MANUAL, REV. H III CONTENTS 3.14.1 PERSISTENT RESERVE OUT command introduction . .83 3.14.2 PERSISTENT RESERVE OUT service actions . .83 3.14.3 Basic PERSISTENT RESERVE OUT parameter list . .85 3.14.4 Parameter list for the PERSISTENT RESERVE OUT command with REGISTER AND MOVE service . .88 3.15 PRE-FETCH (10) command, PRE-FETCH (16) command . .89 3.16 PREVENT ALLOW MEDIUM REMOVAL command . .89 3.17 READ (6) command. .89 3.18 READ (10) command. .91 3.19 READ (12) command. ..
Recommended publications
  • Scaling Enterprise Storage with SAS Hard Drives
    Whitepaper | November 2007 Scaling Enterprise Storage with SAS Hard Drives Introduction Data center workloads have increased exponentially in recent years, requiring IT managers to find new ways of scaling their enterprise storage resources in a way that is both highly reliable and cost-effective. With the introduction of complementary serial interface technologies, IT managers now have the flexibility to deploy either high performance SAS drives or cost-effective Serial ATA (SATA) drives in a Serial Attached SCSI (SAS) storage environment. Hardware compatibility between the new interfaces will provide unprecedented design flexibility for server and storage subsystem deployments. SAS was designed to be the successor to parallel SCSI, which has been used effectively as an enterprise storage interface for more than 20 years. SAS supports the SCSI com- mand set and protocol, maintaining compatibility with the last 20 years of application software investment. SAS will support faster data transfer rates and more devices per controller, as well as reduce the size and complexity of the cables and connectors (thus enabling smaller, more densely-packed disk arrays). SAS is a point-to-point serial architecture, meaning that each drive has a dedicated connection to the host. Eliminating the shared (parallel) bus bottleneck results in higher overall performance because the host will deliver full bandwidth to each individual hard drive. These dedicated, point-to-point connections provide full-duplex connectivity at 3Gb/s for superior performance. SAS is a dual-port interface that provides two separate data paths into the drive. This delivers higher levels of performance and eliminates the “single point of failure” that is a drawback of the current parallel SCSI inter- face.
    [Show full text]
  • HP Proliant G6 Intel Xeon Bladesystem C-Class Server Blades
    Technologies in HP ProLiant G6 c-Class server blades with Intel® Xeon® processors technology brief Abstract.............................................................................................................................................. 2 ProLiant c-Class server blade architecture................................................................................................ 2 Processor technologies ......................................................................................................................... 3 Multi-level caches............................................................................................................................. 3 QuickPath Interconnect controller ....................................................................................................... 4 Hyper-Threading .............................................................................................................................. 4 Turbo Boost technology..................................................................................................................... 5 Thermal Logic technologies ................................................................................................................... 5 Processor socket technology.................................................................................................................. 6 Memory technologies ........................................................................................................................... 6 I/O technologies
    [Show full text]
  • SAS Enters the Mainstream Although Adoption of Serial Attached SCSI
    SAS enters the mainstream By the InfoStor staff http://www.infostor.com/articles/article_display.cfm?Section=ARTCL&C=Newst&ARTICLE_ID=295373&KEYWORDS=Adaptec&p=23 Although adoption of Serial Attached SCSI (SAS) is still in the infancy stages, the next 12 months bode well for proponents of the relatively new disk drive/array interface. For example, in a recent InfoStor QuickVote reader poll, 27% of the respondents said SAS will account for the majority of their disk drive purchases over the next year, although Serial ATA (SATA) topped the list with 37% of the respondents, followed by Fibre Channel with 32%. Only 4% of the poll respondents cited the aging parallel SCSI interface (see figure). However, surveys of InfoStor’s readers are skewed by the fact that almost half of our readers are in the channel (primarily VARs and systems/storage integrators), and the channel moves faster than end users in terms of adopting (or at least kicking the tires on) new technologies such as serial interfaces. Click here to enlarge image To get a more accurate view of the pace of adoption of serial interfaces such as SAS, consider market research predictions from firms such as Gartner and International Data Corp. (IDC). Yet even in those firms’ predictions, SAS is coming on surprisingly strong, mostly at the expense of its parallel SCSI predecessor. For example, Gartner predicts SAS disk drives will account for 16.4% of all multi-user drive shipments this year and will garner almost 45% of the overall market in 2009 (see figure on p. 18).
    [Show full text]
  • Performance and Innovation of Storage Advances Through SCSI Express © 2014 Storage Networking Industry Association
    Performance and Innovation of Storage PRESENTATION TITLE GOES HERE Advances through SCSI Express Marty Czekalski President, SCSI Trade Association - Emerging Interface and Architecture Program Manager, Seagate Technology Greg McSorley Vice President, SCSI Trade Association Technical Business Development Manager, Amphenol SNIA Legal Notice The material contained in this tutorial is copyrighted by the SNIA unless otherwise noted. Member companies and individual members may use this material in presentations and literature under the following conditions: Any slide or slides used must be reproduced in their entirety without modification The SNIA must be acknowledged as the source of any material used in the body of any document containing material from these presentations. This presentation is a project of the SNIA Education Committee. Neither the author nor the presenter is an attorney and nothing in this presentation is intended to be, or should be construed as legal advice or an opinion of counsel. If you need legal advice or a legal opinion please contact your attorney. The information presented herein represents the author's personal opinion and current understanding of the relevant issues involved. The author, the presenter, and the SNIA do not assume any responsibility or liability for damages arising out of any reliance on or use of this information. NO WARRANTIES, EXPRESS OR IMPLIED. USE AT YOUR OWN RISK. Performance and Innovation of Storage Advances through SCSI Express © 2014 Storage Networking Industry Association. All Rights Reserved. 2 Abstract Performance and Innovation of Storage Advances through SCSI Express SCSI Express represents the natural evolution of enterprise storage technology building upon decades of customer and industry experience.
    [Show full text]
  • Serial Attached SCSI (SAS) Interface Manual
    Users Guide Serial Attached SCSI (SAS) Interface Manual Users Guide Serial Attached SCSI (SAS) Interface Manual ©2003, 2004, 2005, 2006 Seagate Technology LLC All rights reserved Publication number: 100293071, Rev. B May 2006 Seagate, Seagate Technology, and the Seagate logo are registered trademarks of Seagate Technology LLC. SeaTools, SeaFAX, SeaFONE, SeaBOARD, and SeaTDD are either registered trademarks or trade- marks of Seagate Technology LLC. Other product names are registered trademarks or trademarks of their owners. Seagate reserves the right to change, without notice, product offerings or specifications. No part of this publication may be reproduced in any form without written permission of Seagate Technology LLC. Revision status summary sheet Revision Date Writers/Engineers Notes Rev. A 11/11/04 J. Coomes Initial release. Rev. B 05/07/06 C. Chalupa, J. Coomes, G. Houlder All. Contents 1.0 Interface requirements. 1 1.1 Acknowledgements . 1 1.2 How to use this interface manual . 1 1.2.1 Scope . 2 1.2.2 Applicable specifications . 2 1.2.3 Other references . 3 1.3 General interface description. 3 1.3.1 Introduction to Serial Attached SCSI Interface (SAS) . 3 1.3.2 The SAS interface . 3 1.3.3 Glossary . 5 1.3.4 Keywords . 16 1.4 Physical interface characteristics. 17 1.5 Bit and byte ordering . 17 2.0 General . 19 2.1 Architecture . 19 2.1.1 Architecture overview . 19 2.1.2 Physical links and phys . 19 2.1.3 Ports (narrow ports and wide ports) . 20 2.1.4 SAS devices . 21 2.1.5 Expander devices (edge expander devices and fanout expander devices) .
    [Show full text]
  • Nvme SSD Controller
    EVERYTHING YOU WANTED TO KNOW ABOUT STORAGE BUT WERE TOO PROUD TO ASK Part Aqua Storage Controllers May 15, 2018 10:00 am PT Today’s Presenters J Metz Craig Carlson John Kim Peter Onufryk Chad Hintz Cisco Cavium Mellanox Microsemi Cisco © 2018 Storage Networking Industry Association. All Rights Reserved. 2 SNIA-At-A-Glance © 2018 Storage Networking Industry Association. All Rights Reserved. 3 SNIA Legal Notice The material contained in this presentation is copyrighted by the SNIA unless otherwise noted. Member companies and individual members may use this material in presentations and literature under the following conditions: Any slide or slides used must be reproduced in their entirety without modification The SNIA must be acknowledged as the source of any material used in the body of any document containing material from these presentations. This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation is intended to be, or should be construed as legal advice or an opinion of counsel. If you need legal advice or a legal opinion please contact your attorney. The information presented herein represents the author's personal opinion and current understanding of the relevant issues involved. The author, the presenter, and the SNIA do not assume any responsibility or liability for damages arising out of any reliance on or use of this information. NO WARRANTIES, EXPRESS OR IMPLIED. USE AT YOUR OWN RISK. © 2018 Storage Networking Industry Association. All Rights Reserved. 4 Controllers! So many things to Up, Up, Down, control, so little time! Down, Left, Right, Left, Right, B, A, storage Start! © 2018 Storage Networking Industry Association.
    [Show full text]
  • The Benefits of Serial Attached SCSI (SAS) for External Subsystems
    SERVER STORAGE SOLUTIONS WHITE PAPER The Benefits of Serial Attached SCSI (SAS) for External Subsystems Serial Attached SCSI (SAS), the follow-on to parallel The first SAS prototypes were announced in 2003 and SCSI, is designed for high-performance enterprise were a major step to achieving mass market requirements and offers both the benefits of backward availability. Those prototypes allowed development of compatibility with SCSI and interoperability with the first generation of technologies and products that Serial ATA (SATA), bringing enterprises a flexibility bring the benefits of SAS into the enterprise. These and cost savings previously not possible. SAS provides products have been developed and tested, and enable a significant benefits to external storage subsystems and wide variety of integrated solutions. offers users “one-stop-shopping” to satisfy their Interoperability testing was a key component of SAS, requirements for the following three main data types; because it increases the architecture’s flexibility by Throughput Data Transaction Data Reference Data supporting both SAS and SATA disk drives and components. Interoperability allows one vendor’s SAS • High MB/s and large • Maximum IOPs for OLTP, • Fixed content, archival data data-intensive files calculation intensive files for secondary/nearline products to be compatible with another’s, and it also • Large block, random • Small block, random storage ensures products developed today will work with all read/writes read/writes • Large block, sequential existing and next-generation
    [Show full text]
  • Putting Switched Fabric to Work for Software Radio
    PUTTING SWITCHED FABRIC TO WORK FOR SOFTWARE RADIO Rodger H. Hosking (Pentek, Inc., Upper Saddle River, NJ, USA, [email protected]) ABSTRACT In order to take advantage of the wealth of high- volume, low-cost devices for mass-market electronics, and The most difficult problem for designers of high- to reap the same benefits of easier connectivity, even the performance, software radio systems is simply moving data most powerful high-end software radio RISC and DSP within the system because of data throughput limitations. processors from Freescale and Texas Instruments are now Driving this dilemma are processors with higher clock rates sporting gigabit serial interfaces. and wider buses, data converter products with higher sampling rates, more complex digital communication 2. GIGABIT SERIAL STANDARDS standards with increased bandwidths, disk storage devices with faster I/O rates, FPGAs and DSPs offering incredible The descriptive phrase “gigabit serial” covers a truly diverse computational rates, and system connections and network range of implementations and application spaces. Figure 1 links operating at higher speeds. shows most of the popular standards used in embedded Traditional system architectures relying on buses and systems suitable for software radio, along with how each parallel connections between system boards and mezzanines standard is normally deployed in a system. fall far short of delivering the required peak rates, and suffer even worse if they must be shared and arbitrated. New Standard Main Application strategies for solving these problems exploit gigabit serial Gigabit Ethernet Computer Networking links and switched fabric standards to create significantly FibreChannel Data Storage more powerful architectures ideally suited for embedded software radio systems.
    [Show full text]
  • Using TCP/IP Traffic Shaping to Achieve Iscsi Service Predictability
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by NORA - Norwegian Open Research Archives UNIVERSITY OF OSLO Department of Informatics Using TCP/IP traffic shaping to achieve iSCSI service predictability Master thesis Jarle Bjørgeengen Oslo University College Oslo University/USIT May 26, 2010 Abstract This thesis reproduces the properties of load interference common in many storage devices using resource sharing for flexibility and maximum hardware utilization. The nature of resource sharing and load is studied and compared to assumptions and models used in previous work. The results are used to de- sign a method for throttling iSCSI initiators, attached to an iSCSI target server, using a packet delay module in Linux Traffic Control. The packet delay throttle enables close-to-linear rate reduction for both read and write operations. Ipt- ables and Ipset are used to add dynamic packet matching needed for rapidly changing throttling values. All throttling is achieved without triggering TCP retransmit timeout and subsequent slow start caused by packet loss. A control mechanism for dynamically adapting throttling values to rapidly changing workloads is implemented using a modified proportional integral derivative (PID) controller. Using experiments, control engineering filtering techniques and results from previous research, a suitable per resource saturation indicator was found. The indicator is an exponential moving average of the wait time of active resource consumers. It is used as input value to the PID controller man- aging the packet rates of resource consumers, creating a closed control loop managed by the PID controller. Finally a prototype of an autonomic resource prioritization framework is designed.
    [Show full text]
  • The Datasheetarchive
    QLogic Corporation GEM359 Guardian Enclosure Management Controller Data Sheet Features Product Description I Compliance with SCSI Accessed Fault Tolerant The GEM359 is the latest addition to QLogic’s Enclosures (SAF-TE) specification, version 1.00 enclosure management product line. Designed as a and addendum complete chassis management controller for SCSI and I Compliance with SCSI-3 Enclosure Services Fibre Channel enclosures, the highly integrated GEM359 Command Set (SES) draft, version 8.0b monitors all aspects of a server’s backplane or storage I Compliance with Intelligent Platform Management enclosure. The chip provides in-band SAF-TE and SES Interface (IPMI), version 1.0 management through the SCSI interface or from the I Low Voltage Differential (LVD) SCSI interface SFF-8067 (ESI) ports on Fibre Channel drives. The GEM359 also supports the IPMI specification by providing I SCSI-3 compatible management data to a baseboard management controller I Two small form factor (SFF)-8067 interfaces for through the IPMB. Fibre Channel applications Users can implement the GEM359 for a variety of I Two I2C interfaces for connectivity to I2C devices applications, from a simple hot swap or SCSI drive such as a temperature sensor, NVRAM, and the backplane controller in a server to a full-featured chassis Intelligent Platform Management Bus (IPMB) management controller for a storage subsystem. The I Embedded Universal Asynchronous * advanced feature set allows management of the hot swap Receiver/Transmitter (UART), 16550 compatible, drives and monitors all the environmental and control provides a serial port that can be used as a debug port functions of the chassis or backplane.
    [Show full text]
  • SCSI Commands Reference Manual
    SCSI Commands Reference Manual Fibre Channel (FC) Serial Attached SCSI (SAS) 100293068, Rev. J October 2016 © 2016 Seagate Technology LLC. All rights reserved. Publication number: 100293068, Rev. J October 2016 Seagate, Seagate Technology and the Spiral logo are registered trademarks of Seagate Technology LLC in the United States and/or other countries. SeaTools is a trademarks of Seagate Tech- nology LLC or one of its affiliated companies in the United States and/or other countries. All other trademarks or registered trademarks are the property of their respective owners. No part of this publication may be reproduced in any form without written permission of Seagate Technology LLC. Call 877-PUB-TEK1 (877-782-8351) to request permission. Contents 1. Definitions, Symbols, Abbreviations, Keywords, And Conventions. 24 1.1 Definitions . .25 1.2 Symbols and abbreviations . .33 1.3 Keywords . .35 1.4 Conventions. .36 2. General Concepts . 37 2.1 Command Descriptor Block (CDB) . .37 2.1.1 CDB usage and structure . .37 2.1.2 The fixed length CDB formats. .38 2.1.3 The variable length CDB formats. .40 2.2 Common CDB fields . .42 2.2.1 Operation Code. .42 2.2.2 SERVICE ACTION . .42 2.2.3 Logical block address . .43 2.2.4 TRANSFER LENGTH. .43 2.2.5 PARAMETER LIST LENGTH . .43 2.2.6 ALLOCATION LENGTH . .43 2.2.7 CONTROL . .44 2.2.8 Grouping function . .44 2.3 Parameter Rounding. .45 2.4 Sense data . .46 2.4.1 Sense data introduction . .46 3. Direct Access Block commands (SPC-5 and SBC-4) .
    [Show full text]
  • Quantum Intelligent Libraries SCSI Reference Guide
    SCSI Reference Guide Scalar Intelligent Libraries 6-00423-16 Rev A Quantum Scalar® Intelligent Libraries SCSI Reference Guide, 6-00423-16, Ver. A, December 2016, Product of USA. Quantum Corporation provides this publication “as is” without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability or fitness for a particular purpose. Quantum Corporation may revise this publication from time to time without notice. COPYRIGHT STATEMENT © 2016 Quantum Corporation. All rights reserved. Your right to copy this manual is limited by copyright law. Making copies or adaptations without prior written authorization of Quantum Corporation is prohibited by law and constitutes a punishable violation of the law. TRADEMARK STATEMENT Quantum, the Quantum logo, DLT, DLTtape, the DLTtape logo, SuperLoader, Scalar, StorNext, and DXi are registered trademarks of Quantum Corporation, registered in the U.S. and other countries. Preserving the World's Most Important Data. Yours., Backup. Recovery. Archive. It’s What We Do., the DLT logo, DLTSage, Dynamic Powerdown, FastSense, FlexLink, GoVault, MediaShield, Optyon, Pocket-sized. Well-armored, SDLT, SiteCare, SmartVerify, StorageCare, Super DLTtape, and Vision are trademarks of Quantum. LTO and Ultrium are trademarks of HP, IBM, and Quantum in the U.S. and other countries. All other trademarks are the property of their respective companies. Specifications are subject to change without notice. Contents 1 SCSI Command Support 1 Device Model. 1 DA Blade Controller Device Commands and Parameters. 2 Media Changer Commands and Parameters . 3 General Command Support Behavior . 5 Multiple Initiator Support . 5 Element Addressing . 5 Command Status. 5 Unit Attentions .
    [Show full text]