SCSI Commands Reference Manual
Total Page:16
File Type:pdf, Size:1020Kb
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. ..