VXA-3 Or VXA-172 Tape Drive SCSI Reference
Total Page:16
File Type:pdf, Size:1020Kb
VXA-320 (VXA-3) SCSI Reference COPYRIGHT Copyright 2008 by Tandberg Data Corporation. All rights reserved. This item and the information contained herein are the property of Tandberg Data Corporation. No part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual, or otherwise, without the express written permission of Tandberg Data Corporation, 2108 55th Street, Boulder, Colorado 80301. DISCLAIMER Tandberg Data Corporation makes no representation or warranties with respect to the contents of this document and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose. Further, Tandberg Data Corporation reserves the right to revise this publication without obligation of Tandberg Data Corporation to notify any person or organization of such revision or changes. TRADEMARK Tandberg Data Corporation trademarks: Tandberg Data, Exabyte, the Exabyte Logo, NOTICES EZ17, M2, SmartClean, VXA, and VXAtape are registered trademarks; ExaBotics and MammothTape are trademarks; SupportSuite is a service mark. Other trademarks: All other product names are trademarks or registered trademarks of their respective owners. PART NUMBER 1013599 Revision E REVISION HISTORY Revision Date Description B August 2005 Initial production release. C May 2006 Update error codes (Appendix A) D August 2007 1-Added Drive Statistics Page 3C to LOG SENSE command 2-Update MODE SELECT/SENSE (Medium Partition page, Vendor Unique Param page); 3-READ/WRITE compression note; 4-REQUEST SENSE (add Byte 44 and 45); 5-Added ASC 30h/ASCQ 03h/FSC 07h to Error codes; 6-Converted from Exabyte to Tandberg Data;. 7-Combined with VXA-172. E October 2008 Updated Request Sense Data information. NOTE: The most current information about this product is available at Tandberg Data’s web site (www.tandbergdata.com). CONTACTING To obtain general information TANDBERG DATA CORPORATION World Wide Web Refer to the Tandberg Data website (www.tandbergdata.com) for current address and contact information. ii SCSI REFERENCE 1013599 Contents About This Manual . xv 1 SCSI Interface Overview . 1-1 1.1 Communication Interface Versus Command Protocol ......... 1-1 1.2 Communication Across the SCSI Bus .................................. 1-2 1.2.1 SCSI Bus Phases ................................................. 1-2 1.2.2 SCSI Messages.................................................... 1-2 1.3 SCSI Command Protocol .................................................... 1-4 1.3.1 Supported SCSI Commands ............................... 1-4 1.3.2 SCSI Command Descriptor Block Format ........... 1-6 1.4 Field Definitions for the Command Descriptor Block .......... 1-7 1.4.1 Field Definitions for Six-Byte CDBs..................... 1-7 1.4.2 Field Definitions for Ten-Byte CDBs ................... 1-8 1.5 Command Format Errors..................................................... 1-9 1.6 Command Status ................................................................ 1-9 1.6.1 Good ............................................................... 1-10 1.6.2 Check Condition.............................................. 1-10 1.6.3 Busy................................................................. 1-11 1.6.4 Reservation Conflict ......................................... 1-11 2 ERASE (19h) . 2-1 2.1 About This Command......................................................... 2-1 2.2 CDB Field Definitions......................................................... 2-2 2.3 Tape Positioning................................................................. 2-3 2.4 Exceptions and Error Conditions ......................................... 2-3 3 INQUIRY (12h) . 3-1 3.1 About This Command......................................................... 3-1 3.2 CDB Field Definitions......................................................... 3-1 OCTOBER 2008 VXA-320 OR VXA-172 TAPE DRIVE iii 3.3 What the Tape Drive Returns.............................................. 3-2 3.3.1 Standard Inquiry Data......................................... 3-3 3.3.2 Supported Vital Product Data Page (Page Code 00h)................................................. 3-6 3.3.3 Unit Serial Number Page (Page Code 80h).......... 3-8 3.3.4 Device Identification Page (Page Code 83h)........ 3-9 3.3.5 Original Inquiry Data Page (Page Code C0h)..... 3-11 3.4 Exceptions and Error Conditions........................................ 3-11 4 LOAD/UNLOAD (1Bh). 4-1 4.1 About This Command ......................................................... 4-1 4.2 CDB Field Definitions ......................................................... 4-2 4.3 Exceptions and Error Conditions.......................................... 4-4 5 LOCATE (2Bh) . 5-1 5.1 About This Command ......................................................... 5-1 5.2 Using the LOCATE Command............................................. 5-1 5.3 CDB Field Definitions ......................................................... 5-2 5.4 Exceptions and Error Conditions.......................................... 5-4 6 LOG SELECT (4Ch) . 6-1 6.1 About This Command ......................................................... 6-1 6.2 CDB Field Definitions ......................................................... 6-2 6.3 Log Parameter Data ............................................................ 6-4 6.3.1 Parameter List Header ........................................ 6-4 6.3.2 Log Parameters................................................... 6-5 6.4 Exceptions and Error Conditions.......................................... 6-8 7 LOG SENSE (4Dh) . 7-1 7.1 About This Command ......................................................... 7-1 7.2 CDB Field Definitions ......................................................... 7-2 7.3 What the Tape Drive Returns.............................................. 7-5 7.3.1 Log Parameter Format ........................................ 7-5 7.3.2 Supported Log Pages Page (Page Code 00h) ....... 7-8 7.3.3 Write Error Counters Page (Page Code 02h) Read Error Counters Page (Page Code 03h)......... 7-9 7.3.4 TapeAlert Page (Page Code 2Eh)......................... 7-9 7.3.5 Compression Statistics (Page Code 30h) ............ 7-12 iv SCSI REFERENCE 1013599 7.3.6 Tape Capacity Page (Page Code 31h) ............... 7-13 7.3.7 Environmental Counter Page (Page Code 36h) . 7-13 7.3.8 Tape Usage Page (Page Code 37h) ................... 7-14 7.3.9 Tape Last FSC Page (Page Code 39h)................ 7-21 7.3.10 Drive Statistics Page (Page Code 3Ch) .............. 7-22 7.4 Exceptions and Error Conditions ....................................... 7-24 8 MODE SELECT (15h). 8-1 8.1 About This Command......................................................... 8-1 8.2 CDB Field Definitions......................................................... 8-2 8.3 Mode Parameter Data ........................................................ 8-3 8.3.1 Parameter List Header........................................ 8-3 8.3.2 Block Descriptor ................................................ 8-4 8.4 Read-Write Error Recovery Page (Page Code 01h) .............. 8-6 8.5 Disconnect-Reconnect Page (Page Code 02h)..................... 8-8 8.6 Control Mode Page (Page Code 0Ah)................................ 8-10 8.7 Data Compression Page (Page Code 0Fh) ......................... 8-12 8.8 Device Configuration Page (Page Code 10h)..................... 8-13 8.9 Medium Partition Page (Page Code 11h)........................... 8-18 8.10 TapeAlert Page (Page Code 1Ch) ...................................... 8-22 8.11 Vendor Unique Parameters Page 1 (Page Code 21h)......... 8-24 8.12 Exceptions and Error Conditions ....................................... 8-29 9 MODE SENSE (1Ah) . 9-1 9.1 About This Command......................................................... 9-1 9.2 CDB Field Definitions......................................................... 9-2 9.3 What the Tape Drive Returns ............................................. 9-3 9.3.1 Block Descriptor ................................................ 9-5 9.3.2 Read-Write Error Recovery Page (Page Code 01h) ................................................ 9-7 9.3.3 Disconnect-Reconnect Page (Page Code 02h) .... 9-8 9.3.4 Control Mode Page (Page Code 0Ah) ............... 9-10 9.3.5 Data Compression Page (Page Code 0Fh)......... 9-12 9.3.6 Device Configuration Page (Page Code 10h) .... 9-13 9.3.7 Medium Partition Page (Page Code 11h) .......... 9-17 9.3.8 TapeAlert Page (Page Code 1Ch)...................... 9-19 9.3.9 Vendor Unique Parameters Page 1 (Page Code 21h) .............................................. 9-21 OCTOBER 2008 VXA-320 OR VXA-172 TAPE DRIVE v 9.3.10 Vendor Unique Parameters Page 2 (Page Code 22h)............................................... 9-26 9.4 Exceptions and Error Conditions........................................ 9-27 10 PREVENT/ALLOW MEDIUM REMOVAL (1Eh) . 10-1 10.1 About This Command ....................................................... 10-1 10.2 CDB Field Definitions ....................................................... 10-2 11 READ (08h) . 11-1 11.1 About This Command ....................................................... 11-1 11.2 CDB Field Definitions ....................................................... 11-2 11.3 Exceptions and Error Conditions........................................ 11-3 11.3.1 Transfer Length Incorrect .................................