SDX-1100V
SDX-1100V/R
5.25”Model
Product Specification Manual
Version 1.0
August, 2006
Copyright © 2006, Sony Corporation.
All right reserved.
NOTE:
This Product Specification Manual is applicable for AIT-5 drive.
Table of Contents
1. INTRODUCTION............................................................................................. 1-1
1.1. About this Product Specification Manual................................................................ 1-1
1.2. Introducing the Sony AIT Technology..................................................................... 1-1
1.3. Features of the Drive................................................................................................. 1-1
1.4. Reference................................................................................................................... 1-3
1.4.1. How to get ECMA-329 Standard Document ............................................................ 1-3
2. SPECIFICATIONS .......................................................................................... 2-1
2.1. Specifications............................................................................................................ 2-1
2.1.1. Dimensions.............................................................................................................. 2-1
2.1.1.1. Mounting Holes....................................................................................................... 2-2
2.1.2. Weight ..................................................................................................................... 2-4
2.1.3. Connectors .............................................................................................................. 2-4
2.1.3.1. SCSI Cables and Terminators................................................................................. 2-4
2.2. Environmental Specifications .................................................................................. 2-4
2.2.1. Temperature and Humidity Range ........................................................................... 2-4
2.2.2. Altitude..................................................................................................................... 2-5
2.2.3. Suspended Particulate............................................................................................. 2-5
2.2.4. Vibration .................................................................................................................. 2-5
2.2.5. Shock....................................................................................................................... 2-5
2.2.6. Acoustic Noise......................................................................................................... 2-5
2.2.7. EMC......................................................................................................................... 2-5
2.2.8. Orientation............................................................................................................... 2-5
2.3. Performance Specification....................................................................................... 2-6
2.3.1. Data Capacity.......................................................................................................... 2-6
2.3.2. Data transfer Rate ................................................................................................... 2-7
2.3.2.1. Sustained Data Transfer Rate to and from the Tape............................................... 2-7
2.3.2.2. Burst Transfer Rate to and from the SCSI Bus ....................................................... 2-7
2.3.3. Initialize Time........................................................................................................... 2-7
2.3.4. Load Time................................................................................................................ 2-7
2.3.5. Unload Time ............................................................................................................ 2-7
2.3.6. Search Time ............................................................................................................ 2-7
2.3.7. Rewind Time............................................................................................................ 2-7
2.3.8. Long Erase Time ..................................................................................................... 2-8
2.3.9. Error Rate................................................................................................................ 2-8
2.3.10. Definition of Failure ............................................................................................... 2-8
2.3.11. Mean Time Between Failures ................................................................................ 2-8
2.3.12. Mean Time to Repair............................................................................................. 2-8
2.3.13. Component Life..................................................................................................... 2-8
2.3.14. Durability ............................................................................................................... 2-8
2.4. Safety ......................................................................................................................... 2-9
2.4.1. Conditions of Acceptability....................................................................................... 2-9
2.5. Installation Requirements ........................................................................................ 2-9
2.5.1. Power Requirements ............................................................................................... 2-9
2.6. Data Compression................................................................................................... 2-10
SDX-1100V series Ver.1.0 Table of Contents
3. INSTALLATION .............................................................................................. 3-1
3.1. Installation Guide ...................................................................................................... 3-1
3.1.1. SCSI ID Number Jumper......................................................................................... 3-2
3.1.2. Termination Power Switch ....................................................................................... 3-2
3.1.3. Parity Disable Jumper.............................................................................................. 3-3
3.1.4. Data Compression ON Switch................................................................................. 3-3
3.1.5. Power Connector..................................................................................................... 3-3
3.1.6. SCSI 68 pin Connector............................................................................................ 3-3
3.1.7. Attaching and Removing the Dust Cover................................................................. 3-6
3.1.7.1. Attaching the Dust Cover........................................................................................ 3-6
3.1.7.2. Removing the Dust Cover....................................................................................... 3-7
4. OPERATION................................................................................................... 4-1
4.1. Summary of LED Indications.................................................................................... 4-1
4.2. Operator Action......................................................................................................... 4-2
4.2.1. Powering up the Drive ............................................................................................. 4-2
4.2.2. Inserting Cassettes.................................................................................................. 4-2
4.2.3. Removing Cassettes................................................................................................ 4-2
4.2.4. Hard Reset Hole ...................................................................................................... 4-2
4.2.5. Write-Protecting Cassettes...................................................................................... 4-2
4.3. Internal Function ....................................................................................................... 4-3
4.3.1. The Load Sequence ................................................................................................ 4-3
4.3.2. The Unload Sequence............................................................................................. 4-3
4.3.3. Power-Fail or SCSI Reset Handling......................................................................... 4-3
4.3.4. Diagnostic and Normal Status Displays................................................................... 4-4
4.3.4.1. Diagnostic Status Display....................................................................................... 4-4
4.3.4.2. Normal Status Display ............................................................................................ 4-4
4.4. Tape Alert................................................................................................................... 4-5
4.5. Tape Format............................................................................................................... 4-5
4.6. Maintenance, Troubleshooting and Service............................................................ 4-6
4.6.1. Head Cleaning......................................................................................................... 4-6
4.6.1.1. Message When Cleaning Cassette is Necessary ................................................... 4-6
4.6.1.2. The condition of Cleaning Request......................................................................... 4-6
4.6.1.3. Usage of Cleaning Cassette................................................................................... 4-6
4.6.2. Troubleshooting Guide............................................................................................. 4-6
4.6.2.1. Operational Problems............................................................................................. 4-6
4.6.2.2. Read/Write Problems.............................................................................................. 4-9
4.6.2.3. Replace Tape.......................................................................................................... 4-9
4.6.2.4. Media Warning........................................................................................................ 4-9
5. SCSI INTERFACE .......................................................................................... 5-1
5.1. Introduction ............................................................................................................... 5-1
5.2. SCSI Bus Operation .................................................................................................. 5-3
5.3. Message Specification.............................................................................................. 5-4
5.3.1. COMMAND COMPLETE (00h)................................................................................ 5-5
5.3.2. EXTENDED MESSAGE (01h) ................................................................................. 5-5
5.3.2.1. PARALLEL PROTOCOL REQUEST (04h) ............................................................. 5-5
5.3.2.2. SYNCHRONOUS DATA TRANSFER REQUEST (01h).......................................... 5-6
SDX-1100V series Ver.1.0 Table of Contents
5.3.2.3. WIDE DATA TRANSFER REQUEST...................................................................... 5-8
5.4. Status Specification................................................................................................ 5-12
6. COMMAND SPECIFICATION ........................................................................ 6-1
6.1. ERASE 19h................................................................................................................. 6-2
6.2. INQUIRY 12h .............................................................................................................. 6-3
6.3. LOAD/UNLOAD 1Bh.................................................................................................. 6-8
6.4. LOCATE 2Bh............................................................................................................ 6-10
6.5. LOG SELECT 4Ch.....................................................................................................6-11
6.6. LOG SENSE 4Dh...................................................................................................... 6-13
6.6.1. The Log Page Descriptor....................................................................................... 6-14
6.6.2. The Log Parameter Descriptor............................................................................... 6-15
6.6.3. Summary List of Supported Pages (00h)............................................................... 6-17
6.6.4. Write and Read Error Counters Pages (02h or 03h).............................................. 6-17
6.6.5. Last N Error Events List (07h) ............................................................................... 6-18
6.6.6. Tape Alert Log Page (2Eh)..................................................................................... 6-19
6.6.7. Tape Log Page (30h) (Sony Unique) ..................................................................... 6-24
6.6.8. Tape Capacity Log Page (31h) (Sony Unique)....................................................... 6-25
6.6.9. Drive Usage Log Page (33h) (Sony Unique) ......................................................... 6-26
6.6.10. Read and Write Frame Error Counter Page (34h & 35h) .................................... 6-27
6.6.11. Data Compression Transfer Log Page (39h) (Sony Unique) ............................... 6-30
6.6.12. AIT Log Page (3Ch) (Sony Unique)..................................................................... 6-31
6.6.13. MIC Fixed Length Information Page (3Dh) (Sony Unique).................................. 6-33
6.6.14. MIC Variable Length Information Page (3Eh) (Sony Unique) .............................. 6-38
6.7. MODE SELECT(6/10) 15h and 55h ......................................................................... 6-40
6.7.1. Disconnect-Reconnect Page (02h)........................................................................ 6-44
6.7.2. Control Mode Page (0Ah)...................................................................................... 6-45
6.7.3. Data Compression Control Page (0Fh).................................................................. 6-46
6.7.4. Device Configuration Page (10h)........................................................................... 6-47
6.7.5. Medium Partitions Parameter Page (11h).............................................................. 6-49
6.7.6. Informational Exceptions Control Page (1Ch)........................................................ 6-51
6.7.7. AIT Device Configuration Page (31h) .................................................................... 6-52
6.8. MODE SENSE (6/10) 1Ah and 5Ah ......................................................................... 6-54
6.9. PERSISTENT RESERVE IN 5Eh.............................................................................. 6-57
6.10. PERSISTENT RESERVE OUT 5Fh ....................................................................... 6-60
6.11. PREVENT ALLOW MEDIUM REMOVAL 1Eh........................................................ 6-62
6.12. READ 08h .............................................................................................................. 6-63
6.13. READ ATTRIBUTE 8Ch......................................................................................... 6-65
6.13.1. ATTRIBUTE VALUES service action................................................................... 6-66
6.13.2. ATTRIBUTE LIST service action ......................................................................... 6-67
6.13.3. PARTITION LIST service action.......................................................................... 6-68
6.13.4. VOLUME LIST service action.............................................................................. 6-68
6.14. READ BLOCK LIMITS 05h.................................................................................... 6-69
6.15. READ BUFFER 3Ch .............................................................................................. 6-70
6.16. READ POSITION 34h ............................................................................................ 6-73
6.17. RECEIVE DIAGNOSTIC RESULTS 1Ch................................................................ 6-75
6.18. RELEASE (6/10) 17h and 57h............................................................................... 6-77
6.19. REPORT DENSITY SUPPORT 44h....................................................................... 6-79
6.20. REPORT DEVICE IDENTIFIER A3h ...................................................................... 6-82
6.21. REPORT LUNS A0h............................................................................................... 6-83
SDX-1100V series Ver.1.0 Table of Contents
6.22. REQUEST SENSE 03h .......................................................................................... 6-84
6.23. RESERVE (6/10) 16h and 56h............................................................................... 6-93
6.24. REWIND 01h.......................................................................................................... 6-95
6.25. SEND DIAGNOSTIC 1Dh....................................................................................... 6-96
6.26. SET DEVICE IDENTIFIER A4h.............................................................................. 6-98
6.27. SPACE 11h............................................................................................................. 6-99
6.27.1. CHECK CONDITION......................................................................................... 6-101
6.28. TEST UNIT READY 00h....................................................................................... 6-102
6.29. WRITE 0Ah .......................................................................................................... 6-103
6.30. WRITE ATTRIBUTE 8Dh...................................................................................... 6-104
6.31. WRITE BUFFER 3Bh........................................................................................... 6-106
6.32. WRITE FILEMARKS 10h ..................................................................................... 6-108
7. DRIVE DIAGNOSTICS ................................................................................... 7-1
7.1. Overview .................................................................................................................... 7-1
7.2. Diagnostic Test.......................................................................................................... 7-1
7.2.1. Power-on Self Test................................................................................................... 7-1
7.2.2. SEND DIAGNOSTIC command - Self Test.............................................................. 7-2
7.2.3. SEND DIAGNOSTIC command - Individual Test..................................................... 7-2
7.2.4. Diagnostic Test Number Summary .......................................................................... 7-3
7.2.5. RECEIVE DIAGNOSTIC RESULT command .......................................................... 7-4
8. APPENDIX A: ASC & ASCQ ALPHABETIC ORDER.................................... 8-1
9. APPENDIX B: ASC & ASCQ NUMERIC ORDER.......................................... 9-1
10. APPENDIX C: ASC & ASCQ FOR AIT (SONY UNIQUE).......................... 10-1
11. APPENDIX D: SCSI COMMANDS (OP CODE ORDER) ........................... 11-1
12. APPENDIX E: MEDIUM AUXILIARY MEMORY ATTRIBUTE ................... 12-1
12.1. INTRODUCTION .................................................................................................... 12-1
12.2. OVERVIEW............................................................................................................. 12-1
12.3. MEDIUM AUXILIALY MEMORY ATTRIBUTE TYPES AND STATES .................... 12-1
12.4. MEDIUM AUXILIARY MEMORY ATTRIBUTE DATA ............................................. 12-2
12.4.1. Attribute Format................................................................................................... 12-2
12.4.2. Attribute Identifier Values..................................................................................... 12-3
12.4.3. Standard Device Type Attributes ......................................................................... 12-3
12.4.4. Standard Medium Type Attributes ....................................................................... 12-9
12.4.5. Standard Host Type Attributes........................................................................... 12-10
13. APPENDIX F: AIT BASED WORM SYSTEM............................................. 13-1
13.1. Important Notice ................................................................................................... 13-1
13.2. Write-Protected (WP) Bit in Mode Sense Data.................................................... 13-1
13.3. How to detect a WORM cartridge. ....................................................................... 13-1
13.4. How to initialize a WORM cartridge..................................................................... 13-1
13.5. How to handle the WORM cartridge in the drive................................................ 13-2
SDX-1100V series Ver.1.0 Table of Contents
14. APPENDIX G: CD-ROM DEVICE EMULATION FOR DISASTER
RECOVERY ...................................................................................................... 14-1
14.1. Overview................................................................................................................ 14-1
14.2. Creating Disaster Recovery Tape........................................................................ 14-1
14.3. Configuring The Drive For Disaster Recovery Operation.................................. 14-1
14.4. Exiting DR Mode ................................................................................................... 14-1
14.5. Supported CD-ROM DR Command Set............................................................... 14-1
14.5.1. Inquiry (12h)........................................................................................................ 14-1
14.5.2. Read 10 (28h) ..................................................................................................... 14-1
14.5.3. Read Capacity (0x25).......................................................................................... 14-1
14.5.4. Read TOC (0x43)................................................................................................ 14-2
14.5.5. Mode Sense/Select Page Code 0x3C................................................................. 14-2
14.6. Reset Handling...................................................................................................... 14-2
SDX-1100V series Ver.1.0 Table of Contents
This page intentionally left blank.
SDX-1100V series Ver.1.0 Table of Contents
1.Introduction
1. Introduction
1.1. About this Product Specification Manual
This Product Specification Manual is applicable for AIT-5 drive.
This manual provides information about the Sony SDX-1100V series Advanced Intelligent Tape Drives which is
necessary to integrate the drives into OEM products. This manual describes the specifications, SCSI Interface,
diagnostics, operation and installation of the Sony AIT-5 Tape Drives.
The Sony SDX-1100V drive uses data compression to achieve high capacity and high transfer rates. Actual
capacity and transfer rate depends on the source file type. The capacity ratings listed in the next subsection are
based on a 246 meter tape AIT-5 cassette. The Sony SDX-1100V drive is a high capacity data storage device
using Advanced intelligent tape (AIT) technology. The Sony SDX-1100V drive achieves high data integrity through
read-after-write, an additional level of Error Correction Code, and other features.
The Sony SDX-1100V drives provide MIC technology that automatically enhance reliability and performance. The
Sony SDX-1100V drives provide read and write capability for MIC user data area.
1.2. Introducing the Sony AIT Technology
While magnetic storage technologies continue to push the envelope of recording density and provide higher
capacities and transfer rates every 18 to 24 months, improvements in time to access this data have become very
limited. Since 1990, tape recording densities have increased up to ten fold, while the time to access this data
has increased less than two fold, creating a large mismatch between the amount of stored data and the ability to
access it.
This large “gap” between data access latency and area density has created a dilemma in application development
and limited the potential to implement truly cost-effective tertiary storage solutions. Many applications
compensated for this deficiency by incorporating multiple redundant tape drives, at higher cost, to achieve an
acceptable level of service for their users. Sony’s new Advanced Intelligent Tape design has recognized this need
and provided an innovative approach to solving the data latency problem while increasing capacity and data
transfer rates.
Traditional, older tape technologies relied mostly on conventional mechanical means, such as faster search
speeds or an on-tape index to improve access to stored data. While improvements in electronics and magnetics
have been the main enablers of increased capacity and transfer rates, rarely have these same technologies been
employed to significantly improve access to data.
Sony’s Advanced Intelligent Tape (AIT) architecture has deviated from conventional designs and employed
electronic enhancements to significantly improve access to stored data, using a captive, non-volatile memory
chip contained within the magnetic data cartridge. Known as Memory-In-Cassette, or MIC, this memory chip
provides a direct and immediate connection to the tape drive’s on-board processors to enable quick media
load, fast access to user files and provide a wealth of data about the history and current state of the data
cartridge.
1.3. Features of the Drive
Major features of the Sony SDX-1100V include:
• Capacity
100 Gbyte typical when using 230 meter tape AIT-3 cassette (SDX3-100C)
260 Gbyte with 2.6:1 Data Compression
150 Gbyte typical when using 246 meter tape AIT-3Ex cassette (SDX3X-150C)
390 Gbyte with 2.6:1 Data Compression
200 Gbyte typical when using 246 meter tape AIT-4 cassette (SDX4-200C)
520 Gbyte with 2.6:1 Data Compression
400 Gbyte typical when using 246 meter tape AIT-5 cassette (SDX5-400C)
SONY AIT-5 drive SDX-1100V series Ver.1.0
1-1
1.Introduction
1040 Gbyte with 2.6:1 Data Compression
• Sustained transfer rate
16 Mbyte/sec when using AIT-3 cassette
18 Mbyte/sec when using AIT-3Ex cassette
24 Mbyte/sec when using AIT-4 cassette and AIT-5 cassette
• Supported Format
AIT-3 (Read/Write)
AIT-3Ex (Read/Write)
AIT-4 (Read/Write)
AIT-5 (Read/Write)
• Not compatible with the DDS and EXABYTE format tapes
• Burst transfer rate
12 Mbyte/sec Asynchronous
160 Mbyte/sec Synchronous
• Large 96 MB Buffer Memory
• 3.5” Standard Height, 5.25” Half Height
• Embedded SCSI interface (Ultra 160 LVD, Single-ended or Low Voltage differential)
• Supports Variable or Fixed record length
• Supports SCSI Disconnection/Arbitration
• Read After Write (RAW) On and Off capability
• Read Retry On and Off capability
• Frame rewrite function –AIT-3
• Fragment rewrite function – AIT-3Ex, AIT-4 and AIT-5
• Three levels of Error Correction Code (ECC) – AIT-3
• Two levels of Error Correction Code (ECC) – AIT-3Ex, AIT-4 and AIT-5
• High Speed search
• Random read, Append write
• MIC Support (Automatic reliability and performance enhancement.)
• MIC Support (Read and write capability for MIC user data area.)
• Remote-MIC Support
• Tape Alert
1-2
SONY AIT-5 drive SDX-1100V series Ver. 1.0
1.Introduction
1.4. Reference
Please refer to the following documents for additional information:
1
•SCSI-2 ANSI X3.131.-1996 Small Computer Systems Interface-2 (SCSI-2).
• SCSI Parallel Interface-2 (SPI-2) ANSI X3T10-1142D rev 20b.
ANSI X3T9.2/86-109 (Revision 10H, or above), available through ANSI.
• SCSI Parallel Interface-3 (SPI-3) ANSI INCITS 336-2000
• SCSI Architecture Model-2 (SAM-2) ANSI INCITS 366-2003
• ALDC - Adaptive Lossless Data Compression (ALDC) Algorithm;
2
ECMA-222, available through ECMA.
•
1.4.1. How to get ECMA-329 Standard Document
You can get the ECMA-329 Standard Document file from the following URL.
http://www.ecma-international.org/publications/standards/standard.html
1
ANSI (American National Standard for Industry)
2
ECMA (European Computer Manufacturers Association)
SONY AIT-5 drive SDX-1100V series Ver.1.0
1-3
1.Introduction
This page intentionally left blank.
1-4
SONY AIT-5 drive SDX-1100V series Ver. 1.0
2.Specification
2. Specifications
Physical, environmental and performance specifications for the SDX-1100V and SDX-1100V/R.
2.1. Specifications
2.1.1. Dimensions
The SDX-1100V
Height
Width
Depth
41.2 mm (1.62 in)
101.6 mm (4.00 in)
155.0 mm (6.10 in)
± 0.5 mm (0.02 in)
± 0.5 mm (0.02 in)
± 0.5 mm (0.02 in)
The SDX-1100V/R
Height
Width
Depth
41.2 mm (1.62 in)
146.0 mm (5.75 in)
155.0 mm (6.10 in)
± 0.5 mm (0.02 in)
± 0.5 mm (0.02 in)
± 0.5 mm (0.02 in)
Note: The above dimensions do not include the front panel thickness, eject button and SCSI connector.
_
+
7.6 0.5mm
_
+
[0.30" 0.02"]
_
+
Height 41.2 0.5mm
_
+
[1.62" 0.02"]
_
+
Depth 155.0 0.5mm
_
+
[6.10" 0.02"]
_
+
Width 101.6 0.5mm
_
+
[4.00" 0.02"]
_
+
7.4 0.6mm
_
+
[0.29" 0.02"]
Figure 2-1: Dimensions (SDX-1100V)
SONY AIT-5 drive SDX-1100V series Ver.1.0
2-1
2.Specification
2.1.1.1. Mounting Holes
Figure 2-2a gives details of the mounting holes for the Sony SDX-1100V and figure 2-2b for the Sony
SDX-1100V/R.
_
+
60.0 0.3mm
_
+
[2.36" 0.01"]
_
+
21.0 0.3mm
_
_
_
+
+
+
[0.83" 0.01"]
90.0 0.3mm [3.54" 0.01"]
_
+
7.4 0.6mm
_
_
+
_
+
[0.29" 0.02"]
+
155.0 0.5mm [6.10" 0.02"]
_
_
+
+
9.8 0.6mm [0.39" 0.02"]
_
_
+
+
31.0 0.3mm
42.0 0.3mm
_
_
+
+
[1.22" 0.01"]
[1.65" 0.01"]
_
_
+
+
70.0 0.3mm [2.76" 0.01"]
Figure 2-2a: SDX-1100V Mounting Holes
2-2
SONY AIT-5 drive SDX-1100V series Ver. 1.0
2.Specification
_
+
7.0 0.5mm
_
_
_
+
+
+
[0.28" 0.02"]
79.2 0.3mm [3.12" 0.01"]
_
+
8.4 0.5mm
_
+
[0.33" 0.02"]
_
+
47.5 0.3mm
_
_
+
_
+
79.2 0.3mm [3.12" 0.01"]
[1.87"
+
0.01"]
_
_
+
+
7.6 0.5mm
7.4 0.6mm
_
_
_
_
+
+
+
+
155.0 0.5mm [6.10" 0.02"]
[0.30" 0.02"]
[0.29" 0.02"]
_
+
9.8 0.6mm
_
+
[0.39" 0.02"]
_
_
+
+
70.0 0.3mm [2.76" 0.01"]
_
_
+
31.0 0.3mm
42.0
+
0.3mm
_
[1.65"+0.01"]
_
+
[1.22" 0.01"]
_
+
47.5 0.3mm
_
_
_
+
+
+
79.2 0.3mm [3.12" 0.01"]
[1.87" 0.01"]
Figure 2-2b: SDX-1100V/R Mounting Holes
SONY AIT-5 drive SDX-1100V series Ver.1.0
2-3
2.Specification
2.1.2. Weight
SDX-1100V
0.8 kg, without a cassette and a front bezel.
1.1 kg, without a cassette and a front bezel.
SDX-1100V/R
2.1.3. Connectors
The SDX-1100V has a SCSI connector with a power connector and Jumpers at the positions shown in Figure 2-3.
All other connectors are for use by Sony’s manufacturing and service facilities only.
Jumpers
Figure 2-3: Connector Positions
Power Connector
SCSI 68 pin Connector
2.1.3.1. SCSI Cables and Terminators
The Single-Ended SCSI configuration and Low-Voltage-differential SCSI configuration are supported by
SDX-1100V, and SDX-1100V/R The hardware specification of this interface can be found in Clause 3. Physical
Characteristics, of the X3T10/1142D (SCSI Parallel Interface2) standard. Only unshielded connectors are
supported. Possible cable and connector sources are listed below. This does not imply that these are the only
sources for SCSI accessories.
Note: When using high speed data transfer with the SDX-1100V it is recommended that total length of the SCSI
data cable not exceeded 1.5m for Single Ended SCSI configuration. As for Low-Voltage-differential SCSI
configuration, less than 12m is recommended.
Cable
30 AWG Ribbon
Hitachi UL 20848 (or equivalent)
Connector
AMP 1-786090-7 (or equivalent)
2.2. Environmental Specifications
The specifications which apply when media is present may be different than these.
2.2.1. Temperature and Humidity Range
Temperature
Operating
Non-Operating(mech.)
Non-Operating(tape)
5 ºC to 40 ºC (ΔT < 10 ºC/h)
-40 ºC to 70 ºC (ΔT < 20 ºC/h)
-40 ºC to 45 ºC (ΔT < 20 ºC/h)
Humidity
Operating
20 to 80% RH, non-condensing
Maximum wet bulb temperature = 26 ºC
5 to 95%RH(ΔRH<30%/h)
Maximum wet bulb temperature = 45 ºC
20 to 80%RH(ΔRH<30%/h)
Non-operating (mech.)
Non-operating (tape)
.
2-4
SONY AIT-5 drive SDX-1100V series Ver. 1.0
2.Specification
2.2.2. Altitude
Operating
0 to 10,000 feet
2.2.3. Suspended Particulate
3
Operating
Less than 150 microgram/m
Based Sampling period 24 hours
2.2.4. Vibration
Operating
Swept Sine 5 to 500Hz, @0.25G Peak 1 Octave/min.
3 axis, 3 directions
Non-operating
Swept Sine 5 to 500Hz, @ 0.5G Peak 1 Octave/min.
3 axis, 3 directions
2.2.5. Shock
Operating
No Data Loss
Half Sine
Performance
5 G Peak 3 ms
3 axes, 3 directions
*Interval 10 seconds
Non-operating
No Device Damage
Half Sine
90 G Peak 3 ms
(30 G Peak 11 ms)
3 axes, 3 directions
*
Interval 10 seconds
2.2.6. Acoustic Noise
The ambient noise level is no greater than 25 dB (A). The sound-meter on (A) scale is located 1m in front of the
center of the drive front panel. (A): A curve weight
Streaming Write/Read
Insert/Eject
35dB(A)
60dB(A)
2.2.7. EMC
EMI/EMS
Radiated Emissions /
EN 55022 / 94 + EN 55022 A1 / 95 class B
Conducted noise
Emissions
EMS
ESD
Discharge Voltage
(Front Panel Only,
integrated product)
Less than 15kV: No operation failure
Less than 20kV: No drive damage
2.2.8. Orientation
The SDX-1100V can be installed in three different mounting positions as shown in the figure below. Each position
has a maximum tolerance of ± 10 degrees.
SONY AIT-5 drive SDX-1100V series Ver.1.0
2-5
2.Specification
10 10
10 10
10
10
10
10
Figure 2-4: Mounting Attitude and Tolerance
2.3. Performance Specification
The data capacity, data transfer rate and data reliability specifications this chapter require the media to conform to
the AIT-3, AIT-3Ex, AIT-4 and AIT-5 Media Specification and also require the drive and media to remain within their
respective operating and non-operating environmental specifications. The specifications below also assume that
the C3 ECC frame (AIT-3) or C3 ECC fragment (AIT-3Ex, AIT-4 and AIT-5) is generated on writing and used as
necessary on reading, and further assumes that read-after-write rewrites are used as necessary on writing.
2.3.1. Data Capacity
The SDX-1100V includes a data compression capability. When data compression is enabled the drive capacity can
increase from 2 times to 3 times. The efficiency of the data compression depends on the actual data that is being
compressed and cannot be predicted precisely prior to compression.
Format
Native
Capacity
AIT-3 Standard Format
100.0 Gbyte typical When using 230 meter tape AIT-3 cassette (SDX3-100C)
Format
Native
Capacity
AIT-3Ex Standard Format
150.0 Gbyte typical When using 246 meter tape AIT-3Ex cassette (SDX3X-150C)
Format
Native
Capacity
AIT-4 Standard Format
200.0 Gbyte typical When using 246 meter tape AIT-4 cassette (SDX4-200C)
Format
Native
Capacity
AIT-5 Standard Format
400.0 Gbyte typical When using 246 meter tape AIT-5 cassette (SDX5-400C)
2-6
SONY AIT-5 drive SDX-1100V series Ver. 1.0
2.Specification
2.3.2. Data transfer Rate
2.3.2.1. Sustained Data Transfer Rate to and from the Tape
The sustained transfer rate to and from the tape is 24Mbyte per second with AIT-4 and AIT-5 cassette, 18Mbyte
per second with AIT-3Ex cassette, 16Mbyte per second with AIT-3 cassette. For this sustained rate to be achieved,
the drive must be streaming.
2.3.2.2. Burst Transfer Rate to and from the SCSI Bus
The SDX-1100V will transmit and receive data bursts to and from the SCSI bus at a maximum burst rate of
12Mbyte per second, using Ultra 160 asynchronous transfers and maximum of 160Mbyte per second, using
Ultra160 synchronous transfers.
2.3.3. Initialize Time
Initialize Time means the period from the time the drive is powered on to the time when the drive is ready and
waiting for a SCSI command such as INQUIRY or TEST UNIT READY. Initialize Time is less than 7 seconds.
The drive will respond with BUSY status until the completion of the Initialize Time. The Initialize Time does not
include the time necessary for drive diagnostics to complete and the drive to become ready for tape insertion.
2.3.4. Load Time
Load Time means the period from the time when the operator inserts a cassette into the drive to the time
when the drive is ready. The data in the below table represents the average time for SDX-1100V. The time it
may take for retrying is not reflected here.
SDX3-100C (230 m)
SDX3X-150C (246 m)
SDX4-200C (246 m)
SDX5-400C (246 m)
Load Time
40 sec
14 sec
14 sec
14 sec
2.3.5. Unload Time
Unload Time means the period from the beginning of the unload sequence caused by Unload Command or Eject
button to the time when a cassette is ejected from the slot. Unload Time does not include Rewind time. The data in
the below table represents the average time for SDX-1100V. The time it may take for retrying is not reflected here.
SDX3-100C (230 m)
SDX3X-150C (246 m)
SDX4-200C (246 m)
SDX5-400C (246 m)
Unload Time
24 sec
24 sec
24 sec
24 sec
2.3.6. Search Time
Search Time means the period for the drive to find the position that is required by a command. This time also
depends on the tape length and the position of the head along the tape. The data in the below table represents the
average time for SDX-1100V. The time it may take for retrying is not reflected here.
SDX3-100C (230 m)
SDX3X-150C (246 m)
SDX4-200C (246 m)
SDX5-400C (246 m)
Search Time
130 sec
130 sec
130 sec
130 sec
2.3.7. Rewind Time
Rewind Time means the period from the beginning to the end of rewinding sequence. This value depends on the
tape length and the position of the head along the tape. The data in the below table represents the average
time for SDX-1100V. The time it may take for retrying is not reflected here.
SDX3-100C (230 m)
SDX3X-150C (246 m)
SDX4-200C (246 m)
SDX5-400C (246 m)
Rewind Time
105 sec
115 sec
115 sec
115 sec
SONY AIT-5 drive SDX-1100V series Ver.1.0
2-7
2.Specification
2.3.8. Long Erase Time
Long Erase Time means the period from the beginning of the Erase (long) sequence caused by Erase Command
at BOT. The data in the below table represents the average time for SDX-1100V. The time it may take for retrying
is not reflected here.
SDX3-100C (230 m)
SDX3X-150C (246 m)
SDX4-200C (246 m)
SDX5-400C (246 m)
Long Erase Time
2 hrs
2.5 hrs
2.5 hrs
5 hrs
2.3.9. Error Rate
The un-correctable bit error rate is expected to be less than 1 in 10 to the 17th.
2.3.10. Definition of Failure
A failure is defined as any permanent manufacture of the drive that prevents the user from retrieving data from
tape. This includes failure to power up, failure to unload or eject a cassette, or failure to write and read data to and
from the tape, providing that both the drive and tape are being used within specification.
Faults are not considered failures when they are related to operator error mishandling and abuse, system-related
faults (cabling problems unsupported systems, operating software and so on) no trouble found, and transportation
damage.
2.3.11. Mean Time Between Failures
The Mean Time Between Failures (MTBF) for the SDX-1100V is 400,000 power-on hours, assuming a duty cycle
of 100%, where:
Tape Motion Time
DutyCycle =
×100
PowerOn Time
2.3.12. Mean Time to Repair
The Mean Time To Repair (MTTR) of the SDX-1100V is 30 minutes. Since at the field level the entire drive is
considered a Field Replaceable Unit (FRU) the time to replace the drive with a new one is less that 30 minutes.
2.3.13. Component Life
The specified life of the SDX-1100V is 5 years average.
2.3.14. Durability
The durability of the components in the SDX-1100V will exceed the number of operations listed on the following
table:
Start/Stop
Reposition
Thread/Unthread
Load/Eject
400,000 times
3,000,000 times
100,000 times
100,000 times
2-8
SONY AIT-5 drive SDX-1100V series Ver. 1.0
2.Specification
2.4. Safety
The SDX-1100V conforms to the following safety standards:
UL/cUL
UL60950
CE (LVD)
CE (EMC)
C-Tick (EMC)
EN60950-1
EN55024 + EN55022: Class B
EN55022: Class B
AS/NZS CISPR22: Class B
CISPR22 + CISPR24
CISPR22
MIC
RPC/DoC
IEC60950-1
CB report
IEC60950-1
2.4.1. Conditions of Acceptability
The SDX-1100V is for use only in equipment where the suitability of the combination has been determined by an
appropriate certification organization (for example, Underwriters Laboratories, Inc. or the Canadian Standards
Association in North America, and the British Standards Institution or Verband Deutscher Elektrotechniker in
Europe). Other considerations include the following:
1. An enclosure must be supplied to limit the operator’s access to live parts, to provide system stability, and to
furnish the drive with the necessary grounding integrity.
2. The necessary voltage supplies must be provided. These supplies are Extra Low Voltage SEC for UL and
CSA, or Safety Extra Low Voltage for BSI, VDE, and so on, of +5V and +12V DC.
2.5. Installation Requirements
Note: Do not move the drive while it is operating. It may cause malfunction.
2.5.1. Power Requirements
Voltage
Max Ripple
Current
Typical
Maximum
5V ± 5%
12V ± 10%
100 mV p-p
150 mV p-p
1.7A
0.87A
2.5A
3.0A
* exclude SCSI terminator power
5V
4.75V
T
12V
0V
0V
10.8V
-300 ms < T < 300 ms
Figure 2-5: Power-up Sequence
Note: Voltage has to increase constantly during Power-up until Maximum is reached.
Do not turn off the drive while the tape is in the drive.
SONY AIT-5 drive SDX-1100V series Ver.1.0
2-9
2.Specification
2.6. Data Compression
The tape capacity is increased by compressing data prior to writing it to the tape. Data compression is a well
established technology for reducing the number of bits used to represent data in order to improve data transfer
rate as well as reduce the amount of storage space consumed by the data. The compression ratio depends on the
source file type. The SDX-1100V uses the ALDC Data Compression algorithm. ALDC is ECMA standard data
compression algorithm. (ECMA-222) The Data Compression control page allows the host computer to enable data
compression and decompression and also configure the way in which the drive responds to
compressed/uncompressed data boundaries on the tape. The AIT-3, AIT-3Ex, AIT-4 and AIT-5 Format allows both
compressed and uncompressed data to reside on the same tape.
The Sony SDX-1100V has a DIP switch to disable the Data Compression/ Decompression. After power-on reset
with this DIP switch set, both data compression and data decompression are disabled However, a MODE SELECT
command can override the setting of this DIP switch. After power-on reset without this DIP switch set, both data
compression and data decompression are enabled. (See clause 3.1.4)
2-10
SONY AIT-5 drive SDX-1100V series Ver. 1.0
3.Installation
3. Installation
3.1. Installation Guide
This Product Specification Manual is applicable for AIT-5 drive.
Dip switch
Jumpers
SCSI 68 pin Connector
Power Connector
Figure 3-1: DIP switch & Connector
SONY AIT-5 drive SDX-1100V series Ver.1.0
3-1
3.Installation
1 DR (Desaster Recovery) Mode
2 Emulation Mode
3 AIT Library Interface Mode
4 Reserved
ON
5 Terminator Power (ON)
6 Periodic Cleaning Req (ON)
7 DC Control-1
OFF
1
2
3
4
5
6
7
8
8 DC Control-2
Figure 3-2: DIP Switch Positions
Table 3-1: Drive Mode
DIP SW
1
2
3
ON
4
OFF
MODE
Normal
OFF OFF
ON
OFF
OFF OFF
OFF OFF OFF
ON OFF OFF
ON OFF
DR Mode
SDX-900V Emulation Mode
Library Mode
Table 3-2: Periodic Cleaning Request (Refer to 4.6.1.2)
DIP SW 6
OFF
Definition
Disable Periodic Cleaning Request
Enable Periodic Cleaning Request
ON
3.1.1. SCSI ID Number Jumper
The SCSI ID number of the SDX-1100V is selected by the SCSI ID number jumpers. The figure below shows the
jumper configuration for each of the possible SCSI IDs.
SCSI
ID3 ID2 ID1 ID0
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
:
:
:
:
:
:
:
:
|
|
|
|
|
:
:
:
:
|
|
|
|
:
:
:
:
|
|
|
|
:
:
|
:
|
:
|
:
|
:
|
:
|
:
|
:
|
:
|
Parity Disable
No Connection
ID3
|
:
:
|
ID2
ID1
|
ID0
:
:
|
|
:
:
|
|
|
|
|
Figure 3-3: Jumper positions
: = OPEN
| = CLOSED
Jumper not installed
Jumper installed
3.1.2. Termination Power Switch
Position 5 of DIP switch is used to set whether SDX-1100V provides the termination power to pin 17,18,51,52 on
SCSI bus, or not.
3-2
SONY AIT-5 drive SDX-1100V series Ver.1.0
3.Installation
3.1.3. Parity Disable Jumper
Parity check function can be disabled by Jumper. Parity check is disabled while left end jumper is installed. Parity
generate function is always enabled.
Parity
Setting
Disable
Enable
|
:
: = OPEN
| = CLOSED
Jumper not installed
Jumper installed
3.1.4. Data Compression ON Switch
Data compression can be selected by DIP switch.
Table 3-3: Data Compression Switches
DC Control-2 Definition
DC Control-1
OFF
OFF
Compression disabled at power-on. The host is allowed to control
compression.
OFF
ON
ON
Compression disabled at power-on. The host is not allowed to
control compression.
Compression enabled at power-on. The host is allowed to control
compression.
Compression enabled at power-on. The host is not allowed to
control compression.
OFF
ON
ON
3.1.5. Power Connector
The power connector is illustrated as Figure 3-4.
4 3 2 1
5V GND GND 12V
Figure 3-4: Power Connector
3.1.6. SCSI 68 pin Connector
Figure 3-5 illustrates SCSI 68 pin connector, and table 3-4 shows the assignments for the pins of the connector.
Pin 34
1
Pin 68
35
Figure 3-5: Non-shielded SCSI Device Connector
SDX-1100V supports both Low-Voltage-Differential SCSI configuration as shown table 3-4 and Single-Ended SCSI
configuration as shown table 3-5. SDX-1100V detects and switches SCSI configuration between
Low-Voltage-Differential and single-ended modes by monitoring DIFFSENS signal assigned pin 16 in SCSI bus.
(Refer to table 3-4)
SONY AIT-5 drive SDX-1100V series Ver.1.0
3-3
3.Installation
Table 3-4: SDX-1100V SCSI Signals
(Low-Voltage-Differential Type BUS P Cable Signal Assignment)
Signal Name
Cable Conductor Number
Signal Name
-DB(12)
-DB(13)
-DB(14)
-DB(15)
-DB(P1)
-DB(0)
-DB(1)
-DB(2)
-DB(3)
-DB(4)
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
1
2
3
4
5
6
7
8
+DB(12)
+DB(13)
+DB(14)
+DB(15)
+DB(P1)
+DB(0)
+DB(1)
+DB(2)
+DB(3)
+DB(4)
+DB(5)
+DB(6)
+DB(7)
+DB(P)
GROUND
DIFFSENS
TERMPWR
TERMPWR
RESERVED
GROUND
+ATN
GROUND
+BSY
+ACK
+RST
+MSG
+SEL
+C/D
+REQ
+I/O
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
-DB(5)
-DB(6)
-DB(7)
-DB(P)
GROUND
GROUND
TERMPWR
TERMPWR
RESERVED
GROUND
-ATN
GROUND
-BSY
-ACK
-RST
-MSG
-SEL
-C/D
-REQ
-I/O
-DB(8)
-DB(9)
-DB(10)
-DB(11)
+DB(8)
+DB(9)
+DB(10)
+DB(11)
3-4
SONY AIT-5 drive SDX-1100V series Ver.1.0
3.Installation
Table 3-5: SDX-1100V SCSI Signals (Single-Ended Type BUS P Cable Signal Assignment)
Signal Name
-DB(12)
-DB(13)
-DB(14)
-DB(15)
-DB(P1)
-DB(0)
Cable Conductor Number
Signal Name
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
1
2
3
4
5
6
7
8
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
TERMPWR
TERMPWR
RESERVED
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
GROUND
-DB(1)
-DB(2)
-DB(3)
-DB(4)
-DB(5)
-DB(6)
-DB(7)
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
-DB(P)
GROUND
GROUND
TERMPWR
TERMPWR
RESERVED
GROUND
-ATN
GROUND
-BSY
-ACK
-RST
-MSG
-SEL
-C/D
-REQ
-I/O
-DB(8)
-DB(9)
-DB(10)
-DB(11)
SONY AIT-5 drive SDX-1100V series Ver.1.0
3-5
3.Installation
3.1.7. Attaching and Removing the Dust Cover
3.1.7.1. Attaching the Dust Cover
(1) Align the dust cover’s hinge clips (one on each side) with the pins of the drive bezel.
• The dust cover should be positioned so that the six magnets on the cover’s back face the drive bezel.
• Holding the dust cover at an angle as shown in the figure below, set the hinge clips on top of the bezel
pins, positioning them so that they bracket the pins.
(2) Press down at an angle on each side in turn until you hear the hinge clips click into place.
Caution:
Do not press the dust cover in horizontally from the side. Doing so could cause the dust cover to break.
(3) Close the dust cover.
This completes attachment of the dust cover.
3-6
SONY AIT-5 drive SDX-1100V series Ver.1.0
3.Installation
3.1.7.2. Removing the Dust Cover
(1) Open the dust cover.
(2) Holding the dust cover at both corners, carefully raise the dust cover.
The dust cover hinge clips and drive bezel pins uncouple.
SONY AIT-5 drive SDX-1100V series Ver.1.0
3-7
3.Installation
This page intentionally left blank.
3-8
SONY AIT-5 drive SDX-1100V series Ver.1.0
4.Operation
4. Operation
4.1. Summary of LED Indications
The drive has 3 LEDs. Each LED shows "Tape Motion", "Cleaning Request", and "Replace Tape" as defined.
"Tape Motion" means to show the tape motion in the drive.
"Cleaning Request" to be on means that CLEANING is required.
"Replace Tape" to be on means that the tape needs to be replaced. It should be on when a medium error
occurred.
All of the three LEDs flash fast simultaneously when the drive is in malfunction.
The following table shows the meaning of each LED indications:
Table 4-1: Meaning of each LED indications
LED
Tape Motion
No Tape
Tape Loaded
Cleaning Request
Cleaning is Not Necessary
Cleaning Request
Replace Tape
No Media Error Occurred
Media Error Occurred
Off
On
Flash Slowly
Tape Access in Progress Cleaning is Not Completed
(Write/Read)
Flash Fast
Tape Access in Progress
(Others)
All LED Flash Fast
H/w Error Occurred
Flash Fast (0.3sec on/ 0.3sec off)
0.3 sec
Flash Slowly (0.9sec on/ 0.3sec off)
0.9sec
0.3sec
SONY AIT-5 drive SDX-1100V series Ver.1.0
4-1
4.Operation
4.2. Operator Action
4.2.1. Powering up the Drive
After the initial installation of the drive has been verified, power can be applied to the unit. The +12V and +5V
power must be applied simultaneously. (See Figure 2-5) The drive will execute a power-up diagnostic and then
comes ready.
Once the tape has been loaded the drive sends a CHECK CONDITION response on receipt of the next SCSI
command from the host. The UNIT ATTENTION key is set in the returned REQUEST SENSE data to indicate that
the tape may have been changed. (Sense Key/ASC/ASCQ = 06/28/00)
4.2.2. Inserting Cassettes
The operator inserts a cassette into the slot on the front panel. As the cassette is inserted, the drive takes it and
automatically loads it into the drive mechanism. The drive performs a tape load sequence as described in clause
4.3.1
4.2.3. Removing Cassettes
The cassette can be removed from the drive either in response to a SCSI UNLOAD command, or by pressing the
Eject button. The operator uses the Eject button to initiate the unload sequence (see clause 4.3.2). The
mechanism rewinds the tape to Beginning of Media (BOM), unthreads it, and ejects the cassette from the slot.
The operation of the Eject button is disabled if the host has previously sent a SCSI PREVENT ALLOW MEDIA
REMOVAL command with prevent bit set to one. In this case, pressing the Eject button has no effect, and
does not initiate an Unload sequence. The operation of the Eject button returns to normal operation following
receipt of an PREVENT ALLOW MEDIA REMOVAL command with prevent bit clear.
4.2.4. Hard Reset Hole
Hard reset hole
In case of emergency, you can immediately reset the drive itself by pushing the switch in the “Hard Reset Hole”
with the tip of a pin. However, there is a risk of losing data upon execution of this operation in the Write or Read
mode. The hardware reset operation is only for manufacturing and repair purposes.
4.2.5. Write-Protecting Cassettes
The cassettes can be write-protected by sliding the tab on the back of the cassette open. In this state, data can be
read from the tape but not written to it.
4-2
SONY AIT-5 drive SDX-1100V series Ver.1.0
4.Operation
AIT-3/3Ex/4/5
4.3. Internal Function
4.3.1. The Load Sequence
During load sequence, the following occurs:
(1) The drive mechanism accepts the cassette and threads the tape. The tape is then moved to
Beginning-of-Tape(BOT). If the format is not AIT-3, AIT-3Ex, AIT-4 and AIT-5, the drive rewinds the tape to
BOT and awaits an UNLOAD command.
(2) Finally the drive goes on-line.
4.3.2. The Unload Sequence
The drive will always write any buffered data out to tape followed by an EOD prior to initiating the Unload
sequence.
During this sequence the tape is rewound to BOT and, if the tape is write-enabled, the copy of the tape log held in
RAM is written back to tape. The tape is then rewound to BOM and the tape unthreaded from the mechanism. At
this stage the tape is either retained in the drive or ejected, depending on media removal is enabled by the
Prevent Allow Media Removal command.
4.3.3. Power-Fail or SCSI Reset Handling
If there is a power-fail, the drive performs the following actions, and reverts to its default configuration:
(1) The drive remains positioned at the point where the power-fail or SCSI Reset occurred.
(2) It executes the Power-Up sequence of self-tests. (When power is restored.)
(3) The drive returns a CHECK CONDITION status for the first command after the power-fail or Reset. The next
command from the initiator should be a REQUEST SENSE. The drive will return sense data including a
sense key that will indicate that the drive has been reset. (Sense Key / ASC / ASCQ = 06/29/00)
SONY AIT-5 drive SDX-1100V series Ver.1.0
4-3
4.Operation
4.3.4. Diagnostic and Normal Status Displays
This clause describes LED displays while the drive is starting up. When the power is turned on, the drive will go
through its diagnostics to reach normal status. When a failure is detected during diagnostics, the LEDs show that
the drive is out of order and needs to be repaired.
4.3.4.1. Diagnostic Status Display
The drive starts with its Diagnostic function. This is made up of the Front Panel Test and the Kernel Test.
Front Panel Test
LED display sequence:
TAPE
CLEANING
REPLACE
MOTION
REQUEST
TAPE
0.3sec
0.3sec
0.3sec
0.3sec
0.3sec
0.3sec
0.3sec
0.3sec
0.3sec
0.3sec
0.3sec
on
-
on
-
on
-
-
on
-
-
on
-
on
-
-
on
-
-
on
-
-
on
-
on
-
-
-
on
-
-
on
-
Front Panel Test
Kernel Test
on
This function is for checking TAPE MOTION, CLEANING REQUEST and REPLACE TAPE LEDs and the related
circuits. No errors can be generated as this test is only for operator verification of indicator operation.
Kernel Test
After the Front Panel Test, the drive checks its internal units. When a Diagnostic error occurs, the drive must be
powered off. The drive will not work and should be checked or repaired immediately.
The purpose of the diagnostic is to test the drive electronics for functionality. If the diagnostic request comes from
the host through SCSI, then the results are reported through SCSI.
4.3.4.2. Normal Status Display
After the Diagnostic Display, when no failures are detected, the drive is in the Normal Status. The LEDs show
various Normal Status (No Error) indications as shown in the table below:
4-4
SONY AIT-5 drive SDX-1100V series Ver.1.0
4.Operation
Table 4-2: Normal LED indications
LED
Tape Motion
No Tape
Tape Loaded
Cleaning Request
Cleaning is Not Necessary
Cleaning Request
Replace Tape
No Media Error Occurred
Media Error Occurred
Off
On
Flash Slowly
Tape Access in Progress Cleaning is Not Completed
(Write/Read)
Flash Fast
Tape Access in Progress
(Others)
All LED Flash Fast
H/w Error Occurred
4.4. Tape Alert
1. Tape Alert is a new specification for tape drive and library diagnostics. With this specification, any storage
software application can access detailed device diagnostic information and interpret the information in a
standard way.
2. Tape Alert information shall be accessed using LOG SENSE page 2Eh. Tape Alert configuration shall be
performed using MODE SELECT page 1Ch. The MODE SENSE and MODE SELECT configuration of the
Tape Alert interface is compatible with the information exceptions control page (1Ch). The application client
shall first check the tape drive to determine whether it supports the Tape Alert log page (0x2Eh). The default
application client access to the Tape Alert log page shall be performed using a polling method, with the page
control bits in the LOG SENSE command set to 00h.
3. At minimum, the Tape Alert log page shall be read from the tape drive/autoloader device for the following:
a. At the beginning of a Write/read job, even if the media is not loaded
b. Immediately after an unrecoverable error during the write/read job
c. At the end of each tape when the write/read job spans multiple tapes. If the tape is to be ejected then the
log page shall be read before the tape cartridge is ejected
d. At the end of a write/read job
4. The application client may also poll the Tape Alert log page at regular intervals (e.g. every 60 seconds) while
the tape drive is idle. The application client may use the Tape Alert mode page (1Ch) to configure other
access methods, depending on what options are supported by the tape drive.
5. Each time the application client reads the Tape Alert log page, it shall check all 64 flags to discover which are
set (there may be more than one). The definitions of the 64 flags are device type specific. There is one
definition for tape drive/autoloader devices, and a different definition for stand-alone changer devices (in
libraries). For each flag set, the application client shall communicate the defined error message and severity
for that flag to the user and log it. If multiple flags are set simultaneously, they shall be displayed together in
ascending order of severity. The information read in the Tape Alert flags shall not in itself cause the application
client to stop a current backup or restore operation.
4.5. Tape Format
The drive is an implementation of the Advanced Intelligent Tape format, a standard developed by Sony for 8mm
data storage drives.
AIT-3
- C1,C2, first and second level Error Correction Code, providing correction for random and Burst Symbol errors.
- C3 ECC, third level Error Correction Code, providing correction across frames within groups
AIT-3Ex, AIT-4, AIT-5
- C1, first level Error Correction Code, providing correction for random and Burst Symbol errors.
- C3 ECC, third level Error Correction Code, providing correction across frames within groups
- Read-After-Write, where data is verified immediately after it is written and re-written if there is any error.
- Randomizer, to reduce inter-symbol interference.
SONY AIT-5 drive SDX-1100V series Ver.1.0
4-5
4.Operation
4.6. Maintenance, Troubleshooting and Service
4.6.1. Head Cleaning
In case of SDX-1100V,a cleaning function which prevents and recovers from head contamination is built in the
drive. However, to keep optimum Read/Write performance, cleaning cassette is recommended to use.
4.6.1.1. Message When Cleaning Cassette is Necessary
When drive displays cleaning cassette requirement, (Cleaning Request LED is on or in case of SCSI, CLN bit is
set at Request Sense.) use specified cleaning cassette (model name: SDX5-CL)
4.6.1.2. The condition of Cleaning Request
Cleaning Request is required under the Condition of (1) and (2).
(1) Every 168 hours (7days x 24hours) of operation when Periodic Cleaning Request of DIP switch is On .
(2) When the rate of Rewrite/Reread is high.
4.6.1.3. Usage of Cleaning Cassette
(1) Drive displays cleaning cassette requirement.
(2) When specified cleaning cassette is inserted, automatic cleaning operation starts and when it’s over, the
cassette is ejected.
(3) One cleaning cassette can be used approximately 50 times in average.
(4) When the cleaning cassette is not ejected without doing cleaning, it is possible that there were no more
cleaning tape left. Since cleaning tape cannot be used twice, please insert new cleaning cassette in this
case.
(5) Cleaning casette can be inserted in other drives or consumer 8 mm drives, but you cannot expect good
effect.
(6) The drive will not eject cleaning cassette for consumer drives or for any other format. “Cleaning is Not
Completed” is indicated by the Cleaning Request LED.
4.6.2. Troubleshooting Guide
Problems encountered while operating the Sony SDX-1100V tape drive fall into two categories: Operational
problems and Read/Write problems.
Operational problems include any conditions that prevent the tape drive from operating. Operational problems
usually are discovered the first time the drive is installed on a system or when the system configuration is changed
or physically moved.
Read/Write problems include conditions that effect the transfer of data to and from the tape drive. Commands such
as REWIND, REQUEST SENSE and UNLOAD perform normally but data transfers fail.
The following clauses describe the recommended procedures for solving operational and read/write problems.
4.6.2.1. Operational Problems
The tape drive will not accept a tape cartridge.
Withdraw the tape cassette and turn the power to drive off, wait 5 seconds, then back on. Observe the drive for a
normal power up sequence (see clause 4.3.4). If the LEDs do not light, check the power supply and power cable
connection. If the drive completes the power on sequence normally but still won’t accept the tape cassette, the
drive may be defective.
A tape may already be in the drive. Tape LED is on. Press EJECT to remove the first tape. The power has been
removed from the drive with a tape loaded. When the power is restored to the drive, it will detect the tape and
rewind the tape to BOT. Press EJECT remove the cassette.
4-6
SONY AIT-5 drive SDX-1100V series Ver.1.0
4.Operation
A tape is in the drive and will not eject.
If the SCSI command PREVENT ALLOW MEDIA REMOVAL (with Prevent bit set to one) has been sent to the
drive, the cartridge will be retained in the drive even after an UNLOAD command. The EJECT button is also
disabled. Send an PREVENT ALLOW MEDIA REMOVAL (with prevent bit clear) command, issue a SCSI bus
reset, or power the drive off and back on to override this condition.
If Tape is still in the drive after following the above procedure. the drive has a serious problem and should be
returned to Sony for repair with the tape in place.
Note: If it is absolutely mandatory that the tape cassette be removed prior to returning the drive for repair the
following Emergency Cassette Removal procedure should be followed:
Caution: This procedure should only be attempted by a mechanically qualified person and will probably result in
the tape being unusable. Do not proceed if further damage to the tape drive would be done.
Reel motor
Loading motor
Photo 1: Emergency Tape Removal Procedure
Emergency Cassette Removal Procedure
1. Remove the drive from the chassis or enclosure to allow access to the bottom of the drive.
2. Remove the drive’s top cover.
3. Locate the small opening in the bottom of the drive and insert the tip of a precision screwdriver so that the
Loading motor shaft can be rotated.
4. Rotate the motor shaft clockwise to bring the threading mechanism back to the initial position.
SONY AIT-5 drive SDX-1100V series Ver.1.0
4-7
4.Operation
A
Tape guide surface
Tape guide surface
C
C
Cartridge
B
Detail A
Photo 2: The Initial Position of the Threading Mechanism
Caution:
Stop rotating the motor shaft immediately, when the guide B (see detail A of Photo 2) gets to the area
below the line C-C (This line is defined by 2 circular tape guide surfaces of the cartridge).
Otherwise the gear of the drive can be damaged.
5. Before manual eject procedure, tape slack must be removed in order to prevent tape damage. Rotate the
gear mechanism located on the bottom of the drive counterclockwise to tighten the tape.
6. After the tape slack has been removed, continue to turn the Loading moter shaft located on the bottom of the
drive clockwise by a precision screwdriver until the tape cartridge is lifted out of the drive mechanism and is
ejected.
7. Return the drive to Sony for repair.
4-8
SONY AIT-5 drive SDX-1100V series Ver.1.0
4.Operation
The drive powers up properly and loads and unloads tapes but will not respond to any SCSI commands.
(A) If SCSI bus reset does not cause the drive to reset (same as power-on self test):
- Check the SCSI cable connectors
- Check SCSI cable pin one is aligned with the SCSI connector pin one
- Check for a broken cable or defective connector
- Try another known good SCSI device in the same location
(B) If SCSI bus reset causes the drive to reset then the problem is with the SCSI bus addressing or termination.
- Check that the SCSI bus ID jumper is set for the proper address (see clause 3.1.1)
- Check SCSI bus termination. The two SCSI devices at the ends of the bus should be terminated. No
other units should have terminators installed
Note: The strength of the SCSI bus signals can be affected if too many terminators are installed (Signal drivers
can be damaged as well)
4.6.2.2. Read/Write Problems
To prevent read/write errors, follow the cleaning recommendation in clause 4.6.1 If a read/write error occurs, a
combination of the following steps should correct the problem.
- Remove the tape.
- Clean the drive with the AIT cleaning cartridge.
- Load a new tape in the drive.
- Retry the operation.
Note: If these steps do not correct the problem the drive may be defective and should be returned to Sony for
service.
4.6.2.3. Replace Tape
When Media Error occur drive will indicate that tape is bad by turning on the Replace Tape LED. If this condition
occurs, a combination of the following steps should correct the problem.
- Remove the tape.
- Clean the drive with the AIT cleaning cartridge.
- Load a new tape in the drive.
- Retry the operation.
Note: If these steps do not correct the problem the drive may be defective and should be returned to Sony for
service.
4.6.2.4. Media Warning
When a Media Warning threshold is exceeded the drive will indicate that the tape is bad by flashing the Replace
Tape LED MEW (Media Warning) bit is 1. The indicator will be on for 0.9 seconds, off for 0.3 seconds. The Tape
Motion and Cleaning Request LEDs will operate normally. If this occurs, the data on the cassette should be copied
onto a new one and the old cassette discarded. This status is cleared by unloading the cassette.
4.6.3. Clearance for Service
All servicing is performed only after removal of the drive from is mounting. It is recommended that in mounting the
drive into a chassis provisions should be made to allow easy access to the mounting screws (see Figure 2-2).
4.6.4. Packaging for Return to Sony
The drive should be returned in its original packaging. Sony will not take responsibility for shipping damage
caused to an improperly packaged drive.
SONY AIT-5 drive SDX-1100V series Ver.1.0
4-9
4.Operation
This page intentionally left blank.
4-10
SONY AIT-5 drive SDX-1100V series Ver.1.0
5.SCSI Interface
5. SCSI Interface
5.1. Introduction
The Sony SDX-1100V uses the SCSI interface to connect to the host system. The Small Computer System
Interface (SCSI) is an industry standard interface, approved by the American National Standards Institute (ANSI).
It is recommended that this document be used along with the ANSI standard document. The ANSI specification
defines the interface in general while this document describes the specific implementation for this unit. The SCSI
documents, listed in detail in clause 1.2, offer the information required to integrate this unit with SCSI-compatible
computer systems. This clause includes four sub-clauses:
• Introduction
• SCSI Bus Operation
• SCSI Messages
• SCSI Status
Note: The details of each SCSI Command are covered in Section 6.
The Introduction provides general, high-level information. For the hardware description and the installation
requirements, see Section 2.The SCSI protocol supported by the unit are covered in the Bus Operation, Message,
and Status clauses.
5.1.1. Overview of the SCSI Interface
The SCSI implementation provides the unit with a standard set of features and functions. These include:
• Asynchronous and Synchronous communication modes
• Single-ended / Differential Configurations
• Full implementation of Mandatory commands
• Implementation of most sequential non-Mandatory commands
• Ultra160 SCSI Interface
i.
ii.
Cyclic Redundancy Check (CRC)
Double Transition Clocking (DT)
iii. Domain Validation
5.1.2. Supported Messages
The following messages are supported: (alphabetic order)
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
Abort
Bus Device Reset
Command Complete
Disconnect
Extended Message - Synchronous Data Transfer Request
Extended Message - Wide Data Transfer Request
Extended Message - Parallel Protocol Request
Identify (w/ & w/o disconnect)
Ignore Wide Residue
Initiator Detected Error
Message Parity Error
Message Reject
No Operation
Restore Pointers
Save Data Pointer
For implementation details on these messages, see clause 5.3.
SONY AIT-5 drive SDX-1100V series Ver.1.0
5-1
5.SCSI Interface
5.1.3. Supported Commands
The following commands are supported. They include all Mandatory and Extended commands, most Optional
commands.
Table 5-1: Supported SCSI Commands
Command Name
Operation Code
19h
ERASE
INQUIRY
12h
LOAD/UNLOAD
LOCATE
LOG SELECT
1Bh
2Bh
4Ch
4Dh
15h
LOG SENSE
MODE SELECT (6)
MODE SELECT (10)
MODE SENSE (6)
MODE SENSE (10)
PERSISTENT RESERVE IN
PERSISTENT RESERVE OUT
55h
1Ah
5Ah
5Eh
5Fh
1Eh
08h
PREVENT ALLOW MEDIUM REMOVAL
READ
READ ATTRIBUTE
READ BLOCK LIMITS
READ BUFFER
READ POSITION
RECEIVE DIAGNOSTIC RESULTS
RELEASE (6)
8Ch
05h
3Ch
34h
1Ch
17h
RELEASE (10)
57h
REPORT DENSITY SUPPORT
REPORT DEVICE IDENTIFIER
REPORT LUNS
REQUEST SENSE
RESERVE (10)
44h
A3h
A0h
03h
16h
RESERVE (10)
56h
REWIND
01h
SEND DIAGNOSTIC
SET DEVICE IDENTIFIER
SPACE
1Dh
A4h
11h
TEST UNIT READY
WRITE
WRITE ATTRIBUTE
WRITE BUFFER
00h
0Ah
8Dh
3Bh
10h
WRITE FILEMARKS
5-2
SONY AIT-5 drive SDX-1100V series Ver.1.0
5.SCSI Interface
5.2. SCSI Bus Operation
5.2.1. Typical SCSI Operation
This example describes the typical SCSI bus sequence between the host and the drive.
1. After waiting for the bus clear time the Host arbitrates for the SCSI bus. It does this by asserting BSY and
the data line corresponding to its bus ID. If any other devices wish to compete for the bus, they also assert
BSY and the appropriate data line. Each arbitrating device then inspects the data bus. The device with the
highest ID wins the bus. All the other devices must release BSY and their data lines.
2. The Host attempts to select the target by asserting SEL and releasing BSY. The Host maintains its ID and
asserts the target’s ID on the data bus. Each target then checks the data lines. If the target’s ID matches that
on the data bus, it accepts selection by asserting BSY. Once the Host has detected BSY being asserted, it
asserts ATN to indicate that it wants the target to go to the MESSAGE OUT phase. The Host releases SEL.
3. The target now has control of the SCSI bus and it is the target which switches between phases. The target
responds to the ATTENTION condition and initiates the MESSAGE OUT phase. The Host sends an
IDENTIFY message which tells the target which logical unit the Host wishes to talk to. The fact that the
target responds to the ATN indicates to the Host that the target can accommodate more than just a
COMMAND COMPLETE message.
4. The target initiates the COMMAND phase and transfers the Command Descriptor Block from the Host. In the
COMMAND phase, the target decodes the command and either executes the command (TEST UNIT
READY) or sets itself up for a data transfer to the Host (READ, WRITE, and INQUIRY etc.). The target then
either switches to the STATUS phase, if the command is completed, or if it is ready to transfer data, the
DATA phase.
5. The data transfer length is set by the Host in the Command Descriptor Block. The target will remain in the
DATA phase until all the data is transferred.
6. The target then initiates a STATUS phase and transfers one byte to the Host to indicate whether the target
has successfully completed the command. If the target has detected an error, the next command that the
Host is expected to send is REQUEST SENSE. This allows the target to return further status information to
the Host.
7. The target completes the SCSI sequence by going to the MESSAGE IN phase and transferring a
COMMAND COMPLETE message to the Host. The target then releases BSY allowing the bus to go to the
BUS FREE state.
5.2.2. Disconnect
In order to improve bus usage and performance, the unit is capable of temporarily disconnecting from the bus,
consequently allowing other initiator-target communications to take place. To do so, however, the Host needs to
support Disconnect/ Re-select. The mechanism for performing the Disconnect/ Re-select procedure is
implemented as follows:
1. The Host arbitrates for the SCSI bus and upon winning the bus it proceeds to select target device. Prior to
releasing SEL and completing the selection phase, the Host asserts the ATN line. The Host then releases
SEL and BSY to allow the target to assume control of the SCSI bus. By asserting ATN, the host indicates
that the target should go to a MESSAGE OUT phase.
2. At this point, the target responds to the Host ATTENTION condition by initiating a MESSAGE OUT phase
and receiving a message from the Host which tells it whether or not the Host allows Disconnects for the
desired logical unit on the target.
3. If the Host does not send an Identify message, the target assumes that Disconnects are not permitted.
SONY AIT-5 drive SDX-1100V series Ver.1.0
5-3
5.SCSI Interface
4. The I/O activity from this point is controlled entirely by the target. The target initiates the COMMAND phase
and reads in the Command Descriptor Block (CDB) from the Host. If the Host has sent an Identify message
with the Disconnect permission bit set, then the target will immediately disconnect from the bus after the
entire CDB has been received.
5. The Disconnect process occurs when the target initiates a MESSAGE IN phase and sends a DISCONNECT
message back to the Host. This message may be preceded by a SAVE DATA POINTERS message byte if
the Disconnect is performed in the middle of the DATA phase. Following the MESSAGE IN phase, the target
frees the bus by releasing the BSY.
6. The host now waits for the target to perform Re-selection. When ready, the target re-selects the Host and
sends an Identify message via a MESSAGE IN phases, indicating the specific logical unit with which the
subsequent communications are to take place. Usually, the target will proceed from the MESSAGE IN phase
to either a DATA or a STATUS phase. If the Host had been previously told to SAVE DATA POINTERS, then
the target’s Identify message implies that the Host restores its data pointers upon re-selection; in other
words, it is not necessary for the target to send a specific RESTORE DATA POINTERS to the Host in such
context.
7. When doing a large data transfer, the target may choose to divide the entire transfer into several smaller
transfers. This allows the target to free the SCSI bus whenever it needs to perform its own system tasks not
immediately related to the actual data transfer over the SCSI bus. The target will not lock the bus into the
DATA phase if it is not presently ready to efficiently execute the transfer. After the data transfer is completed,
the target enters a STATUS phase and sends a single status byte to the Host. It then proceeds to a
MESSAGE IN phase, during which the target sends a COMMAND COMPLETE message. Finally, the target
frees the bus and the current command is considered completed.
8. The Host may change Disconnect permission at any time after the SELECTION phase by asserting ATN and
sending an Identify message via a MESSAGE OUT phase. If the Host, however, performs this action during
a DATA phase, it is possible that the target will not notice the change in Disconnect permission status until
past the end of the current bus phase.
5.3. Message Specification
This clause includes all SCSI messages. Both supported and non-supported messages are listed. Elements of this
clause come from clause 5, Logical Characteristics, of the SCSI standard. The message system allows
communication between an initiator and a target for the purpose of physical path management. The table below
lists the Messages supported by the SDX-1100V.
The SDX-1100V supports the Synchronous Data Transfer Request Extended Message, and the Wide Data
Transfer Request Message.
Table 5-2: Message Descriptions
Code
Description
Direction
In
*
*
*
*
Out
00
01
02
03
04
COMMAND COMPLETE
EXTENDED MESSAGE
SAVE DATA POINTER
RESTORE POINTERS
DISCONNECT
*
*
05
06
INITIATOR DETECTED ERROR
ABORT
*
*
*
*
*
07
08
09
0C
23
MESSAGE REJECT
NO OP
MESSAGE PARITY ERROR
BUS DEVICE RESET
IGNORE WIDE RESIDUE
IDENTIFY
*
*
*
80-CO
*
5-4
SONY AIT-5 drive SDX-1100V series Ver.1.0
5.SCSI Interface
5.3.1. COMMAND COMPLETE (00h)
This message is sent from a target to an initiator to indicate that the execution of a command or a series of linked
commands has completed and valid status has been sent to the initiator. After successfully sending this message,
the target goes to the BUS FREE phase by releasing BSY.
When received as a target, it will be handled as an illegal message, the unit will return MESSAGE REJECT and
will enter the status phase reporting CHECK CONDITION with the sense key set to COMMAND ABORTED.
5.3.2. EXTENDED MESSAGE (01h)
5.3.2.1. PARALLEL PROTOCOL REQUEST (04h)
PARALLEL PROTOCOL REQUEST messages are used to negotiate a synchronous data transfer
agreement, a wide data transfer agreement, and set the protocol options between two SCSI devices.
Negotiations using this message shall only be initiated by initiators. A Parallel Protocol Request message has
the following format:
PARALLEL PROTOCOL REQUEST
Bit
7
6
5
4
3
2
1
0
Byte
0
EXTENDED MESSAGE (01h)
EXTENDED MESSAGE LENGTH (06h)
PARALLEL PROTOCOL REQUEST (04h)
TRANSFER PERIOD FACTOR
RESERVED
1
2
3
4
5
6
7
REQ/ACK OFFSET
TRANSFER WIDTH EXPONENT (m)
RESERVED
QAS_REQ DT_REQ
IU_REQ
TRANSFER PERIOD FACTOR FIELD
Description
Code
Transfer period equals 12.5 ns (Fast-80 data is latched every 12.5 ns). This code is only
valid if the protocol options field has a value selected that supports double transition data
transfer (DT_REQ is one)
09h
0Ah
0Bh
0Ch
Transfer period equals 25 ns (Fast-40 data is latched every 25 ns or 30.3 ns).
Transfer period equals 30.3 ns (Fast-40 data is latched every 25 ns or 30.3 ns).
Transfer period equals 50 ns (Fast-20).
0Dh-18h
19h-31h
32h-FFh
Transfer period equals the period factor x 4 (Fast-20).
Transfer period equals the period factor x 4 (Fast-10).
Transfer period equals the period factor x 4
For single transition (ST) synchronous data transfer the REQ/ACK OFFSET is the maximum number of REQ
assertions allowed to be outstanding before a corresponding ACK assertion is received at the target. The size of a
data transfer may be 1 or 2 bytes depending on the values in the transfer width exponent field.
For double transition (DT) synchronous data transfer the REQ/ACK OFFSET is the maximum number of REQ
transitions allowed to be outstanding before a corresponding ACK transition is received at the target. The size of a
data transfer shall be 2 bytes.
SONY AIT-5 drive SDX-1100V series Ver.1.0
5-5
5.SCSI Interface
The TRANSFER WIDTH EXPONENT field defines the transfer width to be used during DATA IN phases, and
DATA OUT phases. The transfer width that is established applies to both SCSI devices. Valid transfer widths are 8
bits (m=00h) and 16 bits (m=01h) if all the protocol options bits are zero. The only valid transfer width is 16 bits
(m=01h) if any of the protocol options bits are one.
QAS_REQ bit is not supported and shall be set to zero.
IU_REQ bit is not supported and shall be set to zero.
DT_REQ bit of zero indicates that DT DATA phases are to be disabled when received from the initiator and that DT
DATA phases are disabled when received from the target. A DT_REQ bit of one indicates that DT DATA phases
are to be enabled when received from the initiator and that DT DATA phases are enabled when received from the
target.
A data transfer agreement only applies to the two SCSI devices that negotiate the agreement. Separate data
transfer agreements are negotiated for each pair of SCSI devices. The data transfer agreement only applies
to DATA phases.
A PARALLEL PROTOCOL REQUEST message exchange shall be initiated by an initiator whenever a previously
arranged parallel protocol agreement may have become invalid. The agreement becomes invalid after any
condition that may leave the parallel protocol agreement in an indeterminate state such as:
a) After a hard reset
b) After a TARGET RESET message
c) After a power cycle
d) After a change in the transceiver mode (e.g., LVD mode to SE mode)
5.3.2.2. SYNCHRONOUS DATA TRANSFER REQUEST (01h)
This is sent by either the initiator or the target as the first byte of a multiple-byte message. When acting as an
initiator, the unit will not send any Extended Messages. No Vendor Unique codes are implemented and only the
Synchronous Data Transfer Request code is supported. Any other message code is handled as an illegal
message; the unit will return MESSAGE REJECT and will continue. A Synchronous Data Transfer Request
message has the following format:
Table 5-3: Synchronous Data Transfer Request
Byte
Value
01h
03h
01h
M
Description
0
1
2
3
4
Extended message
Extended message length
SYNCHRONOUS DATA TRANSFER REQUEST code
Transfer period (m times 4 nanoseconds)
REQ/ACK offset
X
A SYNCHRONOUS DATA TRANSFER REQUEST (SDTR) message exchange shall be initiated by a SCSI device
whenever a previously-arranged data transfer agreement may have become invalid. The agreement becomes
invalid after any condition which may leave the data transfer agreement in an indeterminate state such as:
(1) after a hard reset condition
(2) after a BUS DEVICE RESET message and
(3) after a power cycle.
In addition, a SCSI device may initiate an SDTR message exchange whenever it is appropriate to negotiate a new
data transfer agreement (either synchronous or asynchronous). SCSI devices that are capable of synchronous
data transfers shall not respond to an SDTR message with a MESSAGE REJECT message.
The SDTR message exchange establishes the permissible transfer periods and the REQ/ACK offsets for all logical
units and target routines on the two devices. This agreement only applies to data phases. The transfer period
factor times four is the value of the transfer period.
Transfer period is the minimum time allowed between leading edges of successive REQ pulses and of successive
ACK pulses. The SDX-1100V supports the following transfer periods:
5-6
SONY AIT-5 drive SDX-1100V series Ver.1.0
5.SCSI Interface
Table 5-4: Synchronous Data Transfer Rates
Transfer Period (hex)
9
0A
0C
19
1F
26
2C
32
38
Transfer Rate (MB/s) - narrow
Transfer Rate (MB/s)- wide
80
160
40.0 20.0 10.0
80.0 40.0 20.0 16.0 13.34 11.42 10.00 8.88
8.0
6.67 5.71 5.00 4.44
REQ/ACK offset: is the maximum number of REQ pulses allowed to be outstanding before the leading edge of its
corresponding ACK pulse is received at the target. A REQ/ACK offset value of ZERO shall indicate asynchronous
data transfer mode. The SDX-1100V supports synchronous data transfer REQ/ACK offset values from 1 to 127.
The originating device (the device that sends the first of the pair of SDTR messages) sets its values according to
the rules above to permit it to receive data successfully. If the responding device can also receive data
successfully with these values (or smaller transfer periods or larger REQ/ACK offsets or both), it returns the same
values in its SDTR message. If it requires a larger transfer period, a smaller REQ/ACK offset, or both in order to
receive data successfully, it substitutes values in its SDTR message as required, returning unchanged any value
not required to be changed. Each device when transmitting data shall respect the limits set by the other’s SDTR
message, but it is permitted to transfer data with larger transfer periods, smaller REQ/ACK offsets, or both than
specified in the other’s SDTR message. The successful completion of an exchange of SDTR messages implies an
agreement as follows:
Responding Device SDTR response
Implied Agreement
(1) Non-ZERO REQ/ACK offset
Each device transmits data with a transfer period equal to or
greater than and a REQ/ACK offset equal to or less than the
values received in the other device’s SDTR message.
Asynchronous transfer
(2) REQ/ACK offset equal to ZERO
(3) MESSAGE REJECT message
Asynchronous transfer
If the initiator recognizes that negotiation is required, it asserts the ATN signal and sends a SDTR message to
begin the negotiating process. After successfully completing the MESSAGE OUT phase, the target shall respond
with the proper SDTR message. If an abnormal condition prevents the target from returning an appropriate
response, both devices shall go to asynchronous data transfer mode for data transfers between the two devices.
Following target response (1) above, the implied agreement for synchronous operation shall be considered to be
negated by both the initiator and the target if the initiator asserts the ATN signal and the first message out is either
MESSAGE PARITY ERROR or MESSAGE REJECT. In this case, both devices shall go to asynchronous data
transfer mode for data transfers between the two devices. For the MESSAGE PARITY ERROR case, the implied
agreement shall be reinstated if a re-transmittal of the second of the pair of messages is successfully
accomplished. After two retry attempts, if the target receives a MESSAGE PARITY ERROR message, it shall
terminate the retry activity. This may be done either by changing to any other information transfer phase and
transferring at least one byte of information or by going to the BUS FREE phase. The initiator shall accept such
action as aborting the negotiation, and both devices shall go to asynchronous data transfer mode for data transfer
between the two devices.
If the target recognizes that negotiation is required, it sends an SDTR message to the initiator. Prior to releasing
the ACK signal on the last byte of the SDTR message from the target, the initiator shall assert the ATN signal and
respond with its SDTR message or with a MESSAGE REJECT message. If an abnormal condition prevents the
initiator from returning an appropriate response, both devices shall go to asynchronous data transfer mode for
data transfers between the two devices.
Following an initiator's responding SDTR message, an implied agreement for synchronous operation shall not be
considered to exist until the target leaves the MESSAGE OUT phase, indicating that the target has accepted the
negotiation. After two retry attempts, if the target has not received the initiator's responding SDTR message, it
shall go to the BUS FREE phase without any further information transfer attempt. This indicates that a catastrophic
error condition has occurred. Both devices shall go to asynchronous data transfer mode for data transfer between
the two devices.
If, following an initiator's responding SDTR message, the target shifts to MESSAGE IN phase and the first
message in is MESSAGE REJECT, the implied agreement shall be considered to be negated and both devices
shall go to asynchronous data transfer mode for data transfers between the two devices.
SONY AIT-5 drive SDX-1100V series Ver.1.0
5-7
5.SCSI Interface
The implied synchronous agreement shall remain in effect until a BUS DEVICE RESET message is received, until
a hard reset condition occurs, or until one of the two SCSI devices elects to modify the agreement. The default
data transfer mode is asynchronous data transfer mode. The default data transfer mode is entered at power on,
after a BUS DEVICE RESET message, or after a hard reset condition.
5.3.2.3. WIDE DATA TRANSFER REQUEST
Byte
Value
01
02
03
m
0
1
2
3
Extended message
Extended message length
WIDE DATA TRANSFER REQUEST code
Transfer Width exponent
A WIDE DATA TRANSFER REQUEST (WDTR) message exchange shall be initiated by a SCSI device whenever
a previously-arranged transfer width agreement may have become invalid. The agreement becomes invalid after
any condition which may leave the data transfer agreement in an indeterminate state such as:
(1) after a hard reset condition;
(2) after a BUS DEVICE RESET message and;
(3) after a power cycle.
In addition, a SCSI device may initiate a WDTR message exchange whenever it is appropriate to negotiate a new
transfer width agreement. SCSI devices that are capable of wide data transfers (greater than eight bits) shall not
respond to a WDTR with a MESSAGE REJECT message.
The WDTR message exchange establishes an agreement between two SCSI devices on the width of the data
path to be used for DATA phase transfers between the two devices. This agreement applies to DATA IN and DATA
OUT phases only. All other information transfer phases shall use an eight-bit data path.
If a SCSI device implements both wide data transfer option and synchronous data transfer option, then it shall
negotiate the wide data transfer agreement prior to negotiating the synchronous data transfer agreement. If a
synchronous data transfer agreement is in effect, then a SCSI device that accepts a WDTR message shall reset
the synchronous agreement to asynchronous mode.
The transfer width is two to the transfer width exponent bytes wide. The transfer width that is established applies
to logical units on both SCSI devices. Valid transfer widths are 8 bits (m=00h), and 16 bits (m=01h). Values of
m=02 and greater are reserved.
The originating SCSI device (the SCSI device that sends the first of the pair of WDTR messages) sets its transfer
width value to maximum data path width it elects to accommodate. If the responding SCSI device can also
accommodate this transfer width, it returns the same value in its WDTR message. If it requires a smaller transfer
width, it substitutes the smaller value in its WDTR message. The successful completion of an exchange of WDTR
messages implies an agreement as follows:
Responding device WDTR response
Implied agreement
a) Non-ZERO transfer width
Each device transmits and receives data with a transfer
width equal to the responding SCSI device's transfer width.
Eight -bit data transfer
b) Transfer width equal to ZERO
c) MESSAGE REJECT message
Eight -bit data transfer
If the initiator recognizes that negotiation is required, it asserts the ATN signal and sends a WDTR message to
begin the negotiating process. After successfully completing the MESSAGE OUT phase, the target shall respond
with the proper WDTR message. If an abnormal condition prevents the target from returning an appropriate
response, both devices shall go to eight-bit data transfer mode for data transfers between the two devices.
5-8
SONY AIT-5 drive SDX-1100V series Ver.1.0
5.SCSI Interface
Following target response (1) above, the implied agreement for wide data transfers shall be considered to be
negated by both the initiator and the target if it the initiator asserts ATN and the first message out is either
MESSAGE PARITY ERROR or MESSAGE REJECT. In this case, both devices shall go to eight-bit data transfer
mode for data transfers between the two devices. For the MESSAGE PARITY ERROR case, the implied
agreement shall be reinstated if a re-transmittal of the second of the pair of messages is successfully
accomplished. After a vendor-specific number of retry attempts (greater than ZERO), if the target receives a
MESSAGE PARITY ERROR message, it shall terminate the retry activity. This may be done either by changing to
any other information transfer phase and transferring at least on byte of information or by going to the BUS FREE
phase. The initiator shall accept such action as aborting the negotiation and both devices shall go to eight -bit data
transfer mode for data transfers between the two devices.
The implied transfer width agreement shall remain in effect until a BUS DEVICE RESET message is received, until
a hard reset condition occurs, or until one of the two SCSI devices elects to modify the agreement. The default
data transfer width is eight-bit data transfer mode. The default data transfer mode is entered at power on m, after a
BUS DEVICE RESET message, or after a hard reset condition.
5.3.3. SAVE DATA POINTER (02h)
This message is sent from a target to the initiator at the end of a Data Phase to request that the initiator save a
copy of the present active data pointer for the currently attached logical unit. The unit will accept this message
when in the initiator mode. As a target, it will send this message prior to a disconnect. When received as a target, it
will be handled as an illegal message, the unit will return MESSAGE REJECT and will enter the status phase
reporting CHECK CONDITION with the sense key set to COMMAND ABORTED.
5.3.4. RESTORE POINTERS (03h)
This message is sent from a target to direct the initiator to restore the most recently saved pointers for the
currently attached logical unit to the active state. Pointers to the command, data, and status locations for the
logical unit will be restored to the active pointers. Command and status pointers will be restored to the beginning of
the present command and status areas. The data pointer will be restored to the value at the beginning of the data
area in the absence of a SAVE DATA POINTER message or to the value at the point at which the last SAVE DATA
POINTER message occurred for that logical unit.
The unit sends a RESTORE POINTERS message. Rather, it relies on the implicit restore pointers inherent in a
re-selection.
When acting as initiator, the unit will accept a RESTORE POINTERS message before resending a previously
unsuccessful status or data transfer. It doesn’t send a RESTORE POINTERS for re-selection but relies on the
implicit restore pointers in re-selection.
When received as a target, it will be handled as an illegal message; the unit will return MESSAGE REJECT and
will continue.
5.3.5. DISCONNECT (04h)
This message is sent from a target to inform an initiator that the present physical path is going to be broken (the
target plans to disconnect by releasing BSY). Later, reelection will be required in order to complete the current
operation.
Note: The initiator detects a catastrophic error condition when the BUS FREE phase occurs (other than as result
of a RESET condition) without first receiving a DISCONNECT or COMMAND COMPLETE message. If the target
intentionally creates this condition, the target clears the current command. This message does not cause the
initiator to save the data pointer.
The unit will support this message as an initiator. As a target, the unit supports this message and will disconnect if
allowed by the initiator.
When received as a target, it will be handled as an illegal message; the unit will return MESSAGE REJECT and
will continue.
SONY AIT-5 drive SDX-1100V series Ver.1.0
5-9
5.SCSI Interface
5.3.6. INITIATOR DETECTED ERROR (05h)
This message is sent from an initiator to inform a target that an error (e.g.: parity error) has occurred that does not
prevent the target from re-trying the operation. At this point, present pointer integrity is not assured. A RESTORE
POINTERS message or a disconnect followed by a re-selection, will cause the pointers to be restored to their
previously defined state.
This message will not be sent by the drive, when the drive is acting as an initiator. When received as a target the
unit will enter the status phase reporting CHECK CONDITION with the sense key set to COMMAND ABORTED.
5.3.7. ABORT (06h)
This message is sent from the initiator to the target to clear the present operation. All pending data and status from
the affected logical unit is cleared, and the target goes to the BUS FREE phase. This message can be sent to a
logical unit that is not currently performing an operation for the initiator.
A transaction which has not yet been acknowledged with a good Status byte will cause the transaction to be
aborted. If a transaction has already been acknowledged, the abort will force a Write of any pending data. The
device will proceed directly to BUS FREE state.
5.3.8. MESSAGE REJECT (07h)
This message is sent from either the initiator or target to indicate that the last message it received was
inappropriate or has not been implemented.
In order to indicate its intentions of sending this message, the initiator asserts the ATN signal prior to its release of
ACK for the REQ ACK handshake of the message that is to be rejected. Message Reject is issued in response to
any messages which the unit considers to be illegal or not supported. The illegal message will cause the current
command to be aborted and the unit will enter the status phase reporting CHECK CONDITION with the sense key
set to COMMAND ABORTED.
When received as a target, if the unit was previously in Message In phase (i.e.: sending messages to the host)
then MESSAGE REJECT will cause the unit to go straight to the Status phase with a CHECK CONDITION status
and a sense key of COMMAND ABORTED. If the unit was not previously in Message In phase then MESSAGE
REJECT will be handled as an illegal message.
If the initiator sends MESSAGE REJECT message in response to the units DISCONNECT message, the unit will
disable disconnects for the rest of the nexus and continue.
5.3.9. NO OPERATION (08h)
This message is sent by an initiator in response to a target’s request for a message when the initiator does not
currently have any other valid message to send. This message is accepted when the drive is acting as a target,
and may be sent when it is an initiator. When a NO-OP is received during any phase, the unit will continue as
though nothing had happened.
5.3.10. MESSAGE PARITY ERROR (09h)
This message is sent from the initiator to the target to indicate that one or more bytes in the last message it
received had a parity error.
To indicate its intentions of sending this message, the initiator will send the ATN signal prior to its release of ACK
for the REQ/ACK handshake of the message that has the parity error. This provides an interlock so that the target
can determine which message has the parity error.
This message will not be sent by the drive, when the drive is acting as an initiator. When received as a target, the
unit will enter the Status phase reporting CHECK CONDITION with the sense key set to COMMAND ABORTED.
5-10
SONY AIT-5 drive SDX-1100V series Ver.1.0
5.SCSI Interface
5.3.11. BUS DEVICE RESET (0Ch)
This message is sent from an initiator to direct a target to clear all current commands. Upon recognizing this
message, the currently executing command will be aborted and the drive will proceed to the BUS FREE state. The
drive will then execute a hard reset which will leave the drive in a state as if it had been power-cycled. All data in
the buffer will be written to tape before the reset is performed.
A BUS DEVICE RESET message should be used to reset the drive, rather than a hard reset, as this will only reset
the drive rather than all the devices on the bus.
Due to the catastrophic nature of this command, it should be used cautiously in a multiple initiator system.
5.3.12. IDENTIFY (80h-FFh)
These messages are sent by either the initiator or the target to establish the physical connection path between an
initiator and target for a particular logical unit. This message byte can have the following bits set:
Bit 7
Bit 6
This bit is always set to one to distinguish these messages from other messages.
This bit is only set to one by the initiator. When set to one, it indicates that the initiator has the ability to
disconnect and reconnect.
Bit 5
LUNTAR: This bit is always ZERO to indicate that the LUNTRN field below is valid.
Bits 4-3 Reserved.
Bits 2-0 LUNTRN: These bits specify a logical unit number in a target, and must always be set to ZERO as the
unit is a single target, single logical unit device on the SCSI bus. The Logical Unit Number for the drive
is fixed and is set to ZERO. Any other value will cause the unit to enter the status phase reporting
CHECK CONDITION with the sense key set to COMMAND ABORTED.
Therefore, only the values 80h and C0h are supported.
When sent from a target to an initiator during reconnection, an implied RESTORE POINTERS message will be
performed by the initiator prior to completion of this message, since at no time will a RESTORE POINTERS be
sent.
5.3.13. IGNORE WIDE RESIDUE (23h)
Table 5-5: Ignore Wide Residue Message
Byte
0
1
Value
23
01
Message Code
Ignore
The IGNORE WIDE RESIDUE message (see table 5-5) shall be sent from the SDX-1100V to indicate that the
number of valid bytes sent during the last REQ/ACK handshake and REQB/ACKB handshake of a DATA IN phase
is less than the negotiated transfer width. The ignore field indicates the number of invalid data bytes transferred.
This message shall be sent immediately following that DATA IN phase and prior to any other messages. The
ignore field is defined in table 5-6. More than one IGNORE WIDE RESIDUE message may occur during an I/O
process.
Table 5-6: Ignore Field
Ignore
Invalid data bits
16-bit transfers
Reserved
00h
01h
DB (15-8)
02-FFh
Reserved
Even though a byte is invalid its corresponding parity bit shall be valid for the value transferred.
SONY AIT-5 drive SDX-1100V series Ver.1.0
5-11
5.SCSI Interface
5.4. Status Specification
A Status byte is sent from the drive to the Host during the STATUS phase at the termination of each command as
specified in the SCSI specification, unless the command has been cleared by an ABORT message, by a BUS
DEVICE RESET message, or by a hard RESET.
The Status bytes that will be return are:
00h
02h
GOOD: This status indicates that the drive has successfully completed the command.
CHECK CONDITION: Any error, exception, or abnormal condition that causes sense data to be set
returns CHECK CONDITION. The REQUEST SENSE command should be sent following this status to
determine the nature of the error.
08h
BUSY: The drive is busy. This status is returned whenever the drive is unable to accept a command from
an otherwise acceptable initiator. The BUSY status will be returned by the unit, if, while it is
DISCONNECTED from the SCSI bus, it receives a command from a different initiator. The unit does not
stack commands and therefore will not accept the next command until the current one has completed.
Note that if an initiator sends overlapped commands to the unit (i.e.: it sends a new command while the
previous one is still executing and the unit is disconnected) then the first command will be aborted and a
CHECK CONDITION will be returned to the initiator to indicate that the command was aborted. The
second command will NOT be executed.
The BUSY status returned by the drive must not be confused with DRIVE NOT READY. DRIVE NOT
READY will be returned as part of the Sense data following a REQUEST SENSE command and
indicates that the drive is off-line and no media is loaded in the drive.
The drive is deemed off-line if the tape is currently unloaded and, normally, ejected from the drive.
However, the drive will still be off-line if the tape has been retained within the drive following a Host
issued PREVENT MEDIA REMOVAL command prior to the unload.
In the off-line state, the Host cannot perform any operation which would cause tape motion. These
commands will return a CHECK CONDITION status with a DRIVE NOT READY sense key set. The
command types which are not allowed are write, read, verify or space commands. The Host may load
the tape when the unit is off-line so long as the tape has been prevented from being ejected via the
PREVENT/ALLOW MEDIA REMOVAL command.
While the drive is “Busy” the Host may issue any command, including diagnostic commands, which do
not access the tape and a GOOD status shall be returned. These commands are:
INQUIRY
LOG SELECT
LOG SENSE
MODE SELECT
MODE SENSE
PREVENT ALLOW MEDIUM REMOVAL
READ BLOCK LIMITS
READ BUFFER
RECEIVE DIAGNOSTIC RESULTS
RELEASE UNIT
REQUEST SENSE
RESERVE UNIT
SEND DIAGNOSTIC
WRITE BUFFER
The TEST UNIT READY command is used to determine the on-line/off-line state of the drive and will,
therefore, return a CHECK CONDITION status with a DRIVE NOT READY sense key set if no media is
currently loaded.
5-12
SONY AIT-5 drive SDX-1100V series Ver.1.0
5.SCSI Interface
10h
18h
INTERMEDIATE GOOD: This status is returned for every command in a series of linked commands
(except the last command), unless an error, exception or abnormal condition causes a CHECK
CONDITION status or RESERVATION CONFLICT status to be set. If this status is not returned, the
chain of linked commands is broken; no further commands in the series are executed.
RESERVATION CONFLICT: This status is returned by the drive whenever the host or another SCSI
device attempts to access the drive if it has been reserved via the RESERVE command.
SONY AIT-5 drive SDX-1100V series Ver.1.0
5-13
5.SCSI Interface
This page intentionally left blank.
5-14
SONY AIT-5 drive SDX-1100V series Ver.1.0
6.Command Specification
6. Command Specification
This clause includes all supported SCSI Commands. Elements of this clause come from clauses 7, 8 and 9 of the
ANSI NCITS 351-2001 (SPC-2), ANSI NCITS 408-2005 (SPC-3), ANSI NCITS.335:2000 (SSC), SCSI interface
specification.
The following is a list of the supported SCSI Commands and page index:
Table 6-1: SCSI Commands and Page Index
PARA
6.1
6.2
6.3
6.4
6.5
6.6
6.7
6.7
SCSI COMMAND
ERASE
INQUIRY
LOAD /UNLOAD
LOCATE
OP CODE
19h
12h
1Bh
2Bh
4Ch
4Dh
15h
55h
1Ah
5Ah
5Eh
5Fh
1Eh
08h
8Ch
05h
3Ch
34h
1Ch
17h
57h
44h
A3h
A0h
02h
03h
16h
56h
01h
0Ch
1Dh
A4h
11h
PAGE
6-2
6-3
6-8
6-10
6-11
6-13
6-40
6-40
6-54
6-54
6-57
6-60
6-62
6-63
6-65
6-69
6-70
6-73
6-75
6-77
6-77
6-79
6-82
6-83
LOG SELECT
LOG SENSE
MODE SELECT (6)
MODE SELECT (10)
MODE SENSE (6)
MODE SENSE (10)
PERSISTENT RESERVE IN
PERSISTENT RESERVE OUT
PREVENT ALLOW MEDIUM REMOVAL
READ
READ ATTRIBUTE
READ BLOCK LIMITS
READ BUFFER
READ POSITION
RECEIVE DIAGNOSTIC RESULTS
RELEASE (6)
6.8
6.8
6.9
6.10
6.11
6.12
6.13
6.14
6.15
6.16
6.17
6.18
6.18
6.19
6.20
6.21
RELEASE (10)
REPORT DENSITY SUPPORT
REPORT DEVICE IDENTIFIER
REPORT LUNS
REQUEST BLOCK ADDRESS (obsolete)
REQUEST SENSE
RESERVE (6)
6.22
6.23
6.23
6.24
6-84
6-93
6-93
6-95
RESERVE (10)
REWIND
SEEK BLOCK (obsolete)
SEND DIAGNOSTIC
SET DEVICE IDENTIFIER
SPACE
TEST UNIT READY
VERIFY (obsolete)
WRITE
WRITE ATTRIBUTE
WRITE BUFFER
WRITE FILEMARKS
6.25
6.26
6.27
6.28
6-96
6-98
6-99
6-102
00h
13h
0Ah
8Dh
3Bh
10h
6.29
6.30
6.31
6.32
6-103
6-104
6-106
6-108
Note: In compliance with the SCSI specification, the unit will terminate the command with a CHECK
CONDITION status and the sense key will be set to ILLEGAL REQUEST when a reserved bit, byte, field or
code is not ZERO.
The unit has an embedded SCSI controller interface and therefore is a single target, single logical unit device on
the SCSI bus. The Obsolete for the drive is fixed and is set to ZERO. In order to be SCSI-2 or SCSI-3 compatible,
the following scheme is used to check the LUN:
SCSI-2 states that the LUN addressed by the initiator will appear in the IDENTIFY message sent to the target on
selection. LUN field inside of CDB will be “obsolete”.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-1
6.Command Specification
ERASE
6.1. ERASE 19h
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
5
Operation Code (19h)
Reserved
Immed
Long
Reserved
Reserved
Reserved
Control
The ERASE command causes part or all of the remaining data within a partition to be erased at the current logical
position. Any write data that is currently held in the buffer is written to tape before the ERASE is executed.
Immed: If the Immed bit is set to ZERO, the drive will not return status until the selected operation has completed.
If the bit is set, status will be returned as soon as the operation has been initiated.
Long: If the Long bit is set to ONE, it will be written from the current logical position until EOM/EOP. If the Long bit
is set to ZERO, EOD will be written to the current logical position.
6-2
SONY AIT-5 drive SDX-1100V series Ver.1.0
INQUIRY
6.Command Specification
6.2. INQUIRY 12h
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
5
Operation Code (12h)
Reserved
CmdDT
EVPD
Page or Operation Code
Reserved
Allocation Length
Control
The INQUIRY command requests that the drive send information regarding the drive parameters to the initiator.
CmdDT: The Command support data (CmdDT) bit of one specifies that the drive returns the optional support data
specified by the operation code field.
EVPD: The Enable Vital Product Data (EVPD) bit of one specifies that the drive returns the optional vital product
data specified by the page code field.
If both the CmdDT and EVPD bits are zero, the drive returns the standard INQUIRY data. If the page or operation
code field is not zero when both CmdDT and EVPD are zero, the drive returns a CHECK CONDITION status with
an ILLEGAL REQUEST Sense Key.
If the CmdDT and EVPD bits are one, the drive returns a CHECK CONDITION status with an ILLEGAL REQUEST
Sense Key.
When the EVPD bit is set to one, the drive returns vital product data that is specified in the page or operation code
field. If the page or operation code field is reserved or not implemented by the target, the target will terminate the
command with a CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST.
When the CmdDT bit is set to one, the page or operation field specifies the SCSI operation code for which the
drive will return command support data.
Allocation Length: This specifies the maximum number of bytes that the initiator has allocated for returned
Inquiry data. An Allocation Length of ZERO indicates that no Inquiry data is transferred. This condition is not
considered an error. The drive will terminate the DATA-IN phase when Allocation Length bytes have been
transferred or when all available Inquiry data have been transferred to the initiator, whichever is less.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-3
6.Command Specification
INQUIRY
Table 6-2: Standard INQUIRY Data
Bit
7
6
5
4
3
2
1
0
Byte
0
Peripheral Qualifier
Peripheral Device Type (01h)
Device-Type Modifier (0)
1
2
3
4
5
6
RMB(1)
ISO Version (0)
AENC (0) TrmIOP
ECMA Version (0)
Reserved(0)
ANSI-Approved Version (3)
Response Data Format (2)
Additional Length (34h)
Reserved
Reserved
Addr16
(1)
RelAdr (0) Reserved WB16 (1) Sync (1) Linked (0) Reserved CmdQ (0) SftRe (0)
7
8
(MSB)
(MSB)
(MSB)
Vendor Identification
(SONY)
Product Identification
(SDX-1100)
15
16
31
32
35
36
42
43
49
50
55
56
(LSB)
(LSB)
(LSB)
Product Revision Level
Reserved
Drive Mode
(DR-10)
Reserved
Reserved
CLOCKING (11b)
QAS (0)
IUS (0)
Peripheral Qualifier and Peripheral Device Type: These fields identify the device that is currently connected to
the logical unit. The drive is a single target, single logical unit device. The logical unit number is set to ZERO.
Therefore, the drive normally returns Peripheral Qualifier set to 000b the specified peripheral device type is
currently connected to this logical unit and Peripheral Device Type set to 01h sequential-access device .However,
if the initiator requests a logical unit number greater than ZERO, the drive returns Peripheral Qualifier set to 011b
the target is not capable of supporting a physical device on this logical unit and Peripheral Device Type set to 1Fh
unknown device type.
RMB: The Removable Medium bit of one indicates that the tape can be removed.
Device-Type Modifier: This is a seven-bit user defined code, set to 00h.
ISO Version: This field is ZERO, indicating that the drive does not necessarily comply with the ISO version of
SCSI.
ECMA VERSION: This field is ZERO, indicating that the drive does not necessarily comply with the ECMA version
of SCSI.
ANSI Approved Version: This field indicates the implemented version of the ANSI version.
AENC: The drive does not support asynchronous event notification, so this field is ZERO.
TrmIOP: The drive does not support the Terminate I/O Process message, so this field is ZERO.
Response Data Format: This field is 2, indicating that the INQUIRY DATA format complies with the ANSI version
of SCSI-2.
Additional length: The additional length field specifies the length in bytes of the parameters, in this case, 31
bytes.
RelAdr: The drive does not support the Relative Addressing mode, so this bit is never set.
Wbus16: The drive supports 16-bit wide data transfers, so this bit is set.
6-4
SONY AIT-5 drive SDX-1100V series Ver.1.0
INQUIRY
6.Command Specification
Sync: The drive supports synchronous data transfers, so this bit is set.
Linked: The drive does not support linked command.
CmdQue: The drive does not support tagged command queuing, so this bit is never set.
SftRe: The drive responds to the RESET condition with a HARD reset, so this bit is never set.
Vendor Identification: This field contains eight bytes of ASCII data identifying the vendor of the product as
"SONY".
This and the next two fields are left-aligned with the unused bytes at the end of the fields and filled with space
characters (20h).
Product Identification: This field contains sixteen bytes of ASCII data identifying the product as "SDX-1100" for
the data compression model.
Product Revision Level: This field contains four bytes of ASCII data, which define the SCSI Interface Revision
Level.
Addr16: This bit set to 1 indicates the drive supports 16-bit wide SCSI addresses.
Clocking: This field set to 3 indicates the drive supports both ST (single transition) and DT (double transition).
QAS: The drive does not support quick arbitration.
IUS: The drive does not support information units.
Vital Product Data
This contains a list of the vital product data codes supported by the drive.
- Supported Vital Product Data pages
Bit
7
6
5
4
3
2
1
0
Byte
0
Peripheral Qualifier
Peripheral Device Type (01h)
1
2
3
4
5
6
7
Page Code (00h)
Reserved (00h)
Page Length (04h)
Supported Page List (00h)
Supported Page List (80h)
Supported Page List (83h)
Supported Page List (C0H)
- Unit Serial Number page
Bit
7
6
5
4
3
2
1
0
Byte
0
Peripheral Qualifier
Peripheral Device Type (01h)
1
2
Page Code (80h)
Reserved (00h)
3
4
Page Length (0Ah)
13
Product Serial number (in ASCII)
The page length field specifies the length of the product serial number. If the allocation length is too small to
transfer all of the pages, the page length will not be adjusted to reflect the truncation.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-5
6.Command Specification
INQUIRY
The product serial number field contains ASCII data that is vendor-specific. The least significant ASCII character of
the number will appear as the last byte of a successful data transfer.
- Device Identification page
Bit
7
6
5
4
3
2
1
0
Byte
0
Peripheral Qualifier
Peripheral Device Type (01h)
1
2
Page Code (83h)
Reserved (00h)
3
Page Length (32h)
4
Reserved (00h)
Reserved (00h)
Code set (02h)
5
Identifier type (01h)
6
Reserved (00h)
Identifier length (22h)
Vendor ID (SONY)
7
8
15
16
31
32
41
42
43
44
45
46
53
Product ID (SDX-1100)
Serial Number of the drive
Reserved (00h)
Reserved (00h)
Code set (01h)
Identifier type (02h)
Reserved (00h)
Identifier length (08h)
IEEE EUI-64 Code
IEEE EUI-64: The identifier field a Canonical form IEEE Extended Unique Identifier, 64-bit (EUI-64). (ANSI/IEEE
394:1995)
- Product Revision page
Bit
7
6
5
4
3
2
1
0
Byte
0
Peripheral Qualifier
Peripheral Device Type (01h)
1
2
Page Code (C0h)
Reserved (00h)
3
Page Length (08h)
Product Revision Level
4
7
8
Not Available
11
6-6
SONY AIT-5 drive SDX-1100V series Ver.1.0
INQUIRY
6.Command Specification
Command support data
If the drive implements the requested SCSI operation code, it will return the data defined in Table 6-3. If the device
does not implement the requested SCSI operation code it will return the peripheral qualifier and type and 001b in
the Support field.
Table 6-3: Command support Data
Bit
7
6
5
4
3
2
1
0
Byte
0
Peripheral Quaifier
Peripheral Device Type (01h)
Support
1
2
Reserved (00h)
ECMA version (0)
Reserved (00h)
ISO version (0)
ANSI – Approved version (03h)
3
4
Reserved (00h)
CDB size (m-5)
CDB usage data
5
6
m
Support: The drive supports the tested SCSI operation code in conformance with a SCSI standard. The data
format conforms to the definition in Table 6-3 .
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-7
6.Command Specification
LOAD/UNLOAD
6.3. LOAD/UNLOAD 1Bh
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (1Bh)
Reserved
1
2
3
4
5
IMMED
LOAD
Reserved
Reserved
HOLD
Control
Reserved
EOT (0)
RETEN
The LOAD/UNLOAD command requests that the drive enable or disable the media for further operations. This
command may also be used to request a retension function.
IMMED: If this bit is set, status is returned as soon as the load or unload operation is initiated. Otherwise, the
status is returned after the operation has completed.
LOAD: A LOAD bit of one and a HOLD bit of zero indicates the medium in the drive will be loaded and positioned
to the beginning-of-partition zero. A LOAD bit of zero and a HOLD bit of zero indicates the medium in the drive will
be positioned for removal at the extreme position along the medium specified by the EOT bit.
A LOAD bit of one and a HOLD bit of one indicates if the medium has not been moved into the logical unit, the
medium will be moved in but not positioned for access. The EOT and RETEN bits will be set to zero. Following
successful completion, the drive will return GOOD STATUS. If both the medium and drive support MAM, the drive
will generate a unit attention condition for all initiators with the ASC and ASCQ set to MEDIUM AUXILIARY
MEMORY ACCESSIBLE.
A LOAD bit of zero and a HOLD bit of one indicates if the medium is in the drive, the medium will be unthreaded
but will not be ejected. Following successful completion, the drive will return GOOD STATUS. If both the medium
and drive support MAM, the drive will generate a unit attention condition for all initiators with the ASC and ASCQ
set to MEDIUM AUXILIARY MEMORY ACCESSIBLE.
RETEN: A RETEN bit of one indicates that the drive unit will perform a retension function on the current medium.
A RETEN bit of zero indicates that the drive will not perform a retension function on the current medium.
EOT: An end-of-tape (EOT) bit of one and a Load bit of ZERO indicates that the medium will be positioned at
end-of-medium for removal from the peripheral device. Prior to performing the unload operation, any buffered data
that is to be written will be transferred to the medium. An EOT bit of ZERO and Load bit of ZERO indicates that the
medium will be positioned at beginning-of-medium for removal etc. This drive does not support this bit. EOT bit of
one will cause the target to return CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST
and the ASC will be set to ILLEGAL FIELD IN CDB. This field is not supported. This field will be set to 0.
HOLD: A HOLD bit of one indicates MAM will be accessible upon completion of the command but the medium will
not be positioned for access. A HOLD bit of zero and a LOAD bit of one indicates the medium will be positioned for
access. A HOLD bit of zero and a LOAD bit of zero indicates MAM will not be accessible upon completion of the
command.
If the drive has received an UNLOAD command with the Immediate bit set and then receives either another
command which would involve tape motion or TEST UNIT READY, the drive will return a CHECK CONDITION
status with a NOT READY sense key set.
6-8
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOAD/UNLOAD
6.Command Specification
When the drive receives the UNLOAD, the tape is rewound to BOM and ejected. The operator must reload the
drive manually. If, however, the drive has previously received a PREVENT MEDIA REMOVAL (with prevent bit set)
command, the tape is retained in the drive. A subsequent LOAD command will load and position the tape at BOP
ZERO. If an UNLOAD was sent instead, the drive would return NOT READY and the tape would remain within the
drive. In this case, the drive requires a PREVENT ALLOW MEDIA REMOVAL (with prevent bit clear) command
before an UNLOAD will eject the tape.
Note: While the PREVENT MEDIA REMOVAL is in effect, the Front Panel EJECT button is completely disabled.
If the cassette is unloaded but has not been ejected from the drive because of moisture detection, then a
subsequent UNLOAD will cause the tape to eject from the drive. All commands except INQUIRY, REQUEST
SENSE and READ BLOCK LIMITS will return a CHECK CONDITION status with a HARDWARE ERROR sense
key set. The tape may also be ejected via the Front Panel EJECT button.
If no cassette is in drive, both LOAD and UNLOAD will return a CHECK CONDITION status with NOT READY
sense key set
The valid combinations of the last four fields are given in Table 6-4 below.
Table 6-4: LOAD UNLOAD Command Parameter Combinations
HOLD RETEN
LOAD
ACTION
0
0
1 (Load)
Normal load to access the medium without a retension operation, positioned at BOP0.
Logical unit in READY state. Immed may be ZERO or 1b.
1
0
1 (Load)
Load to access MAM only. logical unit in NOT READY state. Immed may be ZERO or 1b.
MAM Load Count is not incremented. Unit Attention Condition set for MEDIUM AUXILIARY
MEMORY ACCESSIBLE.
0
1
0
1
1
1
0
0
1 (Load)
1 (Load)
Normal load to access the medium after a retension operation, positioned at BOP0. Logical
unit in READY state. Immed may be ZERO or 1b.
Invalid Combination. Command terminates with CHECK CONDITION Status. The sense key
is set to ILLEGAL REQUEST and the ASC is set to INVALID FIELD IN CDB.
0 (Unload)
0 (Unload)
Normal Unload/Eject of cartridge. Logical unit enter NOT READY state. Immed may be
ZERO or 1b.
Unload of cartridge, but MAM still accessible but cartridge is not ejected. Logical unit enters
NOT READY state. Immed may be ZERO or 1b. Unit Attention Condition set for MEDIUM
AUXILIARY MEMORY ACCESSIBLE.
0
1
1
1
0 (Unload)
0 (Unload)
Normal Unload/Eject of cartridge after a retension operation. Logical unit enters NOT READY
state. Immed may be ZERO or 1b.
Unload of cartridge after retension operation, but MAM still accessible. Logical unit enter
NOT READY state. Immed may be ZERO or 1b.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-9
6.Command Specification
LOCATE
6.4. LOCATE 2Bh
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (2Bh)
Reserved
1
2
3
4
5
6
7
8
9
Reserved
BT (0)
CP
Immed
(LSB)
(MSB)
Block Address
Reserved
Partition (0)
Control
The LOCATE command causes the drive to position the logical unit to the specified block address in a specified
partition. Upon completion, the logical position will be after the specified location. Prior to performing the locate
operation, the drive will ensure that all buffered data, Filemarks, and Setmarks have been transferred to tape.
BT: A block address type (BT) bit of one is not supported and will be set to ZERO otherwise a CHECK
CONDITION with an ILLEGAL REQUEST sense key will be returned.
CP: A change partition (CP) bit of one indicates that a change to the partition specified in the partition field is to
occur prior to positioning to the block specified in the block address field. A CP bit of ZERO indicates no partition
change is to be made and the partition field is to be ignored.
Immed: An immediate (Immed) bit of ZERO indicates that the drive will not return status until the locate operation
has completed. An Immed bit of one indicates that the drive will return status as soon as all buffered commands
have completed execution and the CDB of the LOCATE command has been validated. If CHECK CONDITION
status is returned for a LOCATE command with an Immed bit of one, the locate operation will not be performed.
Block Address: The Block Address field specifies the block address to which the drive will be positioned on the
tape.
Partition: The Partition field specifies which partition to select if the CP bit is one. Refer to the Mode Select
command, Medium Partition page for additional information about partitioning. The multi partition is not supported
by the drive. If set to non-ZERO, a check condition status is returned with a ILLEGAL REQUEST sense key.
6-10
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOG SELECT
6.Command Specification
6.5. LOG SELECT 4Ch
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (4Ch)
Reserved
1
2
3
4
5
6
7
8
9
PCR
SP (0)
PC
Reserved
Reserved
Reserved
Reserved
Reserved
(MSB)
Parameter List Length
(LSB)
Control
The LOG SELECT command provides a means for the initiator to manage statistical information maintained by the
device about its own hardware or the installed media. This description will be read in conjunction with the
description of the LOG SENSE command which follows it, to provide the reader with information about log page
format, parameters and supported pages.
PCR: A Parameter Code Reset bit of one and a Parameter List Length of ZERO will cause ALL log pages which
can be cleared, to be cleared. If this field is set and the Parameter List Length field is non-ZERO then the
command will be terminated with a CHECK CONDITION status with the sense key set to ILLEGAL REQUEST,
and an ASC of INVALID FIELD IN CDB.
SP: The device does not have non-volatile RAM into which it may save parameters. Therefore, the Save Page bit
is not supported by this device and will always be set to ZERO. If the SP bit is set, the command will be terminated
with a CHECK CONDITION status with the sense key set to ILLEGAL REQUEST, and an ASC of INVALID FIELD
IN CDB.
PC: The Page Control field defines the type of parameter values to be selected:
Table 6-5: Page Control field values
Value
00b
01b
10b
11b
Description
Current Threshold Values
Current Cumulative Values
Default Threshold Values
Default Cumulative Values
If this field is set to 00b, 10b or 11b and the Parameter List Length field is non-0 then the command will be
terminated with a CHECK CONDITION status with the sense key set to ILLEGAL REQUEST, and an ASC of
INVALID FIELD IN CDB. This is because no modification of these log pages is permitted. For a description of
command behavior if this field is set to 01b then see the description of the Parameter List Length field below.
If this field is set to 10b and the Parameter List length field is 0 then all Current Threshold Values will be reset to
the Default Threshold Values. This is equivalent to no change as Threshold Values cannot be modified.
If this field is set to 11b and the Parameter List Length field is 0 then all Current Cumulative Values will be reset to
the Default Cumulative Values. This is equivalent to all log pages which can be cleared.
Parameter List Length: This field specifies the length in bytes of the LOG SELECT parameter list that will be
transferred from the initiator to the target during the DATA OUT phase. A parameter list length of ZERO indicates
that no data will be transferred. This condition will not be considered as an error (see description of Parameter
Code Reset and Page Control fields above). If this field is non-0 the Page Control field must be 01b.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-11
6.Command Specification
LOG SELECT
The purpose of the Log Select command is to allow the initiator to modify and initialize parameters within the logs
supported by the device. However in this case, access to individual parameters within log pages is not supported
and so initiator is restricted to resetting complete log pages only.
To achieve this, during the DATA OUT phase the initiator must send the log page header of the page to be cleared,
with the Page Length field set to ZERO. The following pages can be cleared in this manner.
Table 6-6: Page Codes
Page Code
02h
Description
Write Error Counter Page
03h
Read Error Counter Page
07h
Last n Error Events Page
2Eh
Tape Alert Log Page
34h
35h
39h
3Eh
Write Frame Error Counter Page
Read Frame Error Counter Page
Data Compression Transfer Log Page
MIC Variable Length Information Parameter Code
Note: Due to the way in which logs are stored and updated, clearing log page 2 will result in log page 3 also being
cleared and vice versa.
Because of this method of clearing the log pages, the Parameter List Length field must be an integer multiple of
the Log Page Header length (i.e. 4). Otherwise the command will be terminated with a CHECK CONDITION status
with the sense key set to ILLEGAL REQUEST and an ASC of INVALID FIELD IN CDB.
If multiple pages are sent during the DATA OUT phase then they must be sent in ascending order according to
page code. Otherwise the command will terminate with a CHECK CONDITION status with the sense key set to
ILLEGAL REQUEST and an ASC of ILLEGAL FIELD IN PARAMETER LIST. The same status will be returned if an
unsupported Page Code appears in any header or if the specified page cannot cleared.
Other Log Select Page Codes have been defined for MIC support. MIC Variable Length Information Page is
assigned as 3Eh. Please refer the description for “Log Sense Page 3Eh” and Appendix (MIC) on this Product
Specification Manual. User Volume Note and User Partition Note are automatically created with indicated size, if it
is not exist. User Volume Note size and User Partition Note size must be the same size with current one, if it is
already exist. Just only supersede operation is allowed.
Table 6-7: MIC Variable Length Information Parameter Codes
Parameter Code
0001h
Description
User Volume Note
User Partition Note for Partition 0
Length
n-3
n-3
0002h
1. See Important Note for Log Sense Page 3Eh.
2. If there is no User Volume Note and there is no User Partition Note, User Volume Note will be created for the
specific Length if it does not exceed the Available Free Byte Count returned in Log Sense Page 3Dh
Parameter Code 0003h. If there is existing User Volume Note and User Partition Note data the new User
Volume Note data must be exactly the same size as the existing User Volume Note data, otherwise a Check
Condition status will be returned and no new data will be written to MIC. If there is existing User Volume
Note data but no User Partition Note data then User Volume Note length may be equal to the Available Free
Byte Count.
3. There is no format to writing user data to MIC. The application is free to define MIC data for its use.
6-12
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOG SENSE
6.Command Specification
6.6. LOG SENSE 4Dh
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (4Dh)
Reserved
1
2
3
4
5
6
7
8
9
PPC (0)
SP (0)
PC
Page Code
(MSB)
(MSB)
Reserved
Parameter Pointer
(LSB)
(LSB)
Allocation Length
Control
The LOG SENSE command provides a means for the initiator to retrieve statistical information maintained by the
device about its own hardware or the installed media. It is a complementary command to the LOG SELECT
command.
SP: The device does not have non-volatile RAM into which it may save parameters. Therefore, the Save Page bit
is not supported by this device and will always be set to ZERO. If the SP bit is set, the command will be terminated
with a CHECK CONDITION status with the sense key set to ILLEGAL REQUEST, and an ASC of INVALID FIELD
IN CDB.
PPC: The Parameter Pointer Control bit will always be set to ZERO. This indicates that the parameter data
requested from the device will start with the parameter code specified in the Parameter Pointer field and return the
number of bytes specified in the Allocation Length field in ascending order of parameter codes from the specified
log page. A PPC bit of ZERO and a Parameter Pointer field of ZERO cause all available parameter data for that
page code to be returned to the initiator. If the PPC bit is set or the Parameter Pointer is larger than the highest
numbered parameter on the page, then the target will terminate the command with CHECK CONDITION status.
The sense key will be set to ILLEGAL REQUEST and the ASC will be set to INVALID FIELD IN CDB. If the drive
does not support a parameter code within this page then it will not return any data associated with this parameter.
PC: The Page Control field defines the type of parameter values to be selected. The page control field is defined
below:
Table 6-8: Page Control field values
Value
00b
01b
10b
11b
Type of Parameter Values
Current Threshold Values
Current Cumulative Values
Default Threshold Values
Default Cumulative Values
The Current Threshold Values and the Default Threshold Values are non-changeable and the both will return the
same values-i.e. the maximum values that each parameter can attain. Note that for some parameters the term
threshold value has no meaning. See the description of individual pages/ parameters below for more details.
The Current Cumulative Values are the values computed since the last reset of the device (either by
power-cycling, BUS DEVICE RESET or SCSI RESET). Note that for some parameters these values cannot be
reset by any method. See description of individual pages/parameters below for more details.
The Default Cumulative Values are the values to which each parameter gets initialized on a reset condition as
described above. See description of individual pages/parameters below for more details.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-13
6.Command Specification
LOG SENSE
Page Code: The Page Code field identifies which log page is being requested by the initiator. If the page is not
supported then the command will terminate with a CHECK CONDITION status with the sense key set to ILLEGAL
REQUEST and an ASC of INVALID FIELD IN CDB.
Supported pages are:
Table 6-9: Supported Log Pages
Page Code
00h
Description
Supported Log Pages
02h
Write Error Counter Page
03h
Read Error Counter Page
07h
Last n Error Events Page
2Eh
30h
31h
Tape Alert Log Page
Tape Log Page (Sony Unique)
Tape Capacity Log Page
33h
34h
35h
39h
3Ch
3Dh
3Eh
Drive Usage Page (Sony Unique)
Write Frame Error Counter Page
Read Frame Error Counter Page
Data Compression Transfer Log Page
AIT Log Page
AIT Fixed Length Information Page for MIC
AIT Variable Length Information Page for MIC
Parameter Pointer: The Parameter Pointer field allows the initiator to specify at which parameter within a log
page the requested data will begin.
For example if a page supported parameters 0 through 5, and the Parameter Pointer field contained 3 then only
parameters 3, 4 and 5 would be returned to the initiator. Similarly, if a page supported parameters 1, 3 and 6, and
the Parameter Pointer field contained 2, then only parameters 3 and 6 would be returned to the initiator.
Note that parameters within a page are always returned in ascending order according to parameter code. If an
invalid parameter pointer is sent the drive will return CHECK CONDITION with the sense key set to ILLEGAL
REQUEST and an ASC of INVALID FIELD IN CDB.
Allocation Length: The Allocation Length field is used to inform the target how much space the initiator has
allocated for data. Note however that if this field is 0 then this is not considered an error and the device will just
return a GOOD STATUS.
6.6.1. The Log Page Descriptor
The format of the log pages consists of ZERO or more variable-length parameter structures. Each page begins
with a 4-byte page header followed by ZERO or more variable-length parameter structures defined for that page.
The Log Select command supports the ability to send ZERO or more log pages. The LOG SENSE command
returns a single log page as specified in the Page Code field of the CDB.
6-14
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOG SENSE
6.Command Specification
Table 6-10: Log Page Format
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
Reserved
(MSB)
Page Code
Reserved
Page Length (n-3)
(LSB)
Log Parameters (s)
4
The First Log Parameter
x+3
(Length x)
.
.
.
n-y
n
The Last Log Parameter
(Length y)
Page code: Identifies which page of data is being transferred. If the Page Code field value is reserved or not
implemented by the target, the target will terminate the command with a CHECK CONDITION status. The sense
key will be set to ILLEGAL REQUEST, and the ASC will be set to INVALID FIELD IN PARAMETER LIST.
Page Length: The Page Length field indicates the total number of bytes that follow this byte. The value returned
for this field depends on the value you specified for the Page Code and the Parameter Pointer in the CDB. This
value is independent of what you specified for the Allocation Length. A Page Length value that results in the
truncation of any parameter will cause the target to terminate the command with a CHECK CONDITION status.
The sense key will be set to ILLEGAL REQUEST and the ASC will be set to INVALID FIELD IN PARAMETER
LIST.
6.6.2. The Log Parameter Descriptor
Most log pages contain one or more special data structures called log parameters. These may be data counters
which record the occurrence of certain events, or they may be more complex structures which describe activities
or other events which occur within the device. Each parameter structure begins with a 4-byte parameter header
followed by one or more bytes of parameter structure data. The 4-byte header is shown below:
Table 6-11: Log Parameter
Bit
7
6
5
4
3
2
1
0
Byte
0
(MSB)
DU(0)
Parameter Code
1
2
3
4
n
(LSB)
LP
DS (1)
TSD(0)
ETC (0) TMC (00)
Parameter Length (n-3)
Parameter Value
LBIN
Parameter Code: Identifies which parameter of data is being transferred. If the parameter code value is reserved
or not implemented by the target, then the target will terminate the command with a CHECK CONDITION status.
The sense key will be set to ILLEGAL REQUEST and the ASC will be set to INVALID FIELD IN PARAMETER
LIST.
The DU, DS, TSD, ET, TMC, and LP fields are collectively referred to as the control byte.
DU: The DU bit (Disable Update) is not defined for threshold values (indicated by the PC field of the LOG SENSE
CDB). The target will ignore the value of any DU bits in a LOG SELECT command. This field is not supported.
DS: The DS (Disable Save) bit informs the initiator that savable parameters are disabled (i.e. not supported), and
will always be 1. If it is 0 the command will terminate with a CHECK CONDITION status with sense key set to
ILLEGAL REQUEST and ASC of ILLEGAL FIELD IN PARAMETER LIST.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-15
6.Command Specification
LOG SENSE
TSD: A target save disable (TSD) bit of ZERO indicates a target-defined method for saving log parameters. This
implicit saving operation will be done frequently enough to insure that the cumulative parameter values retain
statistical significance (i.e. across power cycles). A TSD bit of one indicates that either the target does not provide
a target-defined method for saving log parameters or the target-defined method has been disabled by the initiator.
If the initiator sets both the DS and the TSD bits set to one, the target will terminate the command with a CHECK
CONDITION status. The sense key will be set to ILLEGAL REQUEST with the ASC set to INVALID FIELD IN
PARAMETER LIST.
ETC: An enable threshold comparison (ETC) bit of one indicates that when the cumulative parameter value is
updated, it will be compared to the threshold parameter value and the action specified by the TMC field will be
taken. An (ET) bit of ZERO disables this comparison. The ET bit is the same for both the cumulative and threshold
log parameter. Thus when the ET bit is set to a value by the initiator, this value is returned for both the cumulative
and threshold values of the log parameter. This field is not supported.
TMC: The threshold met criteria (TMC) field defines the binary relationship between the cumulative and threshold
log parameter values under which the threshold is met. If the ET bit is one and the threshold condition is met, a
Unit Attention condition will be posted to all initiators. When reporting the unit attention condition, the target will set
the sense key to UNIT ATTENTION, the ASC to LOG EXCEPTION, and the ASCQ to THRESHOLD CONDITION
MET.
The TMC field is the same for both the cumulative and threshold parameter. Thus when the TMC field is set to a
value by the initiator, this value is returned for both cumulative and threshold values of the log parameter.
Table 6-12: Threshold Met criteria
TMC
00b
01b
10b
11b
Threshold Met Criteria
Any update of the parameter
Cumulative = Threshold
Cumulative < > Threshold
Cumulative > Threshold
LP: The LP bit field defines whether the parameter is a data counter or a list parameter. See the description of
each supported page below for information on the setting of this field.
Note: If any of the other bit-fields in the control byte are set then the command will terminate with a CHECK
CONDITION status with a sense key of ILLEGAL REQUEST and an ASC of INVALID FIELD IN PARAMETER
LIST
6-16
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOG SENSE
6.Command Specification
6.6.3. Summary List of Supported Pages (00h)
The summary list of supported log pages returns the list of page codes supported by the target. This page is only
valid for the Log Sense command and if sent to the initiator during a Log Select command will cause termination
with a CHECK CONDITION status with sense key set to ILLEGAL REQUEST and ASC of INVALID FIELD IN
PARAMETER LIST.
Table 6-13: Supported Log Pages
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
Reserved
(MSB)
Page Code (00h)
Reserved (00h)
Page Length (00 0Eh)
3
(LSB)
4
Supported Page List
17
(00 02 03 07 2E 30 31 33 34 35 39 3C 3D 3Eh)
This page returns the summary list of supported log pages for the specified logical unit to the requesting initiator.
IMPLEMENTORS NOTE: Typically, an initiator will first request page ZERO to determine the list of pages
supported by the device. The page code parameters are a list containing the page codes of the supported pages
for the logical unit in ascending order. Note that neither Threshold nor Cumulative values have any meaning for
this page.
6.6.4. Write and Read Error Counters Pages (02h or 03h)
The Error Counters Pages (Write and Read) are used to report statistical information about Write and Read soft
and hard errors and retries. Each parameter is a counter which is updated by the target every time the
corresponding event occurs. The format of the Error Counters Pages is given below:
Table 6-14: Write/Read Error counters page
Bit
7
6
5
4
3
2
1
0
Byte
0
Reserved
Page Code (02h or 03h)
Reserved
Page Length (n)
1
2
3
(MSB)
(LSB)
Table 6-15: Error Counter Descriptors
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
7
(MSB)
DU (0)
(MSB)
Parameter Code
(LSB)
LP (0)
DS (1)
TSD (0)
ETC (0)
TMC (00)
LBIN (0)
Parameter Length (n-3)
Parameter Value
(LSB)
The Page Code is one of the following:
Table 6-16: Page Code
Page Code
02h
Description
Write error Counter Page
Read error Counter Page
03h
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-17
6.Command Specification
LOG SENSE
The following parameter codes are supported for each Error Counters Page:
Table 6-17: Error Counter parameter codes
Parameter
Code
0003h
0004h
0005h
Description
Parameter
Length (Bytes) Cumulative
Default
Default
Threshold
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
Total Errors Corrected (Soft Errors)
Total Times Correction
Total Groups Processed (Algorithm
Processed)
4
4
4
0
0
0
0006h
Total Errors Uncorrected (Hard Errors)
4
0
FFFFFFFFh
6.6.5. Last N Error Events List (07h)
This page is used to report information on soft and hard errors encountered by the device during normal operation.
Each parameter corresponds to an encountered error and is a report of what type of error occurred and when it
occurred. The format of the page is given below:
Table 6-18: Last N Error Events Page
Bit
7
6
5
4
3
2
1
0
Byte
0
Reserved
Page Code (07h)
Reserved
Page Length (n*14)
1
2
3
(MSB)
(LSB)
Table 6-19:Error Events Descriptors
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
(MSB)
DU (0)
Parameter Code
(LSB)
LP (0)
DS (1)
TSD (0)
ETC (0)
TMC (00)
LBIN (0)
3
4
Parameter Length (0Ah)
Parameter Value
13
The Parameter Codes supported are 1 through 30 where 30 is the maximum number of entries in the log page.
If there are no entries, the command will return the Page Header with the Page Length field set to ZERO.
Each error event record contains diagnostic information for a single error encountered by the device. The
parameter codes associated with the error-event records indicate the order in which the errors occurred. A higher
parameter code indicates that the error event occurred later in time.
Each parameter entry is 10 bytes long and has the following format:
Table 6-20: Error Event format
Byte Offset
Meaning
0 – 4
5
Result Message (see Diagnostic Clause)
Unused
6 – 9
Time-stamp (number of 1 minute increments since power-on)
When the log page becomes full, no more entries will be added until the log is cleared (using one of the methods
described previously) or a reset occurs. The current cumulative values will be returned regardless of the page
control field in the LOG SENSE CDB.
6-18
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOG SENSE
6.Command Specification
6.6.6. Tape Alert Log Page (2Eh)
Bit
7
6
5
4
3
2
1
0
Byte
0
Reserved
Page Code (2Eh)
Reserved
Page Length (140h)
1
2
3
5n-1
5n
5n+1
5n+2
5n+3
(MSB)
(MSB)
DU (0)
(LSB)
LP (0)
Parameter Code (n)
DS (1)
TSD (0)
ETC (0)
TMC (00)
LBIN (0)
Parameter Length (1)
Value of Flag
The value of n in the Parameter Code field will be in the range of 1 to 64.
A value of one in the Value of Flag field indicates the flag is set.
Each flag will be cleared to zero in the following conditions:
• At power on cycle
• When Tape Alert Log page is read
• When specified corrective action has been performed
• SCSI bus reset or Bus Device Reset message
• Log Select reset
There are three types of flags, listed below in order of increasing severity:
Table 6-21: Tape Alert flag types
Severity
Urgent User
Intervention
X
Risk of Data Loss
Explanations
C (Critical)
W (Warning)
I (Information)
X
X
X
X
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-19
6.Command Specification
LOG SENSE
Tape Alert Log Page Parameter Codes
Code
Flag
Flag Type
Recommended application client message
Probable cause
01h
Read Warning
W
W
W
C
The tape drive is having problems reading data. No The drive is having severe
data has been lost, but there has been a reduction trouble reading
in the performance of the tape.
02h
03h
04h
Write
Warning
The tape drive is having problems writing data. No
data has been lost, but there has been a reduction
in the capacity of the tape.
The drive is having severe
trouble writing
Hard Error
Media
The operation has stopped because an error has
occurred while reading or writing data, which the
drive cannot correct.
The drive had a hard read
or write error
Your data is at risk:
1. Copy any data you require from this tape.
2. Do not use this tape again.
Media can no longer be
written/read, or
performance is severely
3. Restart the operation with a different tape.
The tape is damaged or the drive is faulty. Call the
tape drive supplier helpline.
The tape is from a faulty batch or the tape drive is
faulty:
degraded
05h
06h
Read Failure
Write Failure
C
C
The drive can no longer
read data from the tape
The drive can no longer
write data to the tape
1. Use a good tape to test the drive.
2. If the problem persists, call the tape drive
supplier helpline.
07h
Media Life
W
The tape cartridge has reached the end of its
calculated useful life:
The media has exceeded
its specified life
1. Copy any data you need to another tape
2. Discard the old tape.
08h
09h
Not Data
Grade
W
C
I
The tape cartridge is not data-grade. Any data you
back up to the tape is at risk.
Replace the cartridge with a data-grade tape.
You are trying to write to a write-protected cartridge. Write command is
Remove the write-protection or use another tape.
The drive has not been
able to read the MRS
stripes
Write Protect
attempted to a write
protected tape
Manual or s/w unload
attempted when prevent
media removal on
0Ah No Removal
You cannot eject the cartridge because the tape
drive is in use.
Wait until the operation is complete before ejecting
the cartridge.
0Bh Cleaning
Media
0Ch Unsupported
Format
I
I
The tape in the drive is a cleaning cartridge.
Cleaning tape loaded into
drive
You have tried to load a cartridge of a type that is
not supported by this drive.
Attempted loaded of
unsupported tape format,
e.g. DDS2 in DDS1 drive
Tape snapped/cut in the
drive where media can be
ejected
0Dh Recoverable
Snapped Tape
C
C
The operation has failed because the tape in the
drive has snapped:
1. Discard the old tape.
2. Restart the operation with a different tape.
The operation has failed because the tape in the
drive has snapped:
1. Do not attempt to extract the tape cartridge.
2. Call the tape drive supplier helpline.
The memory in the tape cartridge has failed, which
reduces performance.
0Eh Unrecoverable
Snapped Tape
Tape snapped/cut in the
drive where media cannot
be ejected
0Fh
Memory Chip
in Cartridge
Failure
W
Memory chip failed in
cartridge
Do not use the cartridge for further backup
operations.
10h
11h
Forced Eject
C
The operation has failed because the tape cartridge Manual or forced eject
was manually ejected while the tape drive was
actively writing or reading.
while drive actively writing
or reading
Read Only
Format
W
You have loaded a cartridge of a type that is
read-only in this drive.
Media loaded that is
read-only format
The cartridge will appear as write-protected
6-20
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOG SENSE
6.Command Specification
Code
Flag
Flag Type
Recommended application client message
Probably cause
12h
W
The directory on the tape cartridge has been
corrupted.
File search performance will be degraded. The
tape directory can be rebuilt by reading all the data prevented the tape
on the cartridge
Tape drive powered down
with tape loaded, or
permanent error
Tape
Directory
Corrupted
on Load
directory being updated
13h
14h
Nearing Media
Life
I
The tape cartridge is nearing the end of its
calculated life. It is recommended that you:
1. Use another tape cartridge for your next backup. number of passes
2. Store this tape cartridge in a safe place in case
you need to restore data from it.
The tape drive needs cleaning:
1. If the operation has stopped, eject the tape and
Media may have
exceeded its specified
Clean Now
C
The drive thinks it has a
head clog, or needs
cleaning
clean the drive
2. If the operation has not stopped, wait for it to
finish and then clean the drive.
Check the tape drive user’s manual for device
specific cleaning instructions.
15h
16h
17h
18h
19h
Clean Periodic
W
C
The tape drive is due for routine cleaning:
1. Wait for the current operation to finish.
2. Then use a cleaning cartridge.
Check the tape drive user’s manual for device
specific cleaning instructions.
The last cleaning cartridge used in the tape drive
has worn out:
1. Discard the worn out cleaning cartridge.
2. Wait for the current operation to finish.
3. Then use a new cleaning cartridge.
The last cleaning cartridge used in the tape drive
was an invalid type:
1. Do not use this cleaning cartridge in this drive.
2. Wait for the current operation to finish.
3. Then use a valid cleaning cartridge.
The drive is ready for a
periodic clean
Expired
Cleaning
Media
The cleaning tape has
expired
Invalid
Cleaning Tape
C
Invalid cleaning tape type
used
Retention
Requested
W
W
The tape drive has requested a retention operation The drive is having
severe trouble reading or
writing, which will be
resolved by a retention
cycle
Failure of one interface
port in a dual-port
configuration, e.g. Fibre
channel
Dual-Port
Interface Error
A redundant interface port on the tape drive has
failed
1Ah
1Bh
Cooling Fan
Failure
W
W
A tape drive cooling fan has failed.
Fan failure inside tape
drive mechanism or tape
drive enclosure
Redundant PSU failure
inside the tape drive
enclosure or rack
Power Supply
A redundant power supply has failed inside the
tape drive enclosure. Check the enclosure user’s
manual for instructions on replacing the failed
power supply.
subsystem
1Ch
1Dh
Power
Consumption
W
W
The tape drive power consumption is outside the
specified range
Power consumption of the
tape drive is outside
specified range
The drive requires
preventative maintenance
(not cleaning).
Drive
Maintenance
Preventive maintenance of the tape drive is
required.
Check the tape drive user’s manual for device
specific preventive maintenance tasks or call the
tape drive supplier helpline.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-21
6.Command Specification
LOG SENSE
Code
1Eh
Flag
Hardware A
Flag Type
Recommended application client message
The tape drive has a hardware fault:
1. Eject the tape or magazine.
2. Reset the drive.
Probable cause
The drive has a hardware
fault that requires reset to
recover.
C
3. Restart the operation.
1Fh
Hardware B
C
The tape drive has a hardware fault:
1. Turn the tape drive off and then on again.
2. Restart the operation.
3. If the problem persists, call the tape drive
supplier helpline.
The drive has a hardware
fault which is not read/write
related or requires a power
cycle to recover.
Check the tape drive user’s manual for device
specific instructions on turning the device power
on and off.
20h
21h
22h
Interface
W
C
The tape drive has a problem with the initiator
interface:
1. Check the cables and cable connections.
2. Restart the operation.
The drive has identified an
interfacing fault
Eject Media
Download Fail
The operation has failed:
Error recovery action
1. Eject the tape or magazine.
2. Insert the tape or magazine again.
3. Restart the operation.
The firmware download has failed because you
have tried to use the incorrect firmware for this
tape drive.
W
Firmware download failed
Obtain the correct firmware and try again.
23h
Drive Humidity
W
Environmental conditions inside the tape drive
are outside the specified humidity range
Drive humidity limits
exceeded
24h
25h
Drive
Temperature
W
W
Environmental conditions inside the tape drive
are outside the specified temperature range
Drive temperature limits
exceeded
Drive Voltage
The voltage supply to the tape drive is outside
the specified range
Drive voltage limits exceeded
26h
27h
Predictive
Failure
Diagnostics
Required
C
A hardware failure of the tape drive is predicted. Predictive failure of drive
Call the tape drive supplier helpline.
The tape drive may have a fault. Check for
availability of diagnostic information and run
extended diagnostics if applicable.
Check the tape drive users manual for
instructions on running extended diagnostic
tests and retrieving diagnostic data
hardware
W
The drive may have had a
failure which may be
identified by stored
diagnostic information or by
running extended
diagnostics (e.g. Send
Diagnostic)
28h
29h
Loader
Hardware A
C
C
The changer mechanism is having difficulty
communicating with the tape drive:
1. Turn the autoloader off then on.
2. Restart the operation.
3. If problem persists, call the tape drive supplier
helpline.
Loader mechanism is having
trouble communicating with
the tape drive
Loader Stray
Tape
A tape has been left in the autoloader by a
previous hardware fault:
Stray tape left in loader after
previous error recovery
1. Insert an empty magazine to clear the fault.
2. If the fault does not clear, turn the autoloader
off and then on again.
3. If the problem persists, call the tape drive
supplier helpline.
2Ah
Loader
Hardware B
W
There is a problem with the autoloader
mechanism.
Loader mechanism has a
hardware fault
6-22
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOG SENSE
6.Command Specification
Code
2Bh
Flag
Loader Door
Flag Type
Recommended application client message
The operation has failed because the autoloader
door is open:
Probable cause
Tape changer door open
C
1. Clear any obstructions from the autoloader door.
2. Eject the magazine and then insert it again.
3. If the fault does not clear, turn the autoloader off
and then on again
4. If the problem persists, call the tape drive
supplier helpline.
2Ch
Loader
Hardware C
C
The autoloader has a hardware fault:
1. Turn the autoloader off and then on again.
2. Restart the operation.
3. If the problem persists, call the tape drive
supplier helpline.
The loader mechanism
has a hardware fault that
is not mechanically
related.
Check the autoloader users’ manual for device
specific instructions on turning the device power on
and off.
2Dh
2Eh
Loader
Magazine
C
The autoloader cannot operate without the
magazine.
1. Insert the magazine into the autoloader
2. Restart the operation.
A hardware failure of the changer mechanism is
predicted.
Loader magazine not
present
Loader
Predictive
Failure
W
Predictive failure of
loader mechanism
hardware
Call the tape drive supplier helpline.
32h
33h
Lost Statistics
W
W
Media statistics have been lost at some time in the Drive or library powered
past
down with tape loaded
Error prevented the tape
directory being updated
on unload.
Tape directory
invalid at unload
The tape directory on the tape cartridge just
unloaded has been corrupted.
File search performance will be degraded
The tape directory can be rebuilt by reading all the
data.
36h
No start of data
C
The start of data could not be found on the tape:
1. Check you are using the correct format tape
2. Discard the tape or return the tape to your
supplier
Tape damaged, bulk
erased, or incorrect
format
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-23
6.Command Specification
LOG SENSE
6.6.7. Tape Log Page (30h) (Sony Unique)
This page is a Sony unique page which provides information on the tape currently being used. This log cannot be
cleared and has the following format:
Table 6-22: Tape Log Page
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
Reserved
Page Code (30h)
Reserved
Page Length
(MSB)
(MSB)
DU (0)
(LSB)
LP (0)
Parameter Code
5
6
DS (1)
TSD (0)
ETC (0)
TMC (00)
LBIN (0)
7
8
Parameter Length (m)
Parameter Value
3+m
This page is used to return Tape Log information to the initiator in a format which conforms to the LOG SENSE
command page format.
Supported Parameter Codes in this page are listed below along with their meanings:
Table 6-23: Tape Log parameter codes
Parameter Code
Description
Current Groups Written
Length
001h
002h
003h
004h
005h
006h
007h
008h
009h
00Ah
00Bh
00Ch
00Dh
8
8
8
8
8
8
8
8
8
8
8
8
4
Current Rewritten Tracks
Current Groups Read
Current C3 ECC Count
Previous Groups Written
Previous Rewritten Tracks
Previous Groups Read
Previous C3 ECC Count
Total Groups Written
Total Rewritten Tracks
Total Groups Read
Total C3 ECC Count
Load Count
This information is contained within RAM in the Drive Controller. The log is updated as the tape is used.
The term 'current' refers to information generated during the current load of the tape; 'previous' refers to
information generated during the last tape load; 'total' refers to information generated since it was first initialized
including the current load.
Use: An estimate of reading and writing performance can be made by the ratios of 'Total Groups Written' to
'Rewritten Tracks' and 'Groups Read' to 'C3 ECC Count'. An indication of tape degradation can be gained by
comparing these ratios for 'current', 'previous' and 'total' entries.
Any attempt to change this page using LOG SELECT will result in a CHECK CONDITION with a Sense Key of
ILLEGAL REQUEST. The current cumulative values will be returned regardless of the Page Control field in the
LOG SENSE CDB.
6-24
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOG SENSE
6.Command Specification
6.6.8. Tape Capacity Log Page (31h) (Sony Unique)
The tape Capacity Log Page is used to indicate the approximate capacity of the tape currently being used. The PC
field of the LOG SENSE command is ignored for this field.
Table 6-24: Tape Capacity Log Page
7
6
5
4
3
2
1
0
Bit
Byte
0
Page Code (31h)
Reserved (0)
Page Length (00 20h when AIT bit =0
04 00h when AIT bit =1)
1
2
3
(MSB)
(LSB)
Table 6-25: Capacity Descriptors
7
6
5
4
3
2
1
0
Bit
Byte
0
1
2
3
4
7
(MSB)
DU (0)
(MSB)
Parameter Code
(LSB)
LP (0)
DS (1)
TSD (0)
ETC (0)
TMC (00)
LBIN (0)
Parameter Length (04h)
Parameter Value
(LSB)
Tape Capacity Log Page Parameters:
Table 6-26: Tape Capacity Log Parameter Codes
Length
Code
0001
0002
0003
0004
Description
Remaining capacity, partition 0 (kilobytes)
4
4
4
4
Reserved
Maximum capacity, partition 0 (kilobytes)
Reserved
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-25
6.Command Specification
LOG SENSE
6.6.9. Drive Usage Log Page (33h) (Sony Unique)
This page is a SONY unique page which provides information on the drive currently being used. This log cannot
be cleared and has the following format.
Table 6-27: Drive Usage Log Page
Bit
7
6
5
4
3
2
1
0
Byte
0
Reserved
Page Code (33h)
Reserved
Page Length (0244h)
1
2
3
4
5
6
7
8
(MSB)
(MSB)
DU (0)
(LSB)
Parameter Code
(LSB)
LP (0)
DS (1)
TSD (0) ETC (0)
Parameter Length (m)
Parameter Value
TMC (00)
LBIN (0)
7+m
This page is used to return the vendor unique Drive Usage Log information to the initiator in a format which
conforms to the Log Sense command page format.
Supported Parameter Codes in this page are listed below with their meaning:
Table 6-28: Drive Usage Supported Parameter Codes
Default
Cumulative
00000000h
00000000h
00000000h
n/a
00000000h
00000000h
n/a
n/a
n/a
00000000h
00000000h
00000000h
n/a
Default
Threshold
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
n/a
Code
Description
Power on minutes
Drum revolution minutes
Fan revolution minutes
Reserved
Length
0001h
0002h
0003h
0004h
0005h
0006h
0007h
0008h
0009h
000ah
000bh
000ch
4
4
4
4
4
4
4
8
4
4
4
4
4
4
4
Load count
Thread count
FFFFFFFFh
FFFFFFFFh
MD serial number
All board revision number
Drive serial number
Mechanism motion count (pinch on count)
Cleaning Request Flag and Interval
(minutes)
EEPROM written count
Reserved
Reserved
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
n/a
000dh
000eh
000fh
n/a
n/a
n/a
n/a
0010h
0011h- 0020h
Reserved
Reserved
4
n/a
n/a
n/a
8×16
Last 16 Mechanism Error Event List
Cleaning Request Flag and Interval Parameter Format
Byte 3
b7
Byte 2
Byte 1
Byte 0
b
6
b
5
b
4
b
3
b
2
b
1
b
0
b
7
b
6
b
5
b
4
b
3
b
2
b
1
b
0
b
7
b
6
b
5
b
4
b
3
b
2
b
1
b
0
b
7
b
6
b
5
b
4
b
3
b
2
b
1
b
0
↔
←⎯⎯ Drum Rotation Time Interval from the last cleaning (minutes) ⎯⎯→
Cleaning Request Status (1 = Request)
6-26
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOG SENSE
6.Command Specification
All board revision number is 8 bytes long and has a following format:
Table 6-29: All Board Revision Number Parameter Format
Set revision
0
1
2
3
4
5
6
7
Board revision
Mechanism revision
RF revision
Each Mechanism Error Event is 24 bytes long and has following format:
Table 6-30: Mechanism Error Event Format
Byte offset
Meaning
0-3
4-7
Drum revolution minutes
Error code
6.6.10. Read and Write Frame Error Counter Page (34h & 35h)
The Read and Write Error Counter Page has the following format. All fields in these logs are initialized to ZERO in
the following circumstances:
At Power On
After a cassette unloading
After a user sends a request for initialization through Log Select
Table 6-31: Read and Write Frame Error Counter Page
Bit
7
6
5
4
3
2
1
0
Byte
0
Page Code (34h Write Frame Error Counters, 35h Read Frame Error Counters)
1
2
3
Reserved
Page Length (88h)
(MSB)
(LSB)
Error Counter Descriptors
Bit
7
6
5
4
3
2
1
0
Byte
0
(MSB)
DU (0)
(MSB)
Parameter Code
1
2
3
4
7
(LSB)
LP (0)
DS (1)
TSD (0)
ETC (0)
Parameter Length (4)
Parameter Value
TMC (0)
LBIN (0)
(LSB)
Parameter Code: This identifies which parameter of data is being transferred. The following codes are supported
for each Error Counter Page.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-27
6.Command Specification
LOG SENSE
Parameter Code
Length
Default Cumulative
Default Threshold
0001h Frame Read or Write
0002h Main Data SYMN Block Errors CH1
0003h Main Data SYMN Block Errors CH2
0004h Reserved
0005h Reserved
0006h Reserved
0007h Reserved
0008h Reserved
0009h Reserved
000Ah SYMN Block Errors R1
000Bh SYMN Block Errors R2
000Ch SYMN Block Errors R3
000Dh SYMN Block Errors R4
000Eh Reserved
000Fh Reserved
0010h Reserved
0011h Reserved
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
FFFFFFFFh
Block_Error_Rate [CH1] = Param0002h / (Param0001h×N)
Block_Error_Rate [CH2] = Param0003h / (Param0001h×N)
Block_Error_Rate [R1] = Param000Ah / (Param0001h×N/2)
Block_Error_Rate [R2] = Param000Bh / (Param0001h× N/2)
Block_Error_Rate [R3] = Param000Ch / (Param0001h× N/2)
Block_Error_Rate [R4] = Param000Dh / (Param0001h× N/2)
[N] AIT-5 Tape
AIT-4 Tape
: N = 206
: N = 206
AIT-3Ex Tape : N = 154
AIT-3 Tape : N = 336
The Format of this log page is shown in Table 6-32
Table 6-32: Read and Write Frame Error Counter Page Header format
Bit
7
6
5
4
3
2
1
0
Byte
0
Page Code (34h Write Frame Error Counters, 35h Read Frame Error Counters)
1
2
3
Reserved
Page Length (88h)
(MSB)
(LSB)
6-28
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOG SENSE
6.Command Specification
The Error Counter Parameter format is shown in Table 6-33
Table 6-33: Read and Write Frame Error Counter Page Parameter format
Bit
7
6
5
4
3
2
1
0
Byte
0
(MSB)
Parameter Code
1
2
(LSB)
LP
(0b)
DU
(0b)
DS
(1b)
TSD
(0b)
ETC
(0b)
TMC
(00b)
LBIN
(0b)
3
4
7
Parameter Length (4)
Parameter Value
(MSB)
(LSB)
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-29
6.Command Specification
LOG SENSE
6.6.11. Data Compression Transfer Log Page (39h) (Sony Unique)
The page allows the initiator to monitor the performance of the ALDC compression. The PC field in LOG SENSE
determines whether current cumulative or current/default threshold values are returned. The page has the
following format:
Table 6-34: Data Compression Transfer Log Page
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
5
6
7
8
Reserved
Page Code (39h)
Reserved
Page Length (58h)
(MSB)
(MSB)
DU (0)
(MSB)
(LSB)
Parameter Code (n)
(LSB)
LP (0)
DS (1)
TSD (0)
ETC (0)
TMC (00)
LBIN (0)
Parameter Length (4)
Parameter Value
11
(LSB)
Data Compression Log Page Fields:
Supported Parameter Codes in this page and their meanings are as follows:
Code
0001h
0002h
0003h
0004h
0005h
0006h
0007h
0008h
0009h
000Ah
000Bh
Description
Length
Number of entities written
Number of entities read
Number of records written
Number of records read
4
4
4
4
4
4
4
4
4
4
4
Megabytes to data compression
Megabytes from data compression
Megabytes to tape
Megabytes from tape
Logical entity size
Physical entity size
Uncompressed entities
Entities Written/Read: The total number of complete entities written to or read from the tape since the last
power-on or Clear Log operation.
Records Written/Read: The total number of records (both compressed and uncompressed) written to or read
from the tape since the last power-on or Clear Log operation.
Kilobytes to/from Data Compression: The total number of kilobytes written to or read from the tape since the
last power-on or Clear Log operation. For Kilobytes from Data Compression, this number may be greater than the
number of kilobytes transferred to the initiator due to read ahead.
Logical Entity Size: The logical size of the last entity written to or read from the tape: size = number of record in
entity × record size in bytes
Physical Entity Size: The physical size of the last entity written to or read from the tape: size = entity header
length + uncompressed data length
Uncompressed Entities: The total number of times non-ALDC entities have been encountered on the tape during
read operations since the last power-on or Clear Log operation.
6-30
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOG SENSE
6.Command Specification
6.6.12. AIT Log Page (3Ch) (Sony Unique)
This page is for the AIT original Tape Log. The AIT Tape Log of each fields are larger than legacy Tape Log Page.
The legacy Tape Log Page returns the part of AIT original. This page indicates the Partition Information at the
current Partition.
Table 6-35: AIT Log Page
Bit
Bit
7
6
5
4
3
2
1
0
Byte
0
Page Code (3Ch)
Reserved
Page Length (n+1)
1
2
3
(MSB)
(LSB)
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
N
(MSB)
DU (0)
(MSB)
Parameter Code (0001h - 0012h and 0101h - 0112h)
(LSB)
LP (0)
DS (1)
TSD (0) ET (0) TMC (00)
LBIN (0)
Parameter Length (n-3)
Parameter Value
(LSB)
Parameter Code:
Code
Description
Length
0001h
0002h
0003h
0004h
0005h
0006h
0007h
0008h
0009h
000Ah
000Bh
000Ch
000Dh
000Eh
000Fh
0010h
0011h
0012h
Current Groups Written
Current Rewritten Tracks
Current Groups Read
Current C3 ECC Count
Previous Groups Written
Previous Rewritten Tracks
Previous Groups Read
Previous C3 ECC Count
Total Groups Written
Total Rewritten Tracks
Total Groups Read
Total C3 ECC Count
Load Count
Access Count
Update Replace Count
Last Valid Absolute Frame Number
Partition Attribute
8
8
8
8
8
8
8
8
8
8
8
8
4
4
8
8
8
8
Maximum Absolute Frame Number
Previous Groups Written: This is the number of groups physically written to the tape or partition since the last
update of the System area. Where Repeat Writing is in force, this count increments for each instance.
Total Groups Written: This is the total number of groups physically written to the tape or partition since the first
time the tape or partition was written. The number accumulates over the life of the tape but is ZEROed by a format
pass. Where Repeat Writing is in force, this count increments for each instance.
Previous Groups Read: This is the number of groups physically read from the tape or partition since the last
update of the System area.
Total Groups Read: This is the total number of groups physically read from the tape or partition since the first
time the tape or partition was written. This does not include any reading as part of a Read-After-Write check. The
number accumulates over the life of the tape but is ZEROed by a format pass.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-31
6.Command Specification
LOG SENSE
Total Rewritten Frames: This is the total number of frames on the tape or within the partition that were needed to
be rewritten since the tape or partition was first written. It is incremented by 1 each time a frame is repeated
following error detection by the Read-After-Write process. This count does not include any frames which are
written between the original frame and its rewrite. The number accumulates over the life of the tape but is ZEROed
by a format pass.
Total 3rd ECC Count: This is the number of groups which have been physically read and data has not been
recovered without requiring the use of C3 correction since the first time the tape or partition was written. The
number accumulates over the life of the tape but is ZEROed by a format pass.
Access Count: This is the number of times the drive accesses the partition. The both an "Unload" and a "Change
Partition" is the event for incrementing the Access Count counter.
Update Replace Count: This is the number of times the drive update the partition.
Previous Rewritten Frames: This is the number of frames on the tape or within the partition that were needed to
be rewritten since the last update of the System area. It is incremented by 1 each time a frame is repeated
following error detection by the Read-After-Write process. This count does not include any frames which are
written between the original frame and its rewrite.
Previous 3rd ECC Count: This is the number of groups which have been physically read and data has not been
recovered without requiring the use of C3 correction since the last update of the System area.
Load Count: This is the number of times the tape has been loaded since the first time a tape was written. One
load consists of threading the media around the drum of the drive mechanism, positioning the tape ready for use
and later unthreading the media. The number accumulates over the life of the tape but is ZEROed by a format
pass. This field is Reserved in the System Log of Partition 0 of a multiple partitioned tape.
Last Valid Absolute Frame Number: This field will specify the Absolute Frame Number which is the number of
Frames written since the beginning of the partition, excluding any Frames that are written in the test area. The first
Frame of the Reference area is the first Frame after the Logical Beginning-Of-Tape (LBOT) point of the current
partition and has an Absolute Frame Number of 1. Any discontinuous or repeated numbers will occur only in an
Amble Frame sequence.
Maximum Absolute Frame Count: This field will specify the Absolute Frame Number of the last Frame of the last
EOD Area as the Maximum Absolute Frame Number. After that, the Maximum Absolute Frame Number is equal to
the Valid Maximum Absolute Frame Number, because the whole data area in the partition contains valid data. The
Maximum Absolute Frame Number will not be changed as long as the partition size is the same.
Partition Attributes: This field is not supported and will be always set to ZERO.
6-32
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOG SENSE
6.Command Specification
6.6.13. MIC Fixed Length Information Page (3Dh) (Sony Unique)
Table 6-36: MIC Fixed Length Information Page
Bit
7
6
5
4
3
2
1
0
Byte
0
Page Code (3Dh)
Reserved
Page Length (n+1)
1
2
3
(MSB)
(LSB)
Parameter Code:
Code
Description
Length
4
0001h
0002h
0003h
0004h
0005h
0006h
0007h
0008h
0009h
000Ah
000Bh
000Ch
000Dh
000Eh
000Fh
0010h
0011h
0012h
MIC Logical Format Type
Device Configuration bits
Available free byte count
User Volume Note size
Reserved
Cassette Serial Number, etc.
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
4
4
4
8
32
32
32
32
32
32
32
32
32
32
32
32
32
0013h
0014h
0015h
0016h
0017h
0018h
Reserved
Obsolete
Accumulative System Log
Volume Information
Element Address
32
32
90
96
96
4
User Partition Note size for Partition #0
Note:
1. Parameter Code 0002h AIT Device Configuration Byte is the same byte value returned in Mode Sense Page
31h byte 2. See page 6-58 paragraph 6.8.1 for a description of the fields in this byte.
2. Parameter Code 0003h Available Free Byte Count represents the current user MIC memory that is available
for writing data to the MIC using the Log Select command through Page 3Eh Parameter Code 0001h,
0002h, …. 000Nh. If Available Free Byte Count is 1 or higher the application may use exactly that size or
smaller to write MIC User data. If this field is ZERO a Check Condition status is returned if attempts are
made to write data to the MIC. If the application attempts to write data to the MIC that is larger than this field
a Check Condition status will also be returned. In both cases where Check Condition status is returned no
data is written to the MIC.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-33
6.Command Specification
LOG SENSE
Parameter Code 0017h Drive Element Address data field is reserved. The drive always returns ZERO for this field.
Bit
7
6
5
4
3
2
1
0
Byte
0
(MSB)
DU (0)
(MSB)
Parameter Code (0001h)
1
2
3
4
7
(LSB)
DS (1)
TSD (0)
ETC (0)
TMC (00)
LBIN (0)
LP (0)
Parameter Length (4)
MIC Logical Format Type
(LSB)
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
5
6
7
(MSB)
DU (0)
Parameter Code (0002h)
(LSB)
LP (0)
DS 1)
TSD (0)
ABS
ETC (0)
TMC (00)
LBIN (0)
Parameter Length (4)
Reserved
DEVICE
ULPBOT
AIT
(MSB)
PRTH
PONEJ
SysLogAlive
(LSB)
Reserved
Bit
Bit
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
7
(MSB)
DU (0)
(MSB)
Parameter Code (0003h)
(LSB)
LP (0)
DS (1)
TSD (0)
ETC (0)
Parameter Length (4)
Available Free Byte Count
TMC (00)
LBIN (0)
(LSB)
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
7
(MSB)
DU (0)
(MSB)
Parameter Code (0004h)
(LSB)
LP (0)
DS (1)
TSD (0)
ETC (0)
Parameter Length (4)
User Volume Note Size
TMC (00)
LBIN (0)
(LSB)
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
(MSB)
DU (0)
(MSB)
Parameter Code (0005h)
(LSB)
LP (0)
DS (1)
TSD (0)
ETC (0)
TMC (00)
LBIN (0)
Parameter Length (8)
Reserved
11
(LSB)
6-34
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOG SENSE
6.Command Specification
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
(MSB)
DU (0)
(MSB)
Parameter Code (0006h)
(LSB)
LP (1)
DS (0)
TSD (1)
ETC (0)
TMC (00)
LBIN (0)
Parameter Length (32)
Cassette Serial Number (ASCII Code)
35
(LSB)
Bit
7
6
5
4
3
2
2
2
1
0
Byte
0
1
2
3
4
(MSB)
DU (0)
(MSB)
Parameter Code (0007h – 0013h)
(LSB)
LP (0)
DS (1)
TSD (0)
ETC (0)
Parameter Length (32)
Reserved
TMC (00)
LBIN (0)
35
(LSB)
Bit
7
6
5
4
3
1
0
Byte
0
1
2
3
4
(MSB)
DU (0)
Parameter Code (0014h)
(User Partition Note Map)
ETC (0)
Parameter Length (32)
Obsolete
(LSB)
LP (0)
DS (1)
TSD (0)
TMC (00)
LBIN (0)
35
Bit
7
6
5
4
3
1
0
Byte
0
1
2
3
(MSB)
DU (0)
Parameter Code (0015h)
(Accumulative System Log)
(LSB)
LP (0)
DS (1)
TSD (0)
ETC (0)
TMC (00)
LBIN (0)
Parameter Length (90)
4
(MSB)
(MSB)
(MSB)
(MSB)
CURRENT AMOUNT OF DATA WRITTEN
The CURRENT WRITE RETRIES COUNT
CURRENT AMOUNT OF DATA READ
CURRENT READ RETRIES COUNT
9
(LSB)
10
15
16
(LSB)
(LSB)
(LSB)
21
22
27
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-35
6.Command Specification
LOG SENSE
28
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
PREVIOUS AMOUNT OF DATA WRITTEN
PREVIOUS WRITE RETRIES COUNT
PREVIOUS AMOUNT OF DATA READ
PREVIOUS READ RETRIES COUNT
TOTAL AMOUNT OF DATA WRITTEN
TOTAL WRITE RETRIES COUNT
TOTAL AMOUNT OF DATA READ
TOTAL READ RETRIES COUNT
LOAD COUNT
33
34
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
39
40
45
46
51
52
57
58
63
64
69
70
73
74
81
82
TOTAL CHANGE PARTITION COUNT
TOTAL PARTITION INITIALIZE COUNT
87
88
93
6-36
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOG SENSE
6.Command Specification
Bit
7
6
5
4
3
2
1
0
Byte
0
(MSB)
DU (0)
Parameter Code (0016h)
(Volume Information)
1
2
(LSB)
DS (1)
TSD (0)
ETC (0)
TMC (00)
LBIN (0)
LP (0)
3
Parameter Length (96)
Reserved (Eject Status)
Reserved (Reel Diameter)
Reserved
4-23
24-27
28
29-31
32
Initialize Count
ABS
Reserved
SysLogAlive
ULPBOT
AIT
33
34-99
Last Partition Number
Reserved
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
(MSB)
DU (0)
(MSB)
Parameter Code (0017h)
(Element Address)
(LSB)
LP(0)
DS (1)
TSD (0)
ETC (0)
TMC (00)
LBIN (0)
Parameter Length (4)
Reserved
99
(LSB)
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
7
(MSB)
DU (0)
(MSB)
Parameter Code (0018h)
(User Partition Note for Partition 0)
TSD (0) ETC (0) TMC (00)
Parameter Length (4)
User Partition Note Size for Partition 0
(LSB)
LP (0)
DS (1)
LBIN (0)
(LSB)
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-37
6.Command Specification
LOG SENSE
6.6.14. MIC Variable Length Information Page (3Eh) (Sony Unique)
Page 3Eh is a variable length page. That is not defined by ANSI. This page is Sony Vendor Unique.
Important NOTE:
1. Only one Parameter Code in Page 3Eh is transferred at a time.
2. Byte 3 of Parameter Code in the Page 3Eh is Reserved. (Will be set to ZERO.)
3. Parameter Length for the contents of the Parameter Code in Page 3Eh is stored at the byte position 4 and 5.
4. The Page Length field in the Page Code indicates the total number of bytes that follow this byte. This value is
independent of what is specified for the Allocation Length in the CDB.
Table 6-37: MIC Variable Length Information Page
Bit
7
6
5
4
3
2
1
0
Byte
0
Page Code (3Eh)
Reserved
Page Length (n-3)
1
2
3
(MSB)
(LSB)
Parameter Code
0001h
Description
User Volume Note
User Partition Note for Partition 0
0002h
Bit
7
6
5
4
3
2
1
0
Byte
0
(MSB)
DU (0)
(MSB)
(MSB)
Parameter Code (0001h)
(User Volume Note)
1
2
3
4
5
6
N
(LSB)
LP (1)
DS (1)
TSD (0)
ETC (0)
Reserved
TMC (00)
LBIN (1)
User Data Length
(LSB)
User Data
(LSB)
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
5
6
N
(MSB)
DU (0)
(MSB)
(MSB)
Parameter Code (0002h)
(User Partition Note for Partition #0)
TSD (0) ETC (0) TMC (00)
Reserved
(LSB)
LP (1)
DS (1)
LBIN (1)
User Data Length
(LSB)
(LSB)
User Data
6-38
SONY AIT-5 drive SDX-1100V series Ver.1.0
LOG SENSE
6.Command Specification
Note:
1. If there is no Note data in MIC for the Parameter Code specified in the CDB, a Check Condition status will be
returned.
2. If the Allocation Length of the CDB is ZERO, a Good status is always returned and there is no data phase.
If the Allocation Length of the CDB is non-ZERO and there is data in MIC for the Parameter Code, the user
data will be returned up to the size of the MIC data, as limited by the allocation length.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-39
6.Command Specification
MODE SELECT
6.7. MODE SELECT(6/10) 15h and 55h
Mode Select (6) CDB Format:
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (15h)
PF
Reserved
Reserved
Parameter List Length
Control
1
2
3
4
5
Reserved
Reserved
SP (0)
Mode Select (10) CDB Format:
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
5
6
7
8
9
Operation Code (55h)
PF
Reserved
Reserved
SP (0)
Reserved
Reserved
Reserved
Reserved
Reserved
Parameter List Length (MSB)
Parameter List Length (LSB)
Control
The MODE SELECT (6/10) commands enable the initiator to configure the drive. Similarly MODE SENSE enables
the initiator to identify which configuration parameters the drive supports and what its current configuration is.
Implementing MODE SELECT and MODE SENSE requires a certain amount of "handshaking" between the
initiator and the drive. Before configuring the drive, the initiator will issue a MODE SENSE. This allows the drive to
return its current configuration and indicate what parameters are configurable. The initiator interprets this
information and may then issue a MODE SELECT command to set up the drive to the initiator’s preferred
configuration.
Note: In the MODE SELECT and MODE SENSE (operation code 1Ah) descriptions much of the information
overlaps and therefore the two descriptions will be read in conjunction.
MODE SELECT allows the initiator to specify configuration parameters to the drive.
PF: The Page Format bit indicates that the data sent by the initiator after the MODE SELECT header and block
descriptors complies with the definition of pages as set out in SCSI-2 or SCSI-3.
SP: The Save Parameters bit instructs the drive to save all savable pages. This bit is not supported and the drive
will return a CHECK CONDITION status with an ILLEGAL REQUEST sense key, if it is set.
Parameter List Length: This specifies the length, in bytes, of the MODE SELECT parameter list that is
transferred during the DATA OUT phase. A ZERO parameter list length indicates that no data is transferred. The
Parameter List length must be a value which coincides with header, block descriptor or page boundaries. If this
does not occur then the drive will return a CHECK CONDITION status with an ILLEGAL REQUEST sense key set.
6-40
SONY AIT-5 drive SDX-1100V series Ver.1.0
MODE SELECT
6.Command Specification
The MODE SELECT parameter list has the following format.
Table 6-38: MODE SELECT (6) parameter list
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
Reserved
Reserved
Reserved
(MSB)
Buffered Mode (001b)
Speed (00h)
Block Descriptor Length (0008h)
Density Code
Number of Blocks (00 00 00h)
5
6
7
(LSB)
8
Reserved
9
(MSB)
Block Length
10
11
(LSB)
Table 6-39:MODE SELECT (10) parameter list
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
Reserved
Reserved
Reserved
Reserved
Buffered Mode
Speed (00h)
Reserved
Reserved
Block Descriptor Length (08h)
Density Code
LONGLS
A (0)
5
6-7
8
9
(MSB)
(MSB)
Number of Blocks (00 00 00h)
10
11
12
13
14
15
(LSB)
(LSB)
Reserved
Block Length
Buffered Mode: Buffered Mode is the mechanism by which the drive implements Immediate Reporting on WRITE
commands.
If the field is ZERO, then the drive does not report a GOOD status on WRITE commands until the data blocks are
actually written to tape (not support).
If the Buffered Mode field is one, then the drive reports GOOD status on WRITE commands as soon as the data
block has been transferred to the buffer. This field will be set to ONE.
Speed: The drive only supports one speed, the default speed. Because of this, this field must be set to ZERO. Any
other value will cause a CHECK CONDITION status with an ILLEGAL REQUEST sense key to be returned.
Block Descriptor Length: This specifies the length in bytes of all the block descriptors. Since the drive only
allows one block descriptor, this value must be eight. Any other value will cause a CHECK CONDITION status with
an ILLEGAL REQUEST sense key to be returned.
Note: The block descriptor specifies the media characteristics for the SDX drive. The block descriptor contains the
density code, number of blocks and block length fields.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-41
6.Command Specification
MODE SELECT
Density Code: The supported values for the density code field are defined in the following table.
Table 6-40: Sequential-Access Density Codes
Code Value
30h
Code Value
AIT-1
AIT-2
AIT-3
AIT-3Ex
AIT-4
AIT-5
Format (not support)
Format (not support)
Format
Format
Format
31h
32h
B3h
33h
34h
Format
7Fh
No change from previous density
Number of Blocks: A MODE SENSE field which will be returned as ZERO, indicating that all of the remaining
logical blocks on the media will have the medium characteristics specified by the block descriptor, or until a
subsequent MODE SELECT command changes those parameters. This field must be set to ZERO on a MODE
SELECT otherwise a CHECK CONDITION status will be returned with an ILLEGAL REQUEST sense key.
Block length: The Block Length field specifies the length in bytes of each logical block. A block length of ZERO
indicates that the length is variable. Any other value indicates the number of bytes per block that the drive must
handshake over the bus. This establishes block length such that the transfer length for read, write type commands
will be a block count not a byte count.
Note: It is value of this field together with the Fixed bit Field in the READ, or WRITE commands that determine
whether the drive is in Fixed or Variable block mode.
Mode
Fixed Bit in Read, Write
Block Length in
Mode Select/Sense
Block Size
Fixed Block
Variable Block
1
0
0
The default fixed block size is 0 bytes however, if a fixed command (fixed bit of ONE) is received, the drive will
return the CHECK CONDITION status with an ILLEGAL REQUEST sense key and the ASC will be set to
COMMAND SEQUENCE ERROR.
Note: Minimum block-size is 4. The figures must be multiples of 4, otherwise CHECK CONDITION status will be
returned with an ILLEGAL REQUEST sense key.
Following the Block Descriptor are the MODE SELECT pages. They are the method by which the device
parameters are set. Each page has a two byte header which identifies the page code and indicates the number of
bytes in that page.
Table 6-41: MODE SELECT Page Header
Bit
7
6
5
4
3
2
1
0
Byte
0
1
PS
Reserved
Page Code
Additional Page Length
PS: when the Page Savable bit is set, this indicates that the page contains saved parameters. This bit will never
be set as there is no non-volatile RAM on the drive into which parameter data may be saved.
6-42
SONY AIT-5 drive SDX-1100V series Ver.1.0
MODE SELECT
6.Command Specification
Supported page codes are:
Table 6-42: Supported MODE SELECT Page Codes
Page Code
00h
Description
Standard Sense
02h
0Ah
0Fh
10h
11h
1Ch
31h
32h
33h
3Fh
Disconnect-Reconnect
Control Mode Page
Data Compression Control
Device Configuration
Medium Partitions Parameter
Information Exception Control
AIT Device Configuration
Append Partition (obsolete)
Delete Partition (obsolete)
Return All Pages
Additional Page Length: Indicates the number of bytes in that page. The value does not, however, include bytes
0 and 1. The length is returned on MODE SENSE and must subsequently be set to the same value when
performing MODE SELECT.
If the page length does not match that expected by the drive a CHECK CONDITION status is returned with the
sense key to set to ILLEGAL REQUEST.
The drive also returns a CHECK CONDITION status with an ILLEGAL REQUEST sense key if the initiator sends
an unsupported Page Code, a page field with values that are not supported or are not changeable. In this case, no
parameters will have been changed by the command.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-43
6.Command Specification
MODE SELECT
6.7.1. Disconnect-Reconnect Page (02h)
The drive supports the Disconnect-Reconnect Page which has the following format:
Table 6-43: Disconnect-Reconnect Page
Bit
7
6
5
4
3
2
1
0
Byte
0
PS(0)
Reserved
Page Code (02h)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Page Length (0Eh)
Buffer Full Ratio (00h)
Buffer Empty Ratio (00h)
Bus Inactivity Limit (00h)
(MSB)
(MSB)
(MSB)
(MSB)
(LSB)
(LSB)
(LSB)
(LSB)
Disconnect Time Limit (0000h)
Connect Time Limit (00h)
Maximum Burst Size (4000h)
Reserved
Fair Arbitration (00b)
Reserved
Reserved
DTDC
Reserved
Reserved
Buffer Full Ratio, Buffer Empty Ratio, Bus Inactivity Limit and Connect Time Limit fields are not supported by the
drive if set to non-ZERO values a CHECK CONDITION status is returned with ILLEGAL REQUEST sense key
set.
Disconnect Time Limit: This field indicates the minimum time in 100 microsecond increments that the drive will
wait after releasing the SCSI bus before attempting re-selection. This will be 0 and this is non-changeable field.
Maximum Burst Size: This field defines the maximum amount of data that the drive will transfer during a data
phase before disconnecting. This value is expressed in increments of 512 bytes. This is non-changeable field and
will be 4000h.
Note: 512 (200h) × 16384 (4000h) = 8388608(8 Mbytes) which means that the Maximum Burst Size is
approximately equal to SDX-1100V Buffer size for SCSI side.
FAIR ARBITRATION: This field indicates whether the drive will use fair or unfair arbitration when requesting an
interconnect tenancy. Setting this field to 1 will enable the SCSI Bus Fairness protocol. Setting this field to zero will
disable it. The drive determines fairness by monitoring prior arbitration attempts by other SCSI devices. It will
postpone arbitration for itself until all lower priority SCSI devices that previously lost arbitration either win a
subsequent arbitration or discontinue their arbitration attempts. It will monitor the arbitration attempts of the other
SCSI devices and refresh the fairness register with the SCSI ID’s of any lower priority SCSI devices that lost
arbitration. This field is not support.
DTDC: This field defines further restrictions on when a disconnect is permitted.
DTDC
Description
00b
Data transfer disconnect control is not used. Disconnect is controlled by the other field in this
page.
01b
A target will not attempt to disconnect once the data transfer of a command has started until all
data the command is to transfer has been transferred. The connect time limit and bus inactivity
limit are ignored during the data transfer.
10b
11b
Reserved
A target will not attempt to disconnect once the data transfer of a command has started until
the command is complete. The connect time limit and bus inactivity limit are ignored once data
transfer has started.
6-44
SONY AIT-5 drive SDX-1100V series Ver.1.0
MODE SELECT
6.Command Specification
6.7.2. Control Mode Page (0Ah)
Bit
7
6
5
4
3
2
1
0
Byte
0
PS (0)
Reserved
Page Code (0Ah)
1
2
Page Length (0Ah)
Reserved
3
Reserved
4
Reserved
5
Reserved
AUTOLOAD MODE
6
7
8
9
10
11
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
The AUTOLOAD MODE field specifies the action to be taken by the drive when a media is inserted.
Table 6-44: AUTOLOAD MODE field
Value
Definition
000b
001b
010b
Medium will be loaded for full access
Medium will be loaded for medium auxiliary memory access only
Medium will not be loaded (not support)
Reserved
011b-111b
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-45
6.Command Specification
MODE SELECT
6.7.3. Data Compression Control Page (0Fh)
The drive supports the Data Compression Control Page which has the following format:
Table 6-45: Data Compression Control Page
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
PS (0)
Reserved
Page Code (0Fh)
Page Length (0Eh)
Reserved
Reserved
DCE
DDE
DCC (1)
3
RED (00h)
4
(MSB)
Compression Algorithm (0003h)
7
8
(LSB)
(LSB)
(MSB)
Decompression Algorithm (0003h)
11
12
13
14
15
Reserved
Reserved
Reserved
Reserved
This page specifies the parameters for the control of the data compression capability of the drive.
DCE: A Data Compression Enable (DCE) bit of one indicates that data compression is enabled. When this bit is
set, data sent to the device by the initiator will be processed using the selected compression algorithm before
being written to the medium. A DCE bit of ZERO indicates that data compression is disabled.
DCC: A Data Compression Capable (DCC) bit of one indicates that the drive supports data compression and will
process data sent to it for transferal to the medium using the selected compression algorithm when the DCE bit is
one. A DCC bit of ZERO indicates that the device does not support data compression. This will be a
non-changeable field. The SDX-1100V has the capability to decompress data and will set this bit to a one.
DDE: A Data Decompression Enable (DDE) bit of one indicates that data decompression is enabled. The
SDX-1100V will always decompress the data. Setting this bit to ZERO has no effect.
RED: The Report Exception on Decompression (RED) field indicates the device’s response to a boundary
condition caused by a change in the format of recorded data from:
uncompressed to compressed or compressed to uncompressed
This field is not supported and will be always set to 00b.
Compression Algorithm: The compression algorithm field indicates the compression algorithm the drive will use
to process data sent to it by the initiator (if the DCE bit is one).
The SDX-1100V supports the ALDC1 data compression algorithm which is identified by the value: 00 00 00 03h in
the compression algorithm field. A value of ZERO will indicate that no compression algorithm is currently selected.
Any other values in this field will cause the drive to return a CHECK CONDITION status the sense key will be set
to ILLEGAL REQUEST.
Decompression Algorithm: For MODE SELECT the decompression algorithm
field indicates the
decompression algorithm selected by the initiator for use in subsequent decompression of data encountered on
the medium.
The SDX-1100V can decompress data recorded with the ALDC1 algorithm therefore this field can be set to 00 00
00 03h. However, the SDX-1100V is capable of automatic recognition of the compression algorithm used to
process the data encountered on the medium. Therefore, the drive will override the value in the decompression
field (if is set to ZERO) for a subsequent read operation when ALDC1 compressed data is detected on the media.
For the MODE SENSE command, the decompression algorithm field reflects compression algorithm which was
used to process the data most recently encountered on the medium, during a read operation.
A value of ZERO will indicate that the data encountered on the medium during the most recent read operation was
uncompressed.
6-46
SONY AIT-5 drive SDX-1100V series Ver.1.0
MODE SELECT
6.Command Specification
6.7.4. Device Configuration Page (10h)
The drive supports the Device Configuration Page which has the following format:
Table 6-46: Device Configuration Page
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
PS (0)
Reserved
CAP
Page Code (10h)
Page Length (0Eh)
Reserved
CAF (0)
Reserved
3
Active Partition
4
Write Buffer Full Ratio (00h)
5
6
Read Buffer Empty Ratio (00h)
Write Delay Time (0064h)
(MSB)
7
8
9
10
11
12
13
14
15
(LSB)
REW
DBR (0)
BIS (1)
RSmk
AVC (0)
Gap Size (00h)
EEG (1) SEW
SOCF (00b)
RBO (0)
EOD Defined (000b)
(MSB)
Reserved
Buffer Size at Early Warning (00 00 00h)
(LSB)
Select Data Compression Algorithm (00h)
Reserved
CAP: The Change Active Partition bit, when set to one, indicates that the partition is changed to the one specified
by the Active Partition Field. This is a feature supported by the drive and is discussed below.
CAF: The Change Active Format bit, set to one, indicates that the active format is to be changed to that set in the
Active Format Field.
Active Partition: Indicates the current partition number in use on the medium.
Setting this field to a non-existing partition number will be rejected by the drive with a CHECK CONDITION status
and the ILLEGAL REQUEST sense key set.
Write Buffer Full Ratio and Read Buffer Empty Ratio: These fields are not supported by the drive. Setting
these fields to anything other than ZERO will cause the drive to return a CHECK CONDITION status and an
ILLEGAL REQUEST sense key.
The drive implements an algorithm which automatically adjusts these ratios so as to maximize streaming to the
initiator.
Write Delay Time: This field indicates the maximum time, in 100 millisecond increments, that the drive will wait
with a partially full buffer before forcing the data to tape. The drive defaults to a 10 second delay since the last
SCSI bus activity before the data is flushed from the buffer to the tape. If Write Delay Time is set to ZERO, the
drive will wait indefinitely for the data group to be filled. This field is non changeable.
DBR: This field is not supported and will be always set to ZERO.
BIS: Block Identifiers Supported is set to one to indicate that the media has recorded information about the logical
block ID relative to the partition.
The DBR and BIS bit are only valid on a MODE SENSE command where they are used to report drive capabilities.
These bits are ignored by the drive on a MODE SELECT command. The drive will not return a CHECK
CONDITION.
RSmk: The Report Setmark bit, when set to one, indicates that Setmarks will be reported to the drive. When
ZERO, Setmarks are NOT reported. The default is one, Setmarks reported.
AVC: Automatic Velocity Control function is not supported by the drive and if this bit is set a CHECK CONDITION
status is returned with an ILLEGAL REQUEST sense key.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-47
6.Command Specification
MODE SELECT
SOCF: Stop on Consecutive Filemarks function is not supported by the drive and if this bit is set a CHECK
CONDITION status is returned with an ILLEGAL REQUEST sense key.
RBO: This field is not supported. If this bit is set a CHECK CONDITION status is returned with an ILLEGAL
REQUEST sense key.
REW: The Report Early-Warning End-of –Media bit is set to ZERO indicates the drive will not report the
Early-Warning condition on reads but will report Early-Warning on writes before the physical End-Of –Partition.
The REW bit is changeable. A value of ONE indicates that the drive will report the Early-Warning condition on
writes and reads.
Gap Size: This field is not supported by the SDX-1100V and will be set to ZERO otherwise a CHECK CONDITION
with an ILLEGAL REQUEST sense key will be returned.
EOD Defined: This field will always be set to ZERO so that the drive will use its default EOD definition to detect
and generate EOD. Any other value will cause the drive to return a CHECK CONDITION status with an ILLEGAL
REQUEST sense key set.
EEG: The Enable EOD Generation bit will always be set to indicate that drive will generate an EOD. The drive
generates an EOD prior to any change of direction, if that change follows a write-type operation. This bit is only
valid on the MODE SENSE command where it is used to report drive capabilities. This bit is ignored by the drive
on a MODE SELECT command. The drive will not return a CHECK CONDITION.
SEW: The Synchronize at Early-Warning bit is set to ONE indicates buffered write data, Filemarks and Setmarks
at or after Early-Warning End-of-Media will be written to the Medium. The SEW bit changeable. A value of ZERO
indicates that the target will retain any unwritten buffered data, Filemarks, or Setmarks in the buffer when logical
Early-Warning is encountered. The default is 1.
Buffer Size at Early Warning: This field is not supported by the drive and if set, a CHECK CONDITION status is
returned with an ILLEGAL REQUEST sense key set.
Select Data Compression Algorithm: The SDX-1100V supports the Data Compression Page and that page will
be used instead of this field to control Data Compression. This field is not supported by the drive and if set, a
CHECK CONDITION status is returned with an ILLEGAL REQUEST sense key set.
6-48
SONY AIT-5 drive SDX-1100V series Ver.1.0
MODE SELECT
6.Command Specification
6.7.5. Medium Partitions Parameter Page (11h)
The drive supports the Medium Partitions Parameter Page, which has the following format:
Table 6-47: Medium Partitions Parameter Page
Bit
7
6
5
4
3
2
1
0
Byte
0
PS (0)
Reserved
Page Code (11h)
1
2
3
Page Length (0Ah)
Maximum Additional Partitions (0h)
Additional Partitions Defined (00h)
4
FDP (0)
SDP (0)
IDP
PSUM
Reserved
5
Medium Format Recognition (03h)
6
Reserved
Partition Units
7
Reserved
8
9
10
11
(MSB)
(MSB)
Partition Size (Partition 0)
(LSB)
(LSB)
Obsolete
Warning: This page is used to format a tape to one partition. Extreme care must be taken with this parameter
page to avoid accidental reformatting of a tape. Reformatting will destroy all previous data.
Maximum Additional Partitions: This field is only valid on MODE SENSE where it is used to report the maximum
number of additional partitions that are supported by the drive. This field is non-changeable, however it accepts all
values as a don’t care. This number is the maximum number of additional partitions supported.
Additional Partitions Defined: This field specifies the number of additional partitions to be defined for the tape
based on the IDP bit. The maximum allowed is the value returned in the Maximum Additional Partitions field.
FDP: The Fixed Data Partitions bit is not supported by the drive and if set, a CHECK CONDITION status is
returned with an ILLEGAL REQUEST Sense Key set.
SDP: The Select Data Partitions bit is not supported by the drive and if set, a CHECK CONDITION status is
returned with an ILLEGAL REQUEST Sense Key set.
IDP: The initiator Defined Partitions bit is supported and, when set to one, indicates that the tape will be partitioned
based on the Additional Partitions Defined field, PSUM and Partition Size field.
PSUM: The Partition Size Unit of Measured field defines the units in which the Partition Size value selects the
partition size.
Table 6-48: PSUM values
Code
00b
01b
10b
11b
Description
Support
Not Support
Not Support
Support
bytes (unit of one)
kilobytes (103 bytes)
Megabytes (106 bytes)
10 (PARTITION UNITS) bytes
Support
Partition Units: This field defines the size of the partition size descriptors when the PSUM field is set to 11b. A
n
value of n in the PARTITION UNITS field will define the units of the partition size descriptors as 10 bytes.
SDX-1100V Supports following combinations.
PSUM
Partition Units
7
11b
11b
0111b : 10 byte (AIT-3)
9
1001b : 10 byte (AIT-3Ex/AIT-4/AIT-5 Mode)
If another value is set these fields, a CHECK CONDITION status is returned with an ILLEGAL REQUEST sense
key set.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-49
6.Command Specification
MODE SELECT
Medium Format Recognition: This field is only valid on a MODE SENSE and is set to 03h to indicate that the
drive is capable of format and partition recognition. This is non-changeable field. It accepts all the value, however
always returns 03.
Partition Sizes: This field allows the initiator to allocate the capacity of each partition. It will also allow the initiator
to reallocate the capacity of previously partitioned tapes.
If the Additional Partitions Defined fields are set to ZERO, the drive will reformat the tape.
The size of partition 0 is only valid during Mode Sense and is ignored during Mode Select. For Mode Select only
partition 1 size is used when Additional Partitions Defined field is set to 01h. Partition 0 size is ignored. Internally,
the drive computes partition 0 size to be the remaining capacity of the tape. This remaining capacity is the
maximum uncompressed capacity minus partition 1 size.
A second way to issue Mode Select Page 11h is to set Page Length to 08h, and set bytes 8 and 9 to partition 1
size. In this method partition 0 size is not sent, but this size is still computed as defined above. In either case,
Mode Sense will report partition 0 and partition 1 sizes.
6-50
SONY AIT-5 drive SDX-1100V series Ver.1.0
MODE SELECT
6.Command Specification
6.7.6. Informational Exceptions Control Page (1Ch)
The Informational Exceptions control page defines the methods used by the target to control the reporting and the
operations of specific informational exception conditions.
Table 6-49 : Informational Exceptions Control Page
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
PS(0)
Perf(0)
(MSB)
(MSB)
Reserved
Page Code (1Ch)
Page Length (0Ah)
DExcpt
Reserved (0)
Test
Reserved LogErr (0)
MRIE
Reserved
Interval Timer
(00 00 00 00h)
Report Count/Test Flag Number
7
8
(LSB)
(LSB)
11
LogErr: This field is not supported.
DE xcpt: The Disable Exception Control (DE xcpt ) bit of ZERO indicates information operations will be enabled.
The reporting of information exception conditions when the Dexcpt bit is set to ZERO is determined from the
method of reporting informational exception field. The Dexcpt bit of ONE indicates the drive will be disable all
information exception operations. The method of reporting informational exceptions field is ignored when Dexcpt is
set to ONE.
Test: The Test bit of ZERO indicates the drive will not generate any test/false informational exception condition.
This bit of ONE indicates the drive will generate test/false informational exception conditions. The default value of
Test is ZERO.
Perf: The Performance bit (Per) of ZERO indicates that informational exception operations that are the cause of
delays are acceptable. The Perf bit of ONE indicates the drive will be set to ZERO otherwise a CHECK
CONDITION with an ILLEGAL REQUEST sense key set.
MRIE: The Method of Reporting Informational Exceptions field (MRIE) indicates the method used by the drive to
report informational exception conditions. If the informational exception condition was generated by an event that
caused a real CHECK CONDITION to occur, then this real CHECK CONDITION will over-ride the CHECK
CONDITION defined in MRIE modes. The drive supports value 0, 3 and 4.
When MRIE is set to 0, this method instructs the drive not to report informational exception conditions. When
MRIE is set to 4 (Unconditionally generate RECOVERED ERROR), this method instructs the drive to report
informational exception conditions by returning a CHECK CONDITION status on the next SCSI command
(excluding INQUIRY, REQUEST SENSE and REPORT LUNS) after an informational exception condition was
detected. The sense key will be set to RECOVERED ERROR and the ASC will indicate the cause of the
information exception condition (which is 5D/00h). The command that has the CHECK CONDITION will complete
without error before any exception condition may be reported (and thus does not need to be reported).
Interval Timer: This field is not supported by the drive and if set, a CHECK CONDITION status is returned with an
ILLEGAL REQUEST sense key set.
Report Count /Test Flag Number: This field has a dual purpose. When Test bit is set to ZERO, the value of this
field in the MODE SELECT data represents the Report Count. When a MODE SELECT command is sent with the
Test bit it set to ONE, the value of this field in the MODE SELECT data represents the Test Flag Number, which is
never returned in response to a MODE SENSE command. Valid values of Test Number are –64 to 64 and 32767
(7FFFh). Negative numbers are represented using the 2’s complement method. If the Test Flag Number is set to
an invalid value, the MODE SELECT command will return CHECK CONDITION with sense key set to ILLEGAL
REQUEST and extended sense set to Invalid Field in Parameter list.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-51
6.Command Specification
MODE SELECT
6.7.7. AIT Device Configuration Page (31h)
Note 1: The values set by Mode Select Page 31h become valid after the Mode Select Page 11h command is
completed.
Note 2: The values reported by Mode Sense Page 31h always indicate a status of the cassette. It is not a mode
condition of the drive.
Note 3: For initializing AIT native mode cassette, Mode Select Page 31h must be issued before Mode Select
Page 11h.
Table 6-50: AIT Device Configuration Page
Bit
Byte
7
6
5
4
3
2
1
0
0
1
Reserved
Page Code (31h)
Page Length (08h)
ULPBOT PRTH (0)
SPAN (0Ah)
PONEJ
(0)
2
AIT
DEVICE
WORM
ABS (1)
SysLogAlive
3
4
5
6
7
8
9
MIC
Reserved
Reserved
Reserved
WC
Reserved
Reserved
Reserved
AIT: The AIT-bit is a changeable bit. The status of the AIT-bit is valid after a cassette is initialized. Until then the
AIT-bit indicates ZERO, even if the bit is set with the Mode Select command.
0 - DDS emulation mode
1 - AIT native mode (default)
Device:
0 - Do not create optional device area. (DDS mode only)
1 - Create optional device area. (AIT mode only)
ABS:
0 - Do not create the Absolute Volume Map information. (Not Supported)
1 - Create and maintain the Absolute Volume Map information.
ULPBOT:
0 - Load/unload is performed at the Optional Device Area, except for partition 0 (Not Supported).
1 - Load/ unload must be performed at the device area located at PBOT, even if there is an Optional Device Area.
(default)
PRTH:
0 - Allow Thread; Thread the tape after cartridge insertion, and return ready status. (default)
1 - Prevent Thread; Do not thread the tape after cartridge insertion, and return ready status immediately after the
cartridge is loaded. The tape will automatically be threaded when a media access SCSI command (Erase, Locate,
Mode Select Page 11h, Read, Read Position, Seek Block, Space, Write, and Write Filemark) is received from the
initiator. (Not Supported)
6-52
SONY AIT-5 drive SDX-1100V series Ver.1.0
MODE SELECT
6.Command Specification
PONEJ: This bit is recorded in drive’s EEPROM, and it effects the drive itself. (Not Supported)
0 - Power On immediate Eject disable. If this bit set to 0, then the cassette will stay in the drive when power is
applied. (default)
1 - Power On immediate Eject enable. If this bit set to 1, then cassette will be immediately ejected when power
is applied to the drive.
SPAN: The SPAN field is in binary notation. This field is unchangeable. When MIC cartridge is inserted, this field is
set to 0Ah (00001010b), other values are prohibited.
SysLogAlive:
0 0 - System logs located only on tape. (default for SDX-T3N)
1 1 - System logs located only in MIC. (default for MIC cartridge)
The SysLogAlive-bits will be set to 00B for non-MIC cartridges, and to 11B for MIC cartridges. Other bit
combinations are prohibited.
MIC: This bit is effective for Mode Sense only. If this bit is 0 then MIC has not been detected in the cassette.
WORM: If this bit is 1, then WORM cassette is detected.
WC (WORM CAPABLE): If this bit is 0, then this drive does not support WORM cassette. If this bit is 1, then this
drive support WORM cassette.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-53
6.Command Specification
MODE SENSE
6.8. MODE SENSE (6/10) 1Ah and 5Ah
Table 6-51: Mode Sense (6) CDB Format
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
5
Operation Code (1Ah)
DBD
Reserved
Reserved
PCF
Page Code
Reserved
Allocation Length
Control
Table 6-52: Mode Sense (10) CDB Format
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
Operation Code (5Ah)
LLBAA (0) DBD
Page Code
Reserved
PCF
Reserved
3-6
7-8
9
Reserved
Allocation Length
Control
The MODE SENSE (6/10) commands provide a means to report parameter of default, current and changeable
configuration parameters. They are complementary to MODE SELECT (6/10) commands. The 6-byte and 10-byte
commands can be interchanged.
The format of the data returned is different for the 6-byte and 10-byte commands. See the MODE SELECT (6/10)
commands for the mode header format differences.
LLBAA: The LLBAA function is not supported. This field must be ZERO. This field is defined for MODE SENSE 10
only.
If this field is not set to 0b for a MODE SENSE (10) command, the command terminates with CHECK CONDITION
status, the sense key set to ILLEGAL REQUEST, the ASC/ASCQ is set to INVALID FIELD IN CDB.
DBD: A Disable Block Descriptors (DBD) bit of ZERO indicates that the target may return ZERO or more block
descriptors in the returned MODE SENSE data at the target's discretion. A DBD bit of one specifies that the target
will not return any block descriptors in the returned MODE SENSE data.
PC: The Page Control field indicates the type of page parameter values to be returned to the initiator as shown
below.
Table 6-53: Page Control field values
Bit 7
Bit 6
Parameter Values
Description
0
0
Current Values
This is the normal default situation where the drive returns to the
initiator its current configuration. Page fields not supported are set to
ZERO by the drive.
0
1
Changeable Values
These are any values which a initiator may alter in a subsequent
MODE SELECT command. Any field that the drive allows to be
changed is set to one. Otherwise the field is set to ZERO.
These are the default values on power-up
1
1
0
1
Default Values
Saved Values
Not supported by the drive
Page Code: This allows the initiator to select any specific or all pages supported by the drive.
6-54
SONY AIT-5 drive SDX-1100V series Ver.1.0
MODE SENSE
6.Command Specification
Supported page codes are:
Table 6-54: Supported MODE SENSE Page Codes
Page Code
00h
Description
Standard Sense
02h
Disconnect-Reconnect
0Ah
Control Mode Page
0Fh
10h
Data Compression Control
Device Configuration
11h
1Ch
31h
32h
33h
Medium Partitions Parameter
Informational Exception Control
AIT Device Configuration
Append Partition (Not Support)
Delete Partition (Not Support)
Return All Pages
3Fh
If the initiator selects any other values, the drive will terminate the command with a CHECK CONDITION status
and an ILLEGAL REQUEST sense key set.
Note: If the Page Code is ZERO, the drive will only return the four-byte header and the eight-byte block descriptor
and terminate the command with GOOD status.
Allocation Length: The Allocation Length specifies the number of bytes that the initiator has allocated for
returned MODE SENSE data. An Allocation Length of ZERO means that the drive will return no MODE SENSE
data. This is not considered an error and GOOD status will be returned. Any other value indicates the maximum
number of bytes that can be transferred. The drive terminates the DATA-IN phase when the Allocation Length
bytes have been transferred or when all available MODE SENSE data has been transferred to the initiator,
whichever is less. The Allocation Length must fall on header or block descriptor boundaries. If the Allocation
Length does not fall on these boundaries then the drive returns CHECK CONDITION status with the ILLEGAL
REQUEST sense key set, unless the value is greater than that required for the specified page.
If the Page Code is ZERO, the initiator requires MODE SENSE to only return the four-byte header the one
eight-byte block descriptor, therefore the Allocation Length must be set to 0Ch. The value of the Page Control
Field is then not checked by the drive and may be set to any value.
If the Allocation Length is non-ZERO, it must be set to 4 or more. If the Allocation length is non-ZERO and less
than 4, the drive will return CHECK CONDITION status and ILLEGAL REQUEST sense key.
The MODE SENSE data contains a four-byte header, followed by eight-byte block descriptor, followed by ZERO or
more variable length pages, depending on the Page Code and the Allocation Length.
Table 6-55: MODE SENSE data
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
Mode Data Length
Medium Type (00h)
Buffered Mode (001b)
Block Descriptor Length (08h)
WP
Speed (00h)
3
4
5
6
7
Density Code (33h)
Number of Blocks (00 00 00h)
Reserved
(MSB)
(LSB)
(LSB)
8
9
10
11
(MSB)
Block Length
Mode Data Length: The mode data length specifies the length in bytes of the following MODE SENSE data that is
available to be transferred during the DATA-IN phase. The mode data length does not include itself but does
include the total length of all requested MODE SENSE pages.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-55
6.Command Specification
MODE SENSE
Media Type: The media value will be ZERO as only one media type is supported.
WP: A Write Protected bit of ZERO indicates that the tape is write enabled. A Write Protected bit of one indicates
that the tape is write protected.
Buffered Mode: if this bit is set to ZERO, the drive will not report a GOOD status on WRITE commands until the
data blocks are actually written on the tape. If set, the drive is in buffered mode and may report a GOOD status
on WRITE commands as soon as the data block has been transferred to the drive’s buffer. One or more blocks
may be buffered prior to writing to the tape. (Not support)
If the Buffered Mode field is ONE, then drive reports GOOD status on WRITE commands as soon as the data
block has been transferred to the buffer, this field will be set to ONE.
Speed Field: will return ZERO as the drive only supports one speed.
Block Descriptor Length: returns a value of 8, which specifies the length in bytes of the following Block
Descriptor. The drive only returns a single Block Descriptor.
Density Code: Refer to Table 6-40 regarding the Density Code field.
Number of Blocks: The Number of Blocks field is ZERO, indicating that an unspecified (or unknown) number of
the remaining logical blocks on the tape may have the media characteristics specified by the Block Descriptor.
Block Length: The Block Length field specifies the length in bytes of each logical block transferred over the SCSI
bus. A Block Length of ZERO indicates that the length is variable. Any other value indicates the number of bytes
per block that the drive must handshake over the bus. This establishes Block Length such that the Transfer Length
for read, write command will be a block count not a byte count.
Note: It is value of this field together with the Fixed bit Field in the READ, or WRITE commands that determine
whether the drive is in Fixed or Variable block mode. The minimum length is 4 and it always will be a multiple of 4.
Page Descriptor: The supported pages are fully documented in the MODE SELECT clause of this Chapter.
PS: When the Page Savable bit is set, this indicates that the page contains saved parameters. This bit will never
be set as there is no non-volatile RAM on the drive into which parameter data may be saved.
All fields not supported by the drive must be set to ZEROs.
6-56
SONY AIT-5 drive SDX-1100V series Ver.1.0
PERSISTENT RESERVE IN
6.Command Specification
6.9. PERSISTENT RESERVE IN 5Eh
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (5Eh)
1
2
3
4
5
6
7
8
9
Reserved
SERVICE ACTION
Reserved
Reserved
Reserved
Reserved
Reserved
(MSB)
Allocation Length
(LSB)
Control
The PERSISTENT RESERV IN command is used to obtain about persistent reservations and reservation keys
that are active within a drive.
The actual length of the PERSISTENT RESERVE IN parameter data is available in a parameter data field.
SERVICE ACTION: The service action codes are defined:
Table 6-56: PERSISTENT RESERVATION IN Service action codes
Code
00h
01h
Name
READ KEYS
READ RESERVATION
Description
Reads all registered Reservation Keys
Reads the current persistent reservations
Reserved
02h-1fh Reserved
READ KEYS – The READ KEYS service action that the drive return a parameter list containing a header and a list
of each current registered initiator’s reservation key. If multiple initiators have registered with the same key, then
that key value will be listed multiple times, once for each such registration.
READ RESERVATIONS – The READ RESERVATIONS service action requests that the drive return a parameter
list containing a header and the persistent reservation(s), if any, that is present in the drive. Multiple persistent
reservations may be returned only if element reservations are present.
Allocation Length: The Allocation Length field indicates how much space has been reserved for the returned
parameter list. If length is not sufficient to contain the entire parameter list, the first portion of the list will be
returned. This will not be considered an error. If the remainder of the list is required, the application client will send
a new PERSISTENT RESERV IN command with a Allocation Length field large enough to contain the entire list.
The returned parameter data provided in response to a PERSISTENT RESERVE IN command with the READ
KEYS service action has the following format:
Table 6-57: PERSISTENT RESERVATION IN parameter data for READ KEYS
Bit
7
6
5
4
3
2
1
0
Byte
0
(MSB)
(MSB)
GENERATION
3
4
7
(LSB)
(LSB)
Additional Length
Reservation Key list
First reservation key
8
15
n-7
n
(MSB)
(MSB)
(LSB)
(LSB)
Last reservation key
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-57
6.Command Specification
PERSISTENT RESERVE IN
GENERATION: This field will contain a 32-bit counter maintained by the drive that will be incremented every time
a PERSISTENT RESERVE OUT command requests a REGISTER, a CLEAR, a PREEMPT, or a PREEMPT AND
ABORT service action. The counter will not be incremented by a PERSISTENT RESERVE IN command, by a
PERSISTENT RESERVE OUT command that performs a RESERVE or RELEASE service action, or by a
PERSISTENT RESERVE OUT command that is not performed due to an error or reservation conflict. The
generation value will be set to 0 as part of the power on reset process.
Additional Length: This filed contains a counter of the number of bytes in the Reservation key list. If the
allocation length specified by the PERSISTENT RESERVE IN command is not sufficient to contain the entire
parameter list, then only the bytes from 0 to the maximum allowed allocation length will be sent to the application
client. The incremental remaining bytes will be truncated, although the Additional Length field will still contain the
actual number of bytes in the reservation key list without consideration of any truncation resulting from an
insufficient allocation length. This will not be considered an error.
Reservation Key: The reservation key list contains the 8-byte reservation keys for all initiators that have
registered through all ports with drive.
The returned the parameter data provided in response to a PERSISTENT RESERVE IN command with the READ
RESERVATION service action has the following format:
Table 6-58: PERSISTENT RESERVATION IN parameter data for READ RESERVATION
Bit
7
6
5
4
3
2
1
0
Byte
0
3
4
7
8
(MSB)
(MSB)
(MSB)
GENERATION
Additional Length
(LSB)
(LSB)
(LSB)
Reservation descriptor
23
GENERATION: This field will be defined for the PERSISTENT RESERVE IN READ KEYS parameter data.
Additional Length: This filed contains a counter of the number of bytes to follow in Reservation descriptor. If the
allocation length specified by the PERSISTENT RESERVE IN command is not sufficient to contain the entire
parameter list, then only the bytes from 0 to the maximum allowed allocation length will be sent to the application
client. The incremental remaining bytes will be truncated, although the Additional Length field will still contain the
actual number of bytes of Reservation descriptor and will not be affected by the truncation. This will not be
considered an error.
Reservation descriptor: The format of this field is defined in Table 6-59.
Table 6-59: PERSISTENT RESERVATION IN Reservation Descriptor
Bit
7
6
5
4
3
2
1
0
Byte
0
7
8
11
12
13
14
15
(MSB)
(MSB)
Reservation Key
(LSB)
(LSB)
SCOPE-SPECIFIC Address
(0 0 0 0)
Reserved
SCOPE
TYPE
Obsolete
The Reservation descriptor for each reservation will contain the Reservation Key under which the persistent
reservation is held. The TYPE and SCOPE of each persistent reservation as present in the PERSISTENT
RESERVE OUT command that created the persistent reservation will be returned.
SCOPE-SPECIFIC Address: The drive does not support an Element reservation. This field will be set to zero.
6-58
SONY AIT-5 drive SDX-1100V series Ver.1.0
PERSISTENT RESERVE IN
6.Command Specification
SCOPE: The value in this field indicates whether a persistent reservation applies to an entire logical unit to an
element. The value in this filed are defined in Table 6-60.
Table 6-60: PERSISTENT RESERVATION SCOPE Codes
Code
0h
1h
Name
Description
Persistent reservation applies to the full logical unit
Obsolete
Logical unit
Obsolete
2h
3h-fh
Element (not supported in this drive) Persistent reservation applies to the specified element
Reserved Reserved
Logical unit: A SCOPE value of logical unit indicates that the persistent reservation applies to the entire logical
unit. The logical unit scope will be implemented by all targets that implement PERSISTENT RESERVE OUT.
Element: A SCOPE filed value of Element indicates that the persistent reservation applies to the element of the
logical unit defined by the SCOPE-SPECIFIC Address field in the PERSISTENT RESERVE OUT parameter list.
The drive do not support it.
TYPE: The value in the TYPE filed specify the characteristics of the persistent reservation being established for all
data blocks within the element or within the logical unit. Table 6-61 defines the characteristic of the different type
values. For each persistent reservation type, Table 6-61 lists code value and describes the required target support.
In this table, the description of required target support is divided in two paragraphs. The first paragraph defines the
required handling for read operations. The second paragraph defines the required handling for write operations.
Table 6-61: PERSISTENT RESERVATION TYPE Codes
Code
0h
1h
Name
Write
Description
Obsolete
Reads Shared: Any application client on any initiator may execute tasks that
request transfers from the storage medium or cache of the logical unit to the
initiator.
Exclusive
Writes Exclusive: Any task from any initiator other than the initiator holding the
persistent reservation that requests a transfer from the initiator to the storage
medium or cache of the logical unit will result in a reservation conflict.
Obsolete
Reads Exclusive: Any task from any initiator other than the initiator holding the
persistent reservation that requests a transfer from the storage medium or cache of
the logical unit will result in a reservation conflict.
2h
3h
Exclusive
Access
Write Exclusive: Any task from any initiator other than the initiator holding the
persistent reservation that requests a transfer from the initiator to the storage
medium or cache of the logical unit will result in a reservation conflict.
Obsolete
Reads Shared: Any application client on any initiator may execute tasks that
request transfers from the storage medium or cache of the logical unit to the
initiator.
Writes Exclusive: Any task from any initiator other than the initiator holding the
persistent reservation that requests a transfer from the initiator to the storage
medium or cache of the logical unit will result in a reservation conflict.
Reads Exclusive: A task that requests a transfer from the storage medium or
cache of the logical unit to an initiator that has not previously requested a
REGISTER service action with the drive will result in a reservation conflict.
Write Exclusive: Any task from any initiator other than the initiator holding the
persistent reservation that requests a transfer from the initiator to the storage
medium or cache of the logical unit will result in a reservation conflict.
4h
5h
Write
Exclusive-
Registrants
Only
6h
Exclusive
Access-
Registrants
Only (not
supported in
this drive)
Reserved
7h-Fh
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-59
6.Command Specification
PERSISTENT RESERVE OUT
6.10. PERSISTENT RESERVE OUT 5Fh
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (5Fh)
1
2
3
4
5
6
7
8
9
Reserved
SERVICE ACTION
TYPE
SCOPE
Reserved
Reserved
Reserved
Reserved
(MSB)
Parameter List Length (18h)
(LSB)
Control
The PERSISTENT RESERVE OUT command is used to request service actions that reserve a logical unit or
element for the exclusive or shared used if a particular initiator. The command uses other service actions to
manage and remove such reservations. The command will be used in conjunction with the PERSISTENT
RESERVE IN command and will not be used with the RESERVE and RELEASE commands.
An initiator performing PERSISTENT RESERVE OUT service actions is identified by a reservation key provided by
the application client. An application client may use the PERSISTENT RESERVE IN command to identify which
initiators are holding a persistent reservation and use the PERSISTENT RESERVE OUT command to preempt
that reservation if required.
If a PERSISTENT RESERVE OUT command is attempted, but there are insufficient drive resources to complete
the operation, the drive will return a CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST
and the additional sense data will be set to INSUFFICIENT REGISTRATION RESOURCES.
The PERSISTENT RESERVE OUT command contains fields that specify a persistent reservation service action,
the intended scope of the persistent reservation, and the restrictions caused by the persistent reservation. The
TYPE and SCOPE fields are defined in 6.9. If a SCOPE filed specifies a scope that is not implemented, the drive
will return a CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST and additional sense
data will be set to INVALID FIELD IN CDB.
Fields contained in the PERSISTENT RESERVE OUT parameter list specify the information required to perform a
particular persistent reservation service action.
The parameter list will be 24 bytes in length and the Parameter List Length field will contain 24(18h). If the
parameter list length is not 24, the drive will return a CHECK CONDITION status. The sense key will be set to
ILLGAL REQUEST and the additional sense data will be set to PARAMETER LIST LENGTH ERROR.
SERVICE ACTION: When processing the PERSISTENT RESERVE OUT service actions, the drive will increment
the generation value as specified in 6.9.
Table 6-62: PERSISTENT RESERVE OUT SERVICE ACTION codes
Code
00h
01h
Name
REGISTER
RESERVE
Description
Register a reservation key with the drive
Create a persistent reservation having a specified SCOPE and TYPE. The
SCOPE and TYPE of a persistent reservation are defined in 6.9
Releases the selected reservation for the requesting initiator.
Clears all reservation keys and all persistent reservations.
02h
03h
04h
05h
RELEASE
CLEAR
PREEMPT
Preempts persistent reservations from another initiator.
PREEMPT & Preempts persistent reservations from another initiator and aborts the task set
ABORT for the preempted initiator.
06h-1Fh Reserved
The parameter list required to perform the PERSISTENT RESERVE OUT command has the following format:
6-60
SONY AIT-5 drive SDX-1100V series Ver.1.0
PERSISTENT RESERVE OUT
6.Command Specification
Table 6-63: PERSISTENT RESERVE OUT parameter list
Bit
7
6
5
4
3
2
1
0
Byte
0
7
8
15
16
19
20
21
22
23
(MSB)
(MSB)
(MSB)
Reservation Key
(LSB)
(LSB)
SERVICE ACTION Reservation Key
SCOPE-SPECIFIC Address
(0 0 0 0)
(LSB)
APTPL
Reserved
Reserved
Obsolete
Reservation Key: This field contains an 8-byte value provided by the application client to the drive to identify the
initiator that is the source of the PERSISTENT RESERVE OUT command. The drive will verify that the
Reservation Key field in a PERSISTENT RESERVE OUT command matches the registered reservation key for the
initiator from which the task was received, except for the REGISTER service action for an unregistered initiator
which will have a reservation key value of zero. If a PERSISTENT RESERVE OUT command specifies a
Reservation Key field other than the reservation key registered for the initiator, the drive will return a
RESERVATION CONFLICT status. The reservation key of the initiator will be verified to be correct regardless of
the SERVICE ACTION and SCOPE field values.
SERVICE ACTION Reservation Key: This field contains information needed for three service actions; the
REGISTER, PREEMPT, and PREEMPT AND ABORT service actions. For the REGISTER service action, the
SERVICE ACTION Reservation Key field contains the new reservation key to be registered. For the PREEMPT
and PREEMPT AND ABORT service actions, the SERVICE ACTION Reservation Key field contains the
reservation key of the persistent reservations that are being preempted. The SERVICE ACTION Reservation Key
field is ignored for all other service actions.
SCOPE-SPECIFIC Address: The drive do not support an Element reservation, then this field will be set to zero.
APTPL: The Activate Persistent Through Power Loss(APTPL) bit is not supported by the drive. If this bit is set a
CHECK CONDITION status is returned with an INVALID FIELD IN PARAMETER LIST.
The loss of power in the target will release the persistent reservation for all logical units and remove all reservation
keys.
Table 6-64 summarizes which field are set by the application client and interpreted by the drive for each service
action and scope value.
Table 6-64: PERSISTENT RESERVE OUT service actions and valid parameters
Service
Action
Allowed
Scope
Parameters
SERVICE ACTION
RESERVATION KEY
TYPE
SCOPE- SPECIFIC
Address
REGISTER
RESERVE
RELEASE
CLEAR
PREEMPT
PREEMPT
& CLEAR
ignored
Ignored
Valid
Valid
Ignored
Valid
Valid
Valid
Ignored
Logical unit
Logical unit
Ignored
Logical unit
Logical unit
Ignored
Ignored
Ignored
Valid
Ignored
Ignored
Ignored
Ignored
Ignored
Valid
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-61
6.Command Specification
PREVENT ALLOW MEDIUM REMOVAL
6.11. PREVENT ALLOW MEDIUM REMOVAL 1Eh
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (1Eh)
Reserved
Reserved
Reserved
Reserved
1
2
3
4
5
Prevent
Control
The PREVENT ALLOW MEDIUM REMOVAL command requests that the target enable or disable the removal of
the medium in the drive. This mechanism is independent of device reservations and the drive will not allow
medium removal if any initiator currently has medium removal prevented.
The prevention of medium removal will begin when any initiator issues a PREVENT ALLOW MEDIUM REMOVAL
command with a prevent bit of one (medium removal prevented). The prevention of medium removal for the logical
unit will terminate:
1. Upon a hard RESET condition.
2. Upon the receipt of a BUS DEVICE RESET message from any initiator
3. After all initiators that have medium removal prevented issue PREVENT ALLOW MEDIUM REMOVAL
commands with a prevent bit of ZERO, and the target has successfully performed a synchronize cache
operation.
While a prevention of medium removal condition is in effect the target will inhibit mechanisms that normally allow
removal of the medium by an operator.
Prevent: When this bit is set, the drive will not eject the tape following an UNLOAD. When it receives the
UNLOAD, the drive writes any buffered data to tape, rewind, then unthreads the tape from the mechanism. The
drive does not eject the tape. Setting this bit also completely disables the Eject button on the front panel (except
emergency eject). This situation remains until the Prevent bit is set to ZERO.
When this bit is set to ZERO, the drive ejects the cassette following completion of an UNLOAD. The Eject button is
also re-enabled.
6-62
SONY AIT-5 drive SDX-1100V series Ver.1.0
READ
6.Command Specification
6.12. READ 08h
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (08h)
Reserved
1
2
3
4
5
SILI
Fixed
(LSB)
(MSB)
Transfer Length
Control
The READ command requests that the target transfer one or more data blocks to the initiator starting with the next
block on the drive.
Fixed: This bit specifies the meaning of the Transfer Length field and whether fixed-length or variable-length
blocks are to be transferred.
If the Fixed bit is set to ZERO, Variable Block mode is requested. A single block is transferred with the Transfer
Length specifying the maximum number of bytes the initiator has allocated for the returned data.
If the Fixed bit is set to one, the Transfer Length specifies the number of blocks to be transferred to the initiator.
This is valid only if the drive is currently operating in Fixed Block mode, in other words, when it has been instructed
to use fixed-length blocks with MODE SELECT command. If the Fixed bit is set and the drive is in Variable Block
mode, the drive will return a CHECK CONDITION status with an ILLEGAL REQUEST sense key.
When the Transfer Length is ZERO, no data will be transferred and the current position on the logical unit will not
be changed.
If the READ command completes successfully in Fixed mode, the drive transfers (current Block Length) X
(Transfer Length) bytes of data to the Initiator. Upon termination of the READ command, the media will be logically
positioned after the last block transferred (EOM side).
SILI: A Suppress Incorrect Length Indicator bit of one indicates that the device will not return a CHECK
CONDITION status if the only error is that the Transfer Length is not equal to the actual Block Length recorded on
the media. Note, however, that if the SILI bit is one and the Fixed bit is ZERO, then the device will report a CHECK
CONDITION, if the requested Transfer Length is less than the actual block size recorded on the medium
(over-length condition) AND the device is configured to be in Fixed Block mode (i.e. the Block Length field in the
MODE SELECT/SENSE block descriptor is non-ZERO).
If the SILI bit is one and the Fixed bit is one, the drive will terminate the command with a CHECK CONDITION
status with the sense key set to ILLEGAL REQUEST and the additional sense code to ILLEGAL FIELD IN CDB.
If the SILI bit is not set and the actual Block Length is different from the specified transfer length, a CHECK
CONDITION status is returned and the Incorrect Length Indicator (ILI) bit and Valid bit will be set to one in the
Sense Data. The Sense Key field is set to NO SENSE and the Information field is to set the difference (residue)
between the requested Transfer Length and the actual Block Length, or in Fixed Block mode, the difference
(residue) between the requested number of blocks and the actual number of blocks read. No more than Transfer
Length bytes are transferred to the initiator and the tape is logically positioned after the last block transferred
(EOM side).
If the drive reads a Filemark, the drive will return a CHECK CONDITION status. the Filemark and Valid bits are set
and the Sense Key field is set to NO SENSE. The Information field contains the residue count. The Additional
Sense Code and Additional Sense Code Qualifier fields are set to Filemark Detected. Upon termination, the media
will be logically positioned after the Filemark (EOM side).
If, however, the drive encounters a Save-Setmark during a READ, nothing is reported unless the drive has been
configured through MODE SELECT to Report Save-Setmarks. The drive will ignore the Setmark and continue the
READ. If the Report Save-Setmarks configuration is enabled then the Filemark and Valid bits are set and the
Sense Key field is set to NO SENSE. The Information field contains the residue count and the Additional Sense
Code and Additional Sense Code Qualifier fields are set to Setmark Detected. The tape is logically positioned after
the Save-Setmark (EOM side).
If the drive detects EOD during the READ, the drive will return a CHECK CONDITION status and the Valid bit is
set and the Sense Key field is set to BLANK CHECK. The Information field contains the residue count. The
Additional Sense Code and Additional Sense Code Qualifier fields are set to EOD DETECTED. Upon termination,
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-63
6.Command Specification
READ
the media will be physically positioned before EOD and after the last block on tape.
The meaning of EOM is different for READ than for a WRITE type of command. EOM is only reported when the
physical EOM/P is encountered. The drive returns a CHECK CONDITION status. The EOM and Valid bits are set
and the Information field contains the residue count. If EOD is not written after the physical EOM/P, the Sense Key
is set to MEDIUM ERROR and the Additional Sense Code and Additional Sense Code Qualifier fields are set to
EOM/P Detected. If EOD is written, the Sense Key is set to BLANK CHECK and the Additional Sense Code and
Additional Sense Code Qualifier fields are set to EOD DETECTED. The tape is physically positioned at EOM/P.
For a Filemark, a (reported) Save-Setmark, EOD or EOM detected, if the Fixed bit is set, the Information field in
the REQUEST SENSE Data will be set to the difference (residue) between the requested Transfer Length and the
actual number of blocks read (not including the Filemark or Save-Setmark). If the Fixed bit is set to ZERO,
theIInformation field will be set the requested Transfer Length because Filemarks and Save-Setmarks are
considered to have a byte count of ZERO, (though this does not cause the ILI bit to be set).
The READ command may return the following sense keys on a CHECK CONDITION:
NO SENSE: If the actual Block Length is different from the specified Transfer Length and the SILI bit is ZERO, the
ILI (Incorrect Length Indicator) bit and Valid bit are set to one. The Information field in the Sense Data is set to the
difference (residue) between the requested Transfer Length and the actual Block Length, or in Fixed Block mode,
the difference (residue) between the requested number of blocks and the actual number of blocks read (not
including the incorrect length block). No more than Transfer Length bytes are transferred to the initiator and the
tape is logically positioned after the block (EOM side).
If the drive reads a Filemark during this command, it sets the Filemark bit in the REQUEST SENSE data. Upon
termination, the tape is logically positioned after the Filemark (EOM side). If, however, the drive encounters a
Save-Setmark during this command, nothing is reported unless the SDX-1100V has been configured through
MODE SELECT to Report Save Setmarks. If the Report Save Setmarks configuration is enabled then the Valid bit
and the Additional Sense Key flags are set in the REQUEST SENSE data to indicate that a Save-Setmark has
been encountered. The tape is also logically positioned after the Save-Setmark (EOM side).
For both a Filemark and a reported Save-Setmark, if the Fixed bit is one, the Information field in the REQUEST
SENSE data is set to the difference residue between the requested Transfer Length and the actual number of
blocks read (not including the Filemark or Save-Setmark).
If the Fixed bit is set to ZERO, the Information field is set to the difference (residue) between the requested
Transfer Length and the actual number of bytes read. Filemarks and Save-Setmarks are considered to have a
byte count of ZERO, though this does not cause the ILI bit to be set.
MEDIUM ERROR: The current block being read or a previously acknowledged WRITE type of operation
experienced an error probably related to the condition of the tape.
HARDWARE ERROR: Either a previously acknowledged WRITE type of operation had a major non-media related
failure or the read itself experienced the failure. The Valid bit is set, and the Information field contains the
appropriate residue. The meaning of EOM is different in a READ command from that in a WRITE type of
command. EOM is only reported on physical end-of-media. However, this condition is indistinguishable from other
fatal servo errors and so is reported as a HARDWARE ERROR.
BLANK CHECK: If EOD (End-of-Data) was encountered during a read, the sense key is BLANK CHECK, the
Valid bit is set and the Information field contains the residue count.
6-64
SONY AIT-5 drive SDX-1100V series Ver.1.0
READ ATTRIBUTE
6.Command Specification
6.13. READ ATTRIBUTE 8Ch
The READ ATTRIBUTE command allows an application client to read attribute values from the Medium Auxiliary
memory (MAM).
Table 6-65: READ ATTRIBUTE command
Bit
Byte
7
6
5
4
3
2
1
0
0
1
Operation Code (8Ch)
Reserved
Service Action
2
Reserved
Reserved
3
4
Reserved
5
Volume Number(0)
Reserved
6
7
Partition Number(0)
8
(MSB)
(MSB)
First Attribute ID
Allocation Length
9
(LSB)
(LSB)
10
11
12
13
14
15
Reserved
Control
If the medium auxiliary memory is not accessible because there is no medium present, the READ ATTRIBUTE
command will be terminated with a CHECK CONDITION status. The sense key will be set to NOT READY and the
additional sense code will be set to MEDIUM NOT PRESENT.
If although medium is present, the Medium Auxiliary Memory is not accessible, the READ ATTRIBUTE command
will be terminated with a CHECK CONDITION status. The sense key will be set to MEDIUM ERROR and the
additional sense code will be set to AUXILIARY MEMORY NOT ACCESSIBLE.
The service actions defined for the READ ATTRIBUTE command are shown in Table 6-66.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-65
6.Command Specification
READ ATTRIBUTE
Table 6-66: READ ATTRIBUTE service action codes
Code
Name
Attribute Values
Description
Return attribute values.
00h
01h
Attribute List
Returns a list of available attribute identifiers, identifiers
that are not in the nonexistent or unsupported state.
02h
Volume List
Partition List
Return a list of known Volume Numbers.
Return a list of known Partition Numbers.
03h
04h
Reserved for SMC-2
Reserved
05h – 1Fh
The VOLUME NUMBER specifies a volume within the Medium Auxiliary Memory. The number of volumes of the
MAM will equal that of the attached multi-volume medium. If the medium only has a single volume, then its volume
number will be zero.
The PARTITION NUMBER specifies a partition within a volume. The number of partitions of the MAM will equal
that of the attached multi-partition medium. If the medium only has a single partition, then its partition number will
be zero.
If the combination of VOLUME NUMBER and PARTITION NUMBER is not valid, the command will be terminated
with a CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST, and the additional sense
data will be set to INVALID FIELD IN CDB.
The FIRST ATTRIBUTE IDENTIFIER field specifies the attribute identifier of the first attribute to be returned. If the
specified attribute identifier is in the unsupported or nonexistent state, the READ ATTRIBUTE will be terminated
with a CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST, and the additional sense
data will be set to INVALID FIELD IN CDB.
The ALLOCATION LENGTH field specifies how many bytes have been allocated of the first attribute to be
returned. If the length is not sufficient to contain the entire parameter list, the first portion of the list will be
returned. This will not be considered an error. If the remainder of the list is required, the application client will either
send a new READ ATRRIBUTE command with an ALLOCATION LENGTH field large enough to contain the entire
parameter list or use the FIRST ATTRIBUTE IDENTIFIER field to restrict the attributes returned.
The format of parameter data returned by the READ ATTRIBUTE command depends on the service action
specified.
6.13.1. ATTRIBUTE VALUES service action
The READ ATTRIBUTE command with ATTRIBUTE VALUES service action returns parameter data containing
the attributes specified by the PARTITION NUMBER, VOLUME NUMBER, and FIRST ATTRIBUTE INDENTIFIER
fields in the CDB. The returned parameter data will contain the requested attributes in ascending numerical order
by attribute identifier value and in the format shown in Table 6-67.
6-66
SONY AIT-5 drive SDX-1100V series Ver.1.0
READ ATTRIBUTE
6.Command Specification
Table 6-67: READ ATTRIBUTE with ATTRIBUTE VALUES service action parameter list format
7
6
5
4
3
2
1
0
Bit
Byte
0
(MSB)
AVAILABLE DATA (n-3)
ATTRIBUTE (s)
3
(LSB)
4
..
x
ATTRIBUTE 0
..
m
..
ATTRIBUTE x
n
The AVAILABLE DATA field will contain the number of bytes of attribute information in the parameter list. If the
parameter list is truncated as a result of insufficient allocation length, the contents of the AVAILABLE DATA field
will not be altered.
6.13.2. ATTRIBUTE LIST service action
The READ ATTRIBUTE command with ATTRIBUTE LIST service action returns parameter data containing the
attribute identifiers for the attributes that are not in the unsupported state and not in the nonexistent state in the
specified partition and volume number. The contents of FIRST ATTRIBUTE IDENTIIER field in the CDB will be
ignored. The returned parameter data will contain the requested attribute identifiers in ascending numerical order
by attribute identifier value and the format shown in Table 6-68.
Table 6-68: READ ATTRIBUTE with ATTRIBUTE LIST service action parameters list format.
7
6
5
4
3
2
1
0
Bit
Byte
0
(MSB)
AVAILABLE DATA (n-3)
ATTRIBUTE IDENTIFIER
ATTRIBUTE IDENTIFIER 0
…
3
(LSB)
4
5
(MSB)
(MSB)
(LSB)
n-1
n
ATTRIBUTE IDENTIFIER x
(LSB)
The AVAILABLE DATA field will contain the number of bytes of attribute in the parameter list. If the parameter list is
truncated as a result of insufficient allocation length, the contents of the AVAILABLE DATA field will not be altered.
An ATTRIBUTE IDENTIFIER field is returned for each attribute that is not in the unsupported state and not in the
nonexistent state in specified partition and volume number.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-67
6.Command Specification
READ ATTRIBUTE
6.13.3. PARTITION LIST service action
The READ ATTRIBUTE command with PARTITION LIST service action returns parameter data (Table 6-69)
identifying the number of partitions supported in the specified volume number. The contents of PARTITION
NUMBER and FIRST ATTRIBUTE IDENTIFER fields in the CDB will be ignored.
Table 6-69: READ ATTRIBUTE with Volume LIST service action parameter list format.
Bit
Byte
7
6
5
4
3
2
1
0
0
1
4
5
(MSB)
AVAILABLE DATA (2)
(LSB)
FIRST PARTITION NUMBER (0)
NUMBER OF PARTITIONS AVAILABLE
The AVAIABLE DATA field will contain two.
The FIRST PARTITION NUMBER field indicates the first partition available on the specified volume number.
Partition numbering will start at zero.
The NUMBER OF PARTITIONS AVAILABLE indicates the number of Partitions available on the specified
VOLUME NUMBER.
6.13.4. VOLUME LIST service action
The READ ATTRIBUTE command with VOLUME LIST service action returns parameter data (Table 6-70)
identifying the supported number of volumes. The contents of VOLUME NUMBER, PARTITION NUMBER, and
FIRST ATTRIBUTE IDENTIFIER fields in the CDB will be ignored.
Table 6-70: READ ATTRIBUTE with VOLUME LIST service action parameter list format.
Bit
Byte
7
6
5
4
3
2
1
0
0
1
2
3
(MSB)
AVAILABLE DATA (2h)
(LSB)
FIRST VOLUME NUMBER (0)
NUMBER OF VOLUMES AVAILABLE
The AVAILABLE DATA field will contain two.
The FIRST VOLUME NUMBER field indicates the first volume available. Volume numbering will start at zero.
The NUMBER OF VOLUMES AVAILABLE field indicates the number of volumes available.
6-68
SONY AIT-5 drive SDX-1100V series Ver.1.0
READ BLOCK LIMITS
6.Command Specification
6.14. READ BLOCK LIMITS 05h
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (05h)
Reserved
1
2
3
4
5
Reserved
Reserved
Reserved
Control
The READ BLOCK LIMITS command requests that the drive return its limits for Block Length. The READ BLOCK
LIMITS data shown below will be sent during the DATA-IN phase of the command. The command does not reflect
the currently selected block size, only the available limits. MODE SENSE returns the current block size. 2 bytes is
the minimum and 8 Mbytes byte is the maximum block size which the unit can support.
Table 6-71: READ BLOCK LIMITS Data
Bit
7
6
5
4
3
2
1
0
Byte
0
Reserved
Granularity(02h)
1
2
3
4
5
(MSB)
(MSB)
Maximum Block Length Limit (80 00 00h)
Minimum Block Length Limit (00 04h)
(LSB)
(LSB)
GRANULARITY: This field indicates the block size granularity of the logical unit and the recording format. For this
logical unit, the value is 2, indicating a granularity of 2**GRANULARITY.
The maximum block length limit and minimum block length limit field values are shown in Table 6-71.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-69
6.Command Specification
READ BUFFER
6.15. READ BUFFER 3Ch
Bit
7
6
5
4
3
2
1
0
Bite
0
1
2
3
4
5
6
7
8
9
Operation Code (3Ch)
Buffer ID
Reserved
Mode
(MSB)
(MSB)
Buffer Offset
(LSB)
(LSB)
Allocation Length
Control
The READ BUFFER command is used in conjunction with WRITE BUFFER as a diagnostic function for testing the
data buffer and the SCSI bus integrity of the drive. A REWIND command will be sent to the drive after
WRITE/READ BUFFER diagnostic testing to return to normal operation.
The READ BUFFER command is executed only when there is no tape inserted in the drive or when the tape is
positioned at BOT except in Echo buffer mode. Otherwise, the drive will return a CHECK CONDITION status with
a Request Sense Key of ILLEGAL REQUEST.
Note:
Buffer Offset: The Buffer Offset field contains the byte offset within the specified buffer from which data will be
transferred. The initiator will conform to the offset boundary requirements returned in the READ BUFFER
descriptor. If the target is unable to accept the specified buffer offset, it will return a CHECK CONDITION status,
will set the Sense Key to ILLEGAL REQUEST, and set the ASC to ILLEGAL FIELD IN CDB.
Allocation Length: The Allocation Length specifies the maximum number of bytes that the initiator has allocated
for returned data. An Allocation Length of ZERO indicates that no data will be transferred. Any other value
indicates the maximum number of bytes that will be transferred. The drive terminates the DATA-IN phase when
Allocation Length bytes of data have been transferred or when all available data has been transferred to the
initiator, whichever is less. The Allocation Length must be greater than four (except in data only mode), else the
drive will return a CHECK CONDITION status with an ILLEGAL REQUEST sense key set.
Mode: The drive supports the following values within this field. If any other value is set, the drive will terminate the
command with a CHECK CONDITION status and an ILLEGAL REQUEST sense key set.
Table 6-72: READ BUFFER Mode values
Mode
0000b
0010b
0011b
1010b
1011b
Description
Combined Header and Data
Data
Descriptor
Echo Buffer
Echo Buffer Descriptor
Combined Header and Data (0000b) - Combined Header and Data Mode-in this mode, the drive returns a
four-byte header followed by the data bytes. The drive terminates the DATA-IN phase when Allocation Length
bytes of header plus data have been transferred or when the header and all available data have been transferred
to the initiator, whichever is less. The four-byte READ BUFFER header is followed by data bytes from the drive's
data buffer.
6-70
SONY AIT-5 drive SDX-1100V series Ver.1.0
READ BUFFER
6.Command Specification
Table 6-73: READ BUFFER Header
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
Reserved
Available Length
(MSB)
(LSB)
Available Length: This field specifies the total number of data bytes that are available in the target's data buffer.
This number is not reduced to reflect the Allocation Length nor is it reduced to reflect the actual number of bytes
written using the WRITE BUFFER command. Following the READ BUFFER header, the target will transfer data
from its data buffer.
Data Mode (0010b) - in this mode, the DATA-IN phase contains buffer data only. The Buffer ID field identifies a
specific buffer within the logical unit from which data will be transferred.
Buffer ID: The supported values are:
Table 6-74: Buffer ID values
Buffer ID
Description
Offset
- 0x01000000
- 0x01000000
0
Read Group Buffer
Read Group Buffer
Read Group Buffer
Read Group Buffer
Read Group Buffer
0
0
80
81
82
83
0x01000000 - 0x02000000
0x02000000 - 0x03000000
0x03000000 - 0x03700000
If an unsupported Buffer ID code is requested, the drive returns a CHECK CONDITION status with an ILLEGAL
REQUEST sense key set.
Descriptor Mode (0011b) - In this mode, a maximum of four bytes of READ BUFFER descriptor information is
returned. The drive will return the descriptor information for the buffer specified by the BUFFER ID field (see the
description of the buffer ID). If there is no buffer associated with the specified buffer ID, the drive will return all
zeros in the READ BUFFER descriptor. The BUFFER OFFSET field is reserved in this mode. The allocation length
will be set to four or greater. The drive will transfer the lesser of the allocation length or four bytes of READ
BUFFER descriptor.
Table 6-75: READ BUFFER Descriptor
Bit
7
6
5
4
3
2
1
0
Byte
0
Reserved
Buffer Capacity
1
2
3
(MSB)
(LSB)
Buffer Capacity: This field returns the size of the selected buffer in bytes.
Read Data from Echo Buffer (1011b) - Domain Validation is an important feature introduced in Ultra160 SCSI. It
provides a mechanism for SCSI devices to perform at maximum possible operational data transfer speed.
Domain validation performs a quick test to help ensure an initiator and target can actually transfer data at
negotiated speeds. Using Echo Buffer option, the initiator can do a more extensive data transfer validation test.
The initiator transmits the data using the WRITE BUFFER command with the echo buffer option and requests it
back using the READ BUFFER command with echo buffer option.
Note: Refer to INCITS TR-28-2002 regarding the Domain Validation.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-71
6.Command Specification
READ BUFFER
Echo Buffer (1010b) - In this mode the drive transfer data to the application client from the echo buffer. The echo
buffer will transfer the same data as when the WRITE BUFFER command with the mode field set to echo buffer
was issued. The BUFFER ID and BUFFER OFFSET fields are ignored in this mode. The READ BUFFER
command will return the same number of bytes of data as received in the prior echo buffer mode WRITE BUFFER
command from the same initiator.
The initiator may send a READ BUFFER command requesting the echo buffer descriptor prior to a WRITE
BUFFER command. If an echo buffer mode WRITE BUFFER command is successful then the initiator may send
multiple echo buffer mode READ BUFFER commands to read the echo buffer data multiple times.
Echo buffer descriptor (1011b) - In this mode, a maximum of four bytes of READ BUFFER descriptor information
is returned. The drive will return the descriptor information for the echo buffer. The BUFFER OFFSET field is
reserved in this mode. The allocation length will be set to four or greater.
Table 6-76: Echo Buffer descriptor
Bit
7
6
5
4
3
2
1
0
Byte
0
Reserved
EBOS (1)
1
2
3
Reserved
Reserved
(MSB)
BUFFER CAPACITY
(LSB)
The BUFFER CAPACITY field will return the size of the echo buffer in bytes aligned to a four-byte boundary. The
maximum echo buffer size is 4096 bytes.
6-72
SONY AIT-5 drive SDX-1100V series Ver.1.0
READ POSITION
6.Command Specification
6.16. READ POSITION 34h
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (34h)
1
2
3
4
5
6
7
8
9
Reserved
TCLP
LONG
BT
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Control
The READ POSITION command reports the current position of the logical unit. No medium movement will occur
as a result of the command.
TCLP: The Total Current Logical Position (TCLP) bit of ONE indicates the drive will return data specifying the
partition, file, and set number with the current logical position. The TCLP bit of ZERO indicates the drive will return
data specifying the first and last block location with the number of bytes and blocks in buffer.
LONG: The Long Format (LONG) bit of ONE indicates the drive will return 32 bytes of data. The LONG bit of
ZERO indicates the drive will return 20 bytes of data.
The LONG bit and the TCLP bit will be equal. If the LONG and TCLP bits are not equal, or if both the LONG and
the Block Address Type (BT) bits are ONE, the command is rejected with a CHECK CONDITION status and an
ILLEGAL REQUEST sense key set.
BT: The Block Address type (BT) bit controls the content of the short format data. The BT bit of one requests the
drive to return its current First Block Location will include data block only. The BT bit of ZERO requests the drive to
return the First Block Location are a SCSI Logical Block Address (data blocks, Filemarks and Save Setmarks are
counted.)
Table 6-77: READ POSITION Data Format, short form
Bit
7
6
5
4
3
2
1
0
Byte
0
BOP
EOP
Reserved
BPU
Reserved
1
2
Partition Number (0)
Reserved
3
Reserved
4
7
8
(MSB)
(MSB)
First Block Location
(LSB)
(LSB)
Last Block Location
11
12
13
15
16
19
Reserved
Number of Blocks in Buffer
(MSB)
(MSB)
(LSB)
(LSB)
Number of Bytes in Buffer (00 00 00 00h)
BOP: A Beginning Of Partition (BOP) bit of one indicates that the logical unit is at the beginning-of-partition in the
current partition. A BOP bit of ZERO indicates that the current logical position is not at the beginning-of-partition.
EOP: An End Of Partition (EOP) bit of one indicates that the logical unit is positioned between Early-Warning and
end-of-partition in the current partition. An EOP bit of ZERO indicates that the current logical position is not
between Early-Warning and end-of-partition. Note that this bit is mutually exclusive with the BOP bit.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-73
6.Command Specification
READ POSITION
BPU: A Block Position Unknown (BPU) bit of one indicates that the First and Last Block Locations are not known
or cannot be obtained. A BPU bit of ZERO indicates that the First contains valid position information.
Partition Number: This field reports the current partition number for the current logical position. This drive does
not support multi partition.
First block location: This field indicates the Block Address associated with the current logical position. The value
will indicate the Block Address of the next data block to be transferred between the initiator and the target if a
READ or WRITE command is issued. See BT field for description of Logical Block Address. Note that the Logical
Block Address at BOT/P is 0.
Last block location: This field indicates the Block Address associated with the next block to be transferred from
the buffer to the medium. The value will indicate the Block Address of the next data block to be transferred
between the buffer and the medium. If the buffer does not contain a whole block of data or is empty, the value
reported for the last block location will be equal to the value reported for the first block location.
Number of Blocks in Buffer: This field indicates the number of data blocks in the buffer of the logical unit that
have not been written to the medium.
Number of Bytes in Buffer: This field is not supported and is always set to ZERO.
Table 6-78: READ POSITION Data Format, long form
Bit
7
6
5
4
3
2
1
0
Byte
0
BOP
EOP
Reserved
MPU
BPU
Reserved
1
2
3
Reserved
Reserved
Reserved
4
7
8
15
16
23
24
31
(MSB)
(MSB)
(MSB)
(MSB)
Partition Number(0)
Block Number
File Number
(LSB)
(LSB)
(LSB)
(LSB)
Set Number
The BOP, EOP, and Partition Number are as defined in the READ POSITION data returned when the TCLP bit is
set to 0.
BPU: The Block Position Unknown (BPU) bit of ONE indicates the partition number or block number are not
known or accurate reporting is not currently available. The BPU bit of ZERO indicates the partition number and
block number fields contain valid position information.
MPU: The Mark Position Unknown (MPU) bit of ONE indicates the file number and set number are not known or
accurate reporting is not currently available. The MPU bit of ZERO indicates the File number and Set number
fields contain valid position information.
Block Number: Block Number reports the number of logical blocks between beginning-of-partition and current
logical position. Setmarks and Filemarks count as one logical block each.
File Number: File Number reports the number of Filemarks between beginning-of -partition and the current logical
position.
Set Number: Set Number reports the number of Setmarks between beginning –of-partition and the current logical
position.
6-74
SONY AIT-5 drive SDX-1100V series Ver.1.0
RECEIVE DIAGNOSTIC RESULTS
6.Command Specification
6.17. RECEIVE DIAGNOSTIC RESULTS 1Ch
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (1Ch)
Reserved
Reserved
Allocation Length
1
2
3
4
5
(MSB)
(LSB)
Control
The RECEIVE DIAGNOSTIC RESULTS command requests error analysis data to be sent to the initiator after
completion of a SEND DIAGNOSTIC command.
Allocation Length: This field specifies the number of bytes that the initiator has allocated for returned diagnostic
data. An Allocation Length of ZERO means that no diagnostic data will be transferred. Any other value indicates
the maximum number of bytes that will be transferred.
The drive returns four bytes of header data as well as eight bytes of the diagnostic result. If the PF bit was not set,
the drive returns only the eight bytes of the diagnostic result.
The drive terminates the DATA-IN phase when Allocation Length bytes have been transferred or when all the
available diagnostic data (four or eight bytes depending on the PF bit) have been transferred to the initiator,
whichever, is less.
If the drive returns a CHECK CONDITION status with the HARDWARE ERROR Sense Key and an ASC of
DIAGNOSTIC FAILURE set on completion of a SEND DIAGNOSTIC, then the initiator will issue a RECEIVE
DIAGNOSTIC RESULTS command to receive the eight bytes of data indicating the actual failure and the Most
Suspect Unit (MSU).
If the initiator issued a SEND DIAGNOSTIC with the PF bit set and a page Code of ZERO, the drive returns which
pages it supports in the following format:
Table 6-79: RECEIVE DIAGNOSTICS supported pages
Bit
7
6
5
4
3
2
1
0
Byte
0
Page Code (00h)
Reserved
Page Length (00 02h)
1
2
3
4
5
(MSB)
(LSB)
Supported Page Code (00h)
Supported Page Code (81h)
If the initiator issued a SEND DIAGNOSTIC with the PF bit set and a Page Code of 81h, the drive returns the
following four bytes of page header, then five bytes of diagnostic results.
Table 6-80: RECEIVE DIAGNOSTICS page header
Bit
7
6
5
4
3
2
1
0
Byte
0
Page Code (81h)
Reserved
Page Length (00 05h)
1
2
3
(MSB)
(LSB)
The structure of the diagnostic results data is described below:
All error messages are of the same format. All fields within the error message may not be known or applicable.
A diagnostic result of all ZEROs is returned if the diagnostic completed successfully without error.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-75
6.Command Specification
RECEIVE DIAGNOSTIC RESULTS
Table 6-81: RECEIVE DIAGNOSTICS results data
Bit
7
6
5
4
3
2
1
0
Byte
0
Reset
Error
Time
Re-Sync
(0)
Reserved
Error Set
1
2
3
4
Error Code
Result A
Result B
Test Number
Reset error: This bit is set when an error occurs during power-on self-test.
Time Re-Sync: This bit indicates that the time stamp saved with the error log has no relation to that of the
previous entry. It is only set by the logging routine within the data buffer as an error is logged. This field is not
supported.
Error set: Various set of error codes exist. The definition of the error is dependent upon when set is taken from as
follows:
0 - Runtime errors
1 - Drive mechanism diagnostic errors
2 - Drive electronics diagnostic errors
Error code: Error codes for each error set are defined in the Diagnostics clause.
Result A and B: The content of these bytes depends on the test being run. See the Diagnostics clause.
Test number: This is the test number to which the message applies (if a test fails within a sequence, the individual
test number will be returned).
6-76
SONY AIT-5 drive SDX-1100V series Ver.1.0
RELEASE
6.Command Specification
6.18. RELEASE (6/10) 17h and 57h
RELEASE( 6) CDB format
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (17h)
1
2
3
4
5
Reserved
Obsolete
Reserved
Reserved
Reserved
Control
RELEASE (10) CDB format
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
Operation Code (57h)
3rdPty Reserved
Obsolete
Reserved
LongID
Obsolete
3
4
Third Party Device ID
Reserved
5
Reserved
6
Reserved
7-8
9
Parameter List Length
Control
This RELEASE command releases the drive if it was reserved by the requesting initiator using a RESERVE (6/10)
command and is still in the reserved state. See PERSISTENT RESERVE OUT/IN for an alternate reservation
system. This command cannot release a reservation generated by the PERSISTENT RESERVE OUT command.
Third party reservation management operations are only allowed using RESERVE (10) and RELEASE (10).
Logical unit reservation management operations are allowed using RESERVE (6/10) and RELEASE (6/10).
3rdPty: The Third-Party release option for the RELEASE command allows an initiator to release a logical unit that
was previously reserved using the Third-Party reservation option.
If the 3rdPty bit is ZERO, then the Third-Party release option is not requested. If the 3rdPty bit is one, then the
drive is released, if the reservation was made using the Third-Party reservation option by the initiator that is
requesting the release and for the same SCSI device as specified in the Third-Party Device ID field.
If the 3rdPty bit is ONE, the Logical Unit releases the specified logical unit, but only if the initiator, 3rdPty bit, and
Third Party Device ID fields (in CDB or in Parameter List) are identical when compared to the values used in the
RESERVE (10) command that established the reservation.
Long ID: If the Long ID bit is set to 1b and the Parameter List Length is 8, the parameter list contains the eight
bytes of the device ID of the Third Party Device ID.
If the 3rdPty bit is zero, the LONGID bit field is ignored.
Third Party Device ID: If the Third Party Device ID value that is connected with the reservation release is equal to
or smaller than 255 (FFh), the LongID field may be 0b and the Third Party Device ID value is sent in this field.
The contents of the Third Party Device ID field in the CDB is ignored when LongID = 1b;
Note: If the Third Party Device ID value is greater than 255 (FFh), LongID must be set to 1b.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-77
6.Command Specification
RELEASE
Parameter List Length: The contents of this field specify the length, in bytes, of the parameter list that will be
transferred from the initiator to the logical unit.
If the 3rdPty bit is ZERO, the PARAMETER LIST LENGTH field is ignored.
This field value must be 0000h when LongID is set to 0b. The field value must be eight when LongID is set to 1b.
If LongID is set to 0b and Parameter List Length is not ZERO, the command is terminated with a CHECK
CONDITION status and the Sense Key is set to ILLEGAL REQUEST. The Additional Sense Code is set to
INVALID FIELD IN CDB.
If LongID is set to 1b and Parameter List Length is not eight, the command is terminated with a CHECK
CONDITION status and the Sense Key is set to ILLEGAL REQUEST. The Additional Sense Code is set to
INVALID FIELD IN CDB.
When the LongID bit is set to 1b, the parameter list has the format shown in Table 6-82.
Table 6-82: RELEASE (10) LongID Only Parameter List — Data Format
Bit
7
6
5
4
3
2
1
0
Byte
(MSB)
0 - 7
Third Party Device ID
(LSB)
6-78
SONY AIT-5 drive SDX-1100V series Ver.1.0
REPORT DENSITY SUPPORT
6.Command Specification
6.19. REPORT DENSITY SUPPORT 44h
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (44h)
Reserved
1
2
3
4
5
6
7
8
9
MEDIA
Reserved
Reserved
Reserved
Reserved
Reserved
(MSB)
Allocation Length
(LSB)
Control
The REPORT DENSITY SUPPORT command provides information regarding the supported densities for the
logical unit be sent to application client.
MEDIA : The MEDIA bit of ZERO indicates that the drive will return density support data block for densities
supported by the logical unit for any supported media. The data returned by the drive will be static if the MEDIA
bit is ZERO. The MEDIA bit of ONE indicates that the drive will return density support data block for densities
supported by the mounted medium. If the MEDIA bit is ONE and the logical unit is not in the ready state, a CHECK
CONDITION status will be returned. The sense key will be set to NOT READY.
The Allocation Length field specifies the maximum number of bytes that the drive may return.
The REPORT DENSITY SUPPORT command returns the REPORT DENSITY SUPPORT header followed by one
DENSITY SUPPORT data block. The Density support data blocks will be in numerical ascending order of the
primary density code value for each block.
Table 6-83: REPORT DENSITY SUPPORT header
Bit
7
6
5
4
3
2
1
0
Byte
0
(MSB)
Available Density Support Length
1
2
3
(LSB)
Reserved (00h)
Reserved (00h)
Available Density Support Length: This field specified the number of bytes in the following data that is available
to be transferred. The Available density support length does not include itself.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-79
6.Command Specification
REPORT DENSITY SUPPORT
Table 6-84: REPORT DENSITY SUPPORT data block descriptor
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
4
5
7
8
9
10
11
12
15
16
PRIMARY DENSITY CODE (32 h)
SECONDARY DENSITY CODE (30 h)
WRTOK (1) DUP (0) DEFLT (1)
Reserved (00h)
Reserved (00h)
Reserved (00h)
BITS PER MM
(MSB)
(MSB)
(MSB)
(MSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
MEDIA WIDTH
TRACKS
CAPACITY
(MSB)
(MSB)
(MSB)
ASSIGNING ORGANIZATION (SONY)
DENSITY NAME (AIT-3)
23
24
31
32
DESCRIPTION (AdvlntelligentTape3)
51
52
PRIMARY DENSITY CODE (B3h)
53
SECONDARY DENSITY CODE (30 h)
54
WRTOK (1) DUP (0) DEFLT (1)
Reserved (00h)
55
56
57
59
60
61
62
63
Reserved (00h)
Reserved (00h)
BITS PER MM
(MSB)
(MSB)
(MSB)
(MSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
MEDIA WIDTH
TRACKS
64
CAPACITY
67
68
75
76
83
84
103
104
105
106
107
108
109
111
112
113
114
115
(MSB)
(MSB)
(MSB)
ASSIGNING ORGANIZATION (SONY)
DENSITY NAME (AIT-3 Ex)
DESCRIPTION (AdvIntelligentTape3E)
PROMARY DENSITY CODE (33h)
SECONDARY DENSITY CODE (30h)
WRTOK (1) DUP (0) DEFLT (1)
Reserved (00h)
Reserved (00h)
Reserved (00h)
BITS PER MM
(MSB)
(MSB)
(MSB)
(LSB)
(LSB)
(LSB)
MEDIA WIDTH
TRACKS
6-80
SONY AIT-5 drive SDX-1100V series Ver.1.0
REPORT DENSITY SUPPORT
6.Command Specification
116
119
120
127
128
135
136
155
156
157
158
159
160
161
162
163
164
165
166
167
170
171
178
179
186
187
206
(MSB)
(MSB)
(MSB)
(MSB)
CAPACITY
(LSB)
ASSIGNING ORGANIZATION (SONY)
DENSITY NAME (AIT-4)
(LSB)
(LSB)
(LSB)
DESCRIPTION (AdvIntelligentTape4)
PROMARY DENSITY CODE (34h)
SECONDARY DENSITY CODE (30h)
WRTOK (1) DUP (0) DEFLT (1)
Reserved (00h)
Reserved (00h)
Reserved (00h)
BITS PER MM
(MSB)
(MSB)
(MSB)
(MSB)
(LSB)
(LSB)
(LSB)
(LSB)
MEDIA WIDTH
TRACKS
CAPACITY
(MSB)
(MSB)
(MSB)
ASSIGNING ORGANIZATION (SONY)
DENSITY NAME (AIT-5)
(LSB)
(LSB)
(LSB)
DESCRIPTION (AdvIntelligentTape5)
Density support data blocks will be returned by ascending primary density code values.
Primary Density Code: This field contains the value returned by a Mode Sense command for the density
described in the remainder of the density support block. The drive will accept a Mode Select command
containing this value, for appropriate media. The value of 00h will only be used for the default of the logical unit.
WRTOK: The WRTOK bit of ZERO indicates that logical unit support for this density does not include writing to the
media. The WRTOK bit of ONE indicates the logical unit is capable of writing this density to either the currently
mounted medium (Media bit in CDB set to one) or for some media (Media bit in CDB set to Zero).
DUP: The DUP bit of ZERO indicates this primary density code has exactly support data block. The DUP bit of
ONE indicates this primary density code is specified in more than one density support block.
DEFLT: The DEFLT bit of ZERO indicates this density is not the default density of the drive. The DEFLT of ONE
indicates this density is the default density of the logical unit.
Bits Per MM: This field indicates the number of bits per millimeter per track as recorded on the medium. The
value in this field will be rounded up if the fractional value of the actual value is greater than or equal to 0.5. A
value of 00h indicates that the number of bits per millimeter does not apply to this logical unit. Direct of this value
between different suppliers (possible products) is discouraged since the definition of bits may vary.
Media Width: This field indicates the width of the medium supported by this density. This field has units of tenths
of millimeters. The value in this field is equal to 0.5. The Media Width field may vary for a given density depending
on the mounted medium. A value of 00h indicates that the width of the medium does not apply to this logical unit.
Tracks: This field indicates the number of data tracks supported on medium by this density.
Capacity: If MEDIA bit of CDB is set to 0, this field will indicate the approximate capacity of the longest supported
medium assuming recording in this density If the Media bit of CDB is set to 0, set to 0m this field will indicate the
approximate capacity of the current medium assuming recording in this density. If the approximate capacity of the
current medium cannot be determined for the mounted medium, the longest supported medium capacity will be
used. The data and block size assumes that compression is disabled. The capacity also assumes that the media is
in “good” condition, and that “normal” data and block size are used. This value is in units of megabytes (1000 X
1000 bytes). The logical unit does not guarantee that this space is actually available in all cases.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-81
6.Command Specification
REPORT DEVICE IDENTIFIER
6.20. REPORT DEVICE IDENTIFIER A3h
Bit
Byte
7
6
5
4
3
2
1
0
0
1
Operation Code (A3h)
Service Action (05h)
Reserved
2 - 5
6 - 9
10
Reserved
Allocation Length
Reserved
11
Control
The REPORT DEVICE IDENTIFIER command requests that the logical unit send device identification information
to the initiator.
Service Action: Must be 05h.
For any value other than 05h, the command is terminated with a CHECK CONDITION status, the sense key is set
to ILLEGAL REQUEST, and the ASC/ASCQ is set to INVALID FIELD IN CDB.
Allocation Length: If the Allocation Length is not sufficient to allow all of the parameter data to be returned, the
first portion of the data is returned (i.e., truncated). This is not considered an error.
Note: The actual length of the parameter data is calculated using the Identifier Length field in the parameter data
plus 4.
Table 6-85: REPORT DEVICE IDENTIFIER - Data Format
Bit
7
6
5
4
3
2
1
0
Byte
0 - 3
4 - n
Identifier Length (n – 3)
Identifier
Identifier Length: Specifies the length in bytes of the Identifier field. If the Allocation Length field in the CDB is too
small to transfer the header and all of the identifiers, the length is not adjusted to reflect the truncation.
The identifier length is initially equal to zero, and is changed only by a successful SET DEVICE IDENTIFIER
command.
Identifier: The value reported is the last value provided by a successful SET DEVICE IDENTIFIER command.
The value of the identifier is changed only by a successful SET DEVICE IDENTIFIER command.
The identifier value persists through resets, power cycles, media write operations, and media replacement.
If Identifier Length = 00000000h, this field is not present or has zero length.
6-82
SONY AIT-5 drive SDX-1100V series Ver.1.0
REPORT LUNS
6.Command Specification
6.21. REPORT LUNS A0h
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
Operation Code (A0h)
Reserved
Reserved
3
Reserved
4
Reserved
5
Reserved
6
(MSB)
7
8
Allocation Length
9
(LSB)
10
11
Reserved
Control
The REPORT LUNS command requests that the peripheral device logical unit numbers of known logical units in
the target be sent to the application client. The REPORT LUNS command will return information about only those
logical units to which commands may be sent.
The REPORT LUNS command will not be affected by reservations or persistent reservations.
The Allocation length will be at least 16 bytes. If the Allocation length is less than 16 bytes, the drive will return a
CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST and the additional sense data will
be set to INVALID FIELD IN CDB.
If the Allocation length is not sufficient to contain the logical unit number values for all configured logical units, the
drive will report as many logical unit number values as fit in the specified Allocation length. This will not be
considered an error.
The drive will report the logical unit numbers of configured drive using the format shown in Table 6-86.
Table 6-86: LUN reporting parameter list format
Bit
7
6
5
4
3
2
1
0
Byte
0
(MSB)
LUN List Length (00 00 00 08h)
Reserved (0)
3
4
7
(LSB)
LUN List
LUN
8
(MSB)
15
(LSB)
The LUN list length will contain the length in bytes of the LUN list that is available to be transferred. The LUN list
length is the number of logical unit numbers reported multiplied by eight. If the allocation length in the CDB is too
small to transfer information about all configured drive, the LUN list length value will not be adjusted to reflect the
truncation.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-83
6.Command Specification
REQUEST SENSE
6.22. REQUEST SENSE 03h
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (03h)
Reserved
Reserved
Reserved
Allocation Length (1Ch)
Control
1
2
3
4
5
The REQUEST SENSE command requests that the target transfer Sense Data to the initiator.
The Sense Data will be valid for a CHECK CONDITION status returned on the previous command. The Sense
Data will be preserved by the target until retrieved by the REQUEST SENSE command or until the receipt of any
other command from the same initiator. The 28 bytes of Sense Data are cleared upon receipt of any subsequent
command to the logical unit, including another REQUEST SENSE.
If the drive receives an unsolicited REQUEST SENSE, then it returns Sense Data with the Filemark, EOM and the
appropriate values in the ASC/ ASCQ fields. These fields are only set if the drive is currently logically positioned at
BOM/P, EOM , EOD, or after a Filemark or after a Setmark. The initiator is required to know what the current
direction of tape motion is and, therefore to know whether the logical position at a Filemark or Setmark is either on
the BOT or EOT side of that mark.
The positional information provided reflects the logical position of the drive. The drive returns information based on
the data still in its buffer as well as the data on tape.
The REQUEST SENSE command does not cause the drive to flush its buffered data to tape. Therefore, if the
initiator requires the exact physical positioning of the media, it will precede the REQUEST SENSE with a WRITE
FILEMARKS command with the number of Filemarks field = 0 and with the immediate bit set to ZERO. This
command will force the drive to flush any currently buffered data to tape. A subsequent REQUEST SENSE will
return the initiator the actual physical (and logical) position of the drive.
Note: The drive will only maintain valid positional information on normal operating commands.
Allocation Length: The Allocation Length specifies the maximum number of sense bytes to be returned. The
drive terminates the transfer when the Allocation Length bytes have been transferred or when all available Sense
Data has been transferred to the initiator, whichever is less.
The returned sense information has the following format:
6-84
SONY AIT-5 drive SDX-1100V series Ver.1.0
REQUEST SENSE
6.Command Specification
Table 6-87: Error Codes 70h and 71h Sense Data Format
Bit
7
6
5
4
3
2
1
0
Byte
0
Valid
Error Code (70h or 71h)
1
2
3
Segment Number
Reserved
Filemark
(MSB)
EOM
ILI
Sense Key
Information
6
7
8
(LSB)
(LSB)
Additional Sense Length (14h)
Command-Specific Information
(MSB)
SKSV
11
12
13
14
15
17
18
19
21
22
25
26
27
Additional Sense Code (ASC)
Additional Sense Code Qualifier (ASCQ)
Field Replaceable Unit Code
Sense-Key Specific
Reserved
Read/Write Data Error Counter
(MSB)
(MSB)
(LSB)
Remaining Tape
(LSB)
MEW
Reserved
CLN
Reserved
Reserved
Valid: A valid bit of one indicates that the Information field holds residual data.
Error Code: A value of 70h indicates a current error, i.e. the report is associated with the most recently received
command. A value of 71h indicates a deferred error, i.e. the report is associated with a previous command and is
not as a result of the current command. No other values will be returned.
Segment Number: This field contains the number of the current segment descriptor if the REQUEST SENSE
command is in response to a COPY command. Otherwise this byte is ZERO. This field is not supported and is
always set to ZERO.
Filemark: This bit indicates that the current command has read a Filemark or a Setmark. Reporting of Setmarks is
optional and indicated by the RSmk bit in the MODE SENSE/SELECT Device Configuration Parameter page.
EOM: An End-Of-Medium (EOM) bit of ONE indicates that an End-Of-Medium condition exists. This bit of ONE
indicates that the drive is at or past the Logical Early-Warning Point if the direction was forward, or that the
command could not be completed because Beginning-Of-Partition was encountered if the direction was reverse.
The drive will also set the Sense Key to NO SENSE and the Additional Sense Code Qualifier to either 04h for
Beginning of Partition or 02h for End of Partition.
For WRITE type operations, the drive will return a CHECK CONDITION on any operation which occurs following
detection of the Early-Warning End-of-Partition marker. The EOM and Additional Sense Code fields will be set.
For READ type operations, the drive will not return a CHECK CONDITION until the drive encounters the physical
End-of-Partition.
Note that at PHYSICAL End-of-Partition, a WRITE FILEMARK command will cause the command to terminate
with a CHECK CONDITION and a sense key of VOLUME OVERFLOW.
ILI: This is the Incorrect Length Indicator bit, which indicates that the requested logical block length did not match
the logical block length of the data on the medium. Only READ may cause this bit to be set.
Information: This field contains the differences (residue) of the requested length minus the actual length in
either bytes, blocks, Filemarks or Setmarks as determined by the command. (Negative values are indicated by
two’s complement notation.) These bytes will be valid for all READ, WRITE and SPACE commands for which a
CHECK CONDITION status has been generated. These bytes will be ZERO for MODE SELECT/SENSE,
INQUIRY, READ BLOCK LIMITS and TEST UNIT READY commands.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-85
6.Command Specification
REQUEST SENSE
Additional Sense Length: This field specifies the number of additional sense bytes that are to follow. If the
Allocation Length of the CDB is too small to transfer all of the additional sense bytes, the Additional Sense Length
is not adjusted to reflect the truncation.
Command Specific Information: Command Specific Information field is unused, and will be ZERO.
Additional Sense Code and Additional Sense Code Qualifier: These fields provide additional information about
what caused the CHECK CONDITION status. They are used extensively by the drive. The information is
presented in the Sense Key Description table on the following pages.
Field Replaceable Unit Code: This field is used to define a device specific mechanism or part that has failed. A
value of ZERO indicates that no specific mechanism or unit has been identified to have failed. This field is always
set to ZERO.
Sense-Key specific: This field will contain data that further information related to the CHECK CONDITION.
If the Sense Key field is set to ILLEGAL REQUEST and the SKSV bit is set to one, the Sense-Key specific fields
will be as shown below. The fields point to illegal parameters sent by the initiator.
Table 6-88: Field Pointer Bytes
Bit
7
6
5
4
3
2
1
0
Byte
15
SKSV(1)
(MSB)
C/D
Reserved Reserved
BPV
Bit Pointer
16
17
Field Pointer
(LSB)
C/D: When this bit is set, it indicates that the illegal parameter is in the CDB. A C/D of ZERO indicates that the
illegal parameter is in the Parameter List sent by the initiator during the DATA OUT phase.
BPV: When the Bit Pointer Valid bit is set, indicates that the Bit Pointer field specifies which bit of the byte
designated by the Field Pointer is in error. When a multiple-bit field is in error, the Bit Pointer field points to the
most significant (left most) bit of the field.
Field Pointer: This field indicates which byte of the CDB or of the Parameter List data was in error. Bytes are
numbered from ZERO. When a multiple byte field is in error, the pointer points to the most significant byte of the
field.
If the SKSV bit is ZERO, then the Field Pointer Bytes take the Sony Unique Format as shown below:
Table 6-89: Error Code and Status Bytes
Bit
7
6
5
4
3
2
1
0
Byte
15
SKSV(0)
Reserved
16
17
Runtime Error Code
Status Byte
Runtime Error Code: This field is part of the internal protocol and contains the Runtime (error set 0) Error code.
These internal error codes are also listed below, showing to which Sense, ASC and ASCQ fields they are mapped.
Status Byte: This field is not supported.
Read/Write Data Error Counter: After a read operation, this field returns Total error collected fields of Read Error
Counters Pages. After a write operation, this field returns Total error collected fields of Write Error Counters Pages.
This field is valid only after a READ or a WRITE command. It is direct mapping of these log page data and is
cleared/reset in the same way as those log page data.
Remaining Tape: The capacity remaining of the tape in 1024 byte blocks is returned. This means the area from
the current logical position to EOP.
6-86
SONY AIT-5 drive SDX-1100V series Ver.1.0
REQUEST SENSE
6.Command Specification
CLN: When this bit is set, it indicates drive request cleaning .
MEW: When this bit is set, it indicates Media Warning.
A description of the different Sense Keys (Byte 2), Additional Sense Codes (Byte 12), and the Additional Sense
Code Qualifiers (Byte 13) supported by the SDX-1100V are listed in a table beginning on the following page.
The following Table shows the REQUEST Sense Keys and the Additional Sense Key (Byte 12) and the Additional
Sense Key Qualifier (Byte 13) supported by the SDX-1100V:
Table 6-90: Sense Key Descriptions
Sense
Key
Bytes
Description
12
13
00h
NO SENSE: Indicates that there is no specific sense key information to be reported
for the designated logical unit. This would be the case for a successful command or a
command that received a CHECK CONDITION or a COMMAND TERMINATED
status because one of the Filemark, EOM, or ILI bits is set to one. For Filemark or
Setmark detected the drive will be positioned on the EOM side of the mark if the drive
direction was forward and on the BOM side of the mark if the direction was reverse.
00
00 NO ADDITIONAL SENSE INFORMATION
01 FILEMARK DETECTED
00
00
00
00
00
02 END-OF-PARTITION/MEDIUM DETECTED
03 SETMARK DETECTED
04 BEGINNING-OF-PARTITION/MEDIUM DETECTED
05 END-OF-DATA DETECTED
01h
02h
RECOVERED ERROR.
5D 00
FAILURE PREDICTION THRESHOLD EXCEEDED
NOT READY. Indicates that the addressed logical unit cannot be accessed. Operator
intervention may be required to correct this condition. Typically this indicates that
there is no tape loaded. This status is also returned if the drive is currently rewinding
following REWIND with Immediate bit set and another command is received (except
for INQUIRY and READ BLOCK LIMITS which return GOOD status).
04 00
LOGICAL UNIT NOT READY - Media is present within the drive.
This status is returned to any tape motion command following UNLOAD with
Immediate bit set or if the Eject button has been pressed by the operator. Also can be
caused by the command sequence, PREVENT ALLOW MEDIA REMOVAL with
Prevent bit set followed by UNLOAD. Tape motion commands such as READ,
WRITE or SPACE are not allowed but Diagnostics which do not access the tape are
permitted.
04
30
01 LOGICAL UNIT IS IN PROCESS OF BECOMING READY - This status is returned
following a LOAD command with the IMMED bit set for any tape motion command
before the tape is loaded. Also during the auto load following a tape insertion.
03 CLEANING CARTRIDGE INSTALLED
3A
3A
00 MEDIUM NOT PRESENT - This status is returned for all tape motion commands
when there is no media within the tape.
04 MEDIUM NOT PRESENT MAM ACCESSIBLE
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-87
6.Command Specification
REQUEST SENSE
03h
MEDIUM ERROR. Indicates that the current command or a previously acknowledged
write-type operation terminated with a non-recovered error condition that was
probably caused by a flaw in the medium, an error in the recorded data or the
cleanliness of the head. This sense key may also be returned if the drive is unable to
distinguish between a flaw in the medium and a specific hardware failure (sense key
4h). This condition is also marked by the Valid bit being set, indicating that the
Information field contains residue information.
00
02
END-OF-PARTITION / MEDIUM DETECTED
0C
00 WRITE ERROR – The Read-After-Write Retry limit was exceeded during Write.
Probably caused by a flaw in the media.
11
11
00
UNRECOVERED READ ERROR - C1, C2 & C3 Error Correction could not correct a
Read Error. Probably caused by a flaw in the media.
08
INCOMPLETE BLOCK READ - The drive could not read the AITFormat Group
containing the requested block. Could be caused by head clogging or media
damage.
14
15
03
02
END-OF-DATA NOT FOUND – While Reading an AIT format tape, the drive
encountered blank (unformatted) media during a Read operation. This error could be
caused by serious head clogging.
POSITIONING ERROR DETECTED BY READ OF MEDIUM - Cannot find
destination Group during Space operation.
27
30
04
00
APPEND POSITION ERROR
INCOMPATIBLE MEDIUM INSTALLED - Format violation.
Possible that the Sub-Area cannot be read.
CANNOT READ MEDIUM, INCOMPATIBLE FORMAT - Format violation.
CLEANING FAILURE
30
30
31
02
07
00
MEDIUM FORMAT CORRUPTED - AIT format Group GIT, BAT, or Sub-Codes do not
match or are improper.
3B
50
08
00
00
REPOSITION ERROR - Position lost during Read, Write, Space, Locate, Seek or
Select Partition operation.
WRITE APPEND ERROR - Cannot find the last frame of the Group and therefore,
cannot append.
52
70
CARTRIDGE FAULT
NN DECOMPRESSION EXCEPTION SHORT ALGORITHM ID OF NN - ALGORITHM ID
<= 255
83
03
MIC Checksum Error
6-88
SONY AIT-5 drive SDX-1100V series Ver.1.0
REQUEST SENSE
6.Command Specification
04h
HARDWARE ERROR. Indicates that the drive detected a non-recoverable hardware
failure not related to the tape (for example, controller failure, device failure, parity
error, etc).While performing the command or during a self-test. If a previously
acknowledged write-type operation was the cause, the valid bit is set. The error code
in sense byte 16 will indicate the specific problem. Refer to the error code table in the
diagnostics clause for more information.
03
3F
00 PERIPHERAL DEVICE WRITE FAULT - Drive electronics did not report successful
completion to a Write operation.
01 MICROCODE HAS BEEN CHANGED – Illegal firmware code is reprogrammed.
44
00 INTERNAL TARGET FAILURE - Any unexpected internal error
Conditions Indicating a Non-recoverable hardware failure. Refer to the field
replaceable unit code field (sense byte 14) to determine which part of the drive is
failing. Initiator will issue SEND DIAGNOSTICS with the self-test bit set to thoroughly
test the drive. This sense information could also be returned after a send diagnostics
command ends with a CHECK CONDITION status. initiator will issue RECEIVE
DIAGNOSTICS RESULTS for more details. Possible causes: buffer
overrun/under-run, format violation, mechanical status time-out, internal data parity
error, byte count mismatch, incorrect micro processor operation, unexpected SCSI
protocol chip interrupt.
83
06 MIC Read Error
05h
ILLEGAL REQUEST. Indicates that there was an illegal parameter in the CDB or in
the additional parameters supplied as data for some commands. If the target detects
an invalid parameter in the CDB, then it will terminate the command without altering
the medium. If the target detects an invalid parameter in the additional parameters
supplied as data, then the target may have already altered the medium. This sense
key may also indicate that an invalid IDENTIFY message was received.
1A
00 PARAMETER LIST LENGTH ERROR - Indicates that the Parameter Length error in
the CDB. Either the value does not fall on a Header, Page or Block descriptor
boundary or the Parameter List Length is unexpectedly large.
20
24
00 INVALID COMMAND OPERATION CODE - Invalid or Unsupported command.
00 INVALID FIELD IN CDB – Bits are set in one or more fields are not supported or are
Reserved. Refer to the Field Pointer (Bytes 15-17) to identify the illegal bit or field.
26
26
00 INVALID FIELD IN PARAMETER LIST - Test Number,
Configuration Number Header, or Field in the Parameter List was invalid or selected
Diagnostic test is not initiator assessable.
01 PARAMETER NOT SUPPORTED - Unsupported page requested. Refer to the Field
Pointer (Bytes 15-17) to identify the illegal bit or field.
26
02 PARAMETER VALUE INVALID
2C
00 COMMAND SEQUENCE ERROR - Write Buffer command when tape is inserted and
not at BOT.
39
00 SAVING PARAMETERS NOT SUPPORTED
3D
00 INVALID BITS IN IDENTIFY MESSAGE - Identify message was not 80h or C0h.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-89
6.Command Specification
REQUEST SENSE
05h
55
83
83
83
83
83
83
83
83
83
83
83
83
83
04 INSUFFICIENT REGISTRATION RESOURCES (attempt to register more than 1 key)
02 No MIC Detected
04 MIC out of Memory
05 No Data Body Detected in the MIC
0C MIC format type is undefined
0D MIC capacity field indicates illegal value.
80 Partition Count exceeded
89 User Volume Note Size Mismatch
8A User Partition Note Size Mismatch
97 Current Partition is not the last partition
98 Can not append the new partition, because remaining capacity too short.
99 Can not delete partition
9B Can not format tape because real tape capacity is exceeded
9C Can not append new partitions because the MIC is out of memory
06h
UNIT ATTENTION. Indicates that the removable medium may have been changed or
the target has been reset.
28
29
29
2A
00 NOT READY TO READY TRANSITION, MEDIUM MAY HAVE CHANGED
00 POWER ON, RESET, OR BUS DEVICE RESET OCCURRED
80 Drive Failed Power-on test or Diagnostic - (SONY Unique)
01 MODE PARAMETERS CHANGED - Issued to all other initiators after one initiator
changes any Mode Parameter.
2A
2A
03 RESERVATION PREEMPTED (after removing reservation by the CLEAR action)
REGISTRATION PREEMPTED (after removing reservation by the PREEMPT or
05
PREEMPT ABORT action)
3F
83
11 MEDIUM AUXILIARY MEMORY ACCESIBLE
87 Broken MIC is loaded in AIT mode
07h
08h
09h
DATA PROTECT. Indicates that a WRITE type of operation was attempted on a write
protected tape, write operation is not performed.
27
83
00 WRITE PROTECTED – Cassette is Write Protected.
0B BROKEN MIC – Cassette is Write Protected
BLANK CHECK. Indicates the drive encountered blank medium or end-of-data
indication while reading.
00
00
00 NO ADDITIONAL SENSE INFORMATION - Blank Tape was encountered at BOT
05 END-OF-DATA DETECTED - During READ or SPACE command.
Vendor Specific
83
83
83
08 MIC is not formatted yet
0B MIC is broken
83 MIC exists but is not used
6-90
SONY AIT-5 drive SDX-1100V series Ver.1.0
REQUEST SENSE
6.Command Specification
0Bh
ABORTED COMMAND
43
00 MESSAGE ERROR – Unexpected Message phase.
45
00 SELECT OR RESELECT FAILURE - SCSI Selection/ Re-selection error.
47
00 SCSI PARITY ERROR - SCSI Parity Error detected and drive proceeded to Status
phase.
48
4A
4B
4E
00 INITIATOR DETECTED ERROR MESSAGE RECEIVED.
00 COMMAND PHASE ERROR
00 DATA PHASE ERROR – Possible DMA error
00 OVERLAPPED COMMANDS ATTEMPTED - Initiator issued a new command to the
drive while a previous command was being executed.
0Dh
VOLUME OVERFLOW
00
02 END-OF-PARTITION/MEDIUM DETECTED - During Write type operation.
MISCOMPARE. Not supported by the SDX-1100V
RESERVED. Not used by SDX-1100V
0Eh
0Fh
The REQUEST SENSE command returns the CHECK CONDITION status only to report fatal errors for the
REQUEST SENSE command.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-91
6.Command Specification
REQUEST SENSE
Table 6-91:Runtime Error Code
78h
7Ch
7Dh
80h
81h
82h
83h
84h
85h
87h
8Eh
90h
91h
92h
94h
A0h
A3h
A4h
A5h
B0h
B2h
B3h
B4h
B8h
BCh
BDh
BEh
BFh
C0h
C1h
C2h
CBh
DMA Parity Error FSC
DRAM Parity Error Interface Buffer Controller
DRAM Parity Error Tape Formatter Controller
LOADING TIME-OUT
FRONT LOADING TIME-OUT
CAPSTAN TIME-OUT
00h
01h
02h
04h
06h
07h
08h
0Eh
10h
11h
12h
13h
14h
20h
22h
24h
28h
29h
2Ah
2Ch
2Dh
2Eh
30h
33h
35h
36h
38h
39h
3Fh
43h
44h
45h
48h
49h
4Ch
4Fh
51h
52h
53h
54h
55h
56h
57h
58h
59h
5Fh
60h
61h
62h
63h
70h
75h
NO ERROR
NO TAPE
OFF-LINE WITH TAPE
ILLEGAL COMMAND
WRITE OPERATION INHIBIT
WRITE PROTECTED
PARTITION SIZE ERROR
CLEANING EOM ENCOUNTERED
INVALID TEST NUMBER
DRUM TIME-OUT
REEL TIME-OUT
ILLEGAL ENCODER PATTERN
TENSION REGULATOR NG
SNAPPED TAPE
INVALID PARAMETER
INVALID TEST WITH CARTRIDGE
TEST NOT ACCESSIBLE BY HOST
TEST NOT ACCESSIBLE SELFTEST
COMMAND ABORTED
FEW S REEL FG
FEW T REEL FG
HIGH TEMPERATURE
TAPE SLACK OCCURED
DRUM SPEED OUT OF RANGE
DRUM PHASE UNLOCKED
DRUM NO FG
BLANK AT BOT
BULK ERASE DETECTED
SYSTEM AREA READ CONDITION ERROR
SYSTEM AREA READ TIMEOUT
SYSTEM AREA READ OVER POSITION
SYSTEM AREA WRITE CONDITION ERROR
SYSTEM AREA APPEND TIMEOUT
SYSTEM AREA APPEND OVER POSITION
READ EOD ENCOUNTERED
READ DETECT HEAD CLOG
READ ECC UNCORRECTABLE
READ APPROACH TIMEOUT
READ OVER POSITION
DRUM NO PG
CAPSTAN SPEED OUT OF RANGE SHORT
CAPSTAN SPEED OUT OF RANGE LONG
CAPSTAN SPEED SERVO ERROR
CAPSTAN CALIBRATION ERROR
MC MISC ERROR
MC BOM DETECTED ERROR
MC EOM DETECTED ERROR
MC INITIALIZATION ERROR
MC COMMAND REJECT ERROR
UNKNOWN BAT ENTRY
Illegal Format
READ FORMAT ERROR
READ TIMEOUT
SEARCH APPROACH POSITION ERROR
SEARCH APPROACH TIMEOUT
SEARCH ECC UNCORRECTABLE
SEARCH OVER POSITION
SEARCH FORMAT ERROR
SEARCH NO USER DATA
SEARCH TIMEOUT
WRITE TOO MANY REWRITE
WRITE CONDITION ERROR
WRITE DETECT HEAD CLOG
WRITE EOM ENCOUNTERED
WRITE APPEND TIME OUT
WRITE APPROACH TIME OUT
WRITE APPEND OVER POSITION
WRITE APPEND WSID NG
WRITE APPEND ATF UNLOCK
WRITE TIMEOUT
FORMAT DISCONTINUITY
TARGET RECORD NOT FOUND
CCh UNEXPECTED EOR
CEh
E0h
E4h
E5h
E6h
E7h
E9h
F0h
F1h
F2h
F3h
F4h
F5h
F6h
F7h
F8h
FAh
FCh
FDh
DC ERROR
DMAABORT ERROR
FMK ENCOUNTERED
SMK ENCOUNTERED
BOP ENCOUNTERED
EOD ENCOUNTERED AT BOT
DMA HARDWARE ERROR
MIC BROKEN ERROR
MIC VERIFY ERROR
MIC LOGICAL ERROR
MIC CHECKSUM ERROR
MIC NOT SUPPORTED
CLEANING CONDITION ERROR
RFD ERROR
APPEND POSITION ERROR
ILLEGAL TAPE
UNDEFINED TAPE
DT GCAL ERROR
DT WHEADCAL ERROR
DT RHEADCAL ERROR
DT CLIP ERROR
EEPROM NG
DIAGNOSTIC FAILURE
FIRMWARE VERIFICATION FAILURE
FIRMWARE TAPE FAILURE
6-92
SONY AIT-5 drive SDX-1100V series Ver.1.0
RESERVE
6.Command Specification
6.23. RESERVE (6/10) 16h and 56h
Table 6-92: RESERVE (6) CDB format
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (16h)
1
2
3
4
5
Reserved
Obsolete
Obsolete
Reserved
Reserved
Control
Table 6-93: RESERVE (10) CDB format
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
Operation Code (56h)
3rdPty Reserved
Obsolete
Reserved
Long ID Reserved
3
4
Third Party Device ID
Reserved
5
Reserved
6
Reserved
7-8
9
Parameter List Length
Control
The RESERVE (6/10) command reserves the logical unit for exclusive use by the requesting initiator or one other
specified SCSI device (third party). The RELEASE (6/10) command is used to release the logical unit if it was
reserved by the requesting initiator using a RESERVE (6/10) command and is still in the reserved state.
See PERSISTENT RESERVE OUT/IN for an alternate reservation system. The PERSISTENT RESERVE OUT
command cannot be used to release a reservation generated by the RESERVE (6/10) commands.
Third party reservation management operations are only allowed using RESERVE (10) and RELEASE (10).
Logical unit reservation management operations are allowed using RESERVE (6/10) and RELEASE (6/10).
The reservation remains in effect until one of the following conditions is met:
- The initiator that made the reservation sends another RESERVE command.
- The logical unit is released by a RELEASE (6/10) command from the same initiator.
- The logical unit in a third party reservation is released by a RELEASE (10) command from the same initiator.
- A TARGET RESET or LOGICAL UNIT RESET Task Management function is received from any initiator.
The occurrence of the last two conditions is indicated by the logical unit returning a CHECK CONDITION status
with a sense key of UNIT ATTENTION on the next command following the condition.
It is not an error for an initiator to issue a new RESERVE (6/10) command to the logical unit when the logical unit
is currently reserved by that same initiator. If the logical unit has previously been reserved by another initiator, then
the logical unit terminates the command with RESERVATION CONFLICT status.
If, after honoring the reservation, any other initiator then attempts to perform any command except INQUIRY,
REQUEST SENSE, REPORT LUNS or RELEASE, then the command is rejected with a RESERVATION
CONFLICT status. A RELEASE command issued by another initiator will be ignored by that reserved logical unit.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-93
6.Command Specification
RESERVE
3rdPty: Third Party Release allows an initiator to reserve a logical unit for third party operations.
If the value in this field is 0b, a logical unit reserve is requested.
If the 3rdPty bit is set to 1b, the logical unit reserves the specified logical unit, but only if the initiator, 3rdPty bit,
and Third Party Device ID fields (in CDB or in Parameter List). The logical unit retains this information to determine
when a third party release function is valid.
LongID: If the Long ID bit is set to 1b and 3rd Party is set to 1b and the Parameter List Length is 8, the parameter
list contains the eight bytes of the device ID of the Third Party Device ID.
If the 3rd Pty bit is ZERO, the LONGID bit field is ignored.
Third-Party Device ID: If the Third-Party bit is ZERO, then the Third-Party Reservation option is not requested.
If the 3rdPty bit is one, a RESERVE reserves the drive for the SCSI device specified in the Third-Party Device ID
field (LongID = 0b) or the parameter data (LongID = 1b). The logical unit preserves the reservation until any one of
the conditions mentioned above occurs.
The logical unit ignores any attempt made by any other initiator to release the reservation and returns GOOD
status.
If the Third Party Device ID value is equal to or smaller than 255 (FFh), the LongID field may be 0b and the Third
Party Device ID value is sent in this field.
The contents of the Third Party Device ID field in the CDB is ignored when the LongID field is set to 1b. See
Parameter List Length.
Note: If the Third Party Device ID value is greater than 255 (FFh), LongID must be set to 1b.
Parameter List Length: The contents of this field specify the length, in bytes, of the parameter list that is
transferred from the initiator to the logical unit.
If the 3rdPty bit is set to ZERO or LongID is set to ZERO, the PARAMETER LIST LENGTH field is ignored.
The field value is ignored when the LongID field is set to 0b.
The field value must be at least 8 when the LongID field is set to 1b.
If the LongID is set to 0b and Parameter List Length is not ZERO, the command is terminated with a CHECK
CONDITION status and the Sense Key is set to ILLEGAL REQUEST. The ASC is set to INVALID FIELD IN CDB.
If the LongID field is set to 1b and Parameter List Length is set to less than eight (8), the command is terminated
with a CHECK CONDITION status and the Sense Key is set to ILLEGAL REQUEST. The ASC is set to INVALID
FIELD IN CDB.
An initiator that holds a current reservation may modify that reservation e.g., switch third-parties by issuing another
RESERVE command to the drive.
When the LongID bit is set to 1b, the parameter list has the format shown in Table 6-94.
Table 6-94: RESERVE (10) LongID Only Parameter List — Data Format
Bit
7
6
5
4
3
2
1
0
Byte
(MSB)
0 - 7
Third Party Device ID
(LSB)
6-94
SONY AIT-5 drive SDX-1100V series Ver.1.0
REWIND
6.Command Specification
6.24. REWIND 01h
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (01h)
Reserved
1
2
3
4
5
Immed
Reserved
Reserved
Reserved
Control
The REWIND command requests the drive to position the media at the beginning of the currently active partition.
Before rewinding, the drive writes any buffered data to tape and appends an EOD.
Immed: When this bit is set, the drive writes any remaining buffered data followed by an EOD to tape. It then
returns status to the initiator before beginning the actual rewind operation. If the Immediate bit is not set, status will
be returned after the rewind has completed.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-95
6.Command Specification
SEND DIAGNOSTIC
6.25. SEND DIAGNOSTIC 1Dh
Bit
Byte
7
6
5
4
3
2
1
0
0
1
2
3
4
5
Operation Code (1Dh)
PF Reserved Self Test DevOfl(0)
Reserved
Reserved
UnitOfl
(LSB)
(MSB)
Parameter List Length
Control
The SEND DIAGNOSTIC command requests the drive to perform diagnostic tests on itself.
PF: The drive expects the Page Format bit to be set to indicate that the parameters transferred during the DATA
OUT phase will include four bytes of header information as well as the diagnostic test bytes.
If this bit is not set, the parameter bytes will only describe the diagnostic test. Note that if the Self Test bit is set,
this bit must be ZERO else the drive will return a CHECK CONDITION with the ILLEGAL REQUEST sense key
set.
Self Test: When this bit is set, the drive executes its POWER-ON SEQUENCE. The Parameter List Length must
be ZERO when this bit is set other-wise the drive will return a CHECK CONDITION status with an ILLEGAL
REQUEST sense key set. After Self Test, a LOAD command is required to bring the drive online.
DevOfl: Device Off-line is not supported and will be set to ZERO, otherwise the driver will return a CHECK
CONDITION status with an ILLEGAL REQUEST SENSE key set.
UnitOfl: This bit must be set for proper operation of any diagnostic test except Self Test. If this bit is not set,
except for self-test, the drive will return a CHECK CONDITION status with an ILLEGAL REQUEST sense key set.
Parameter List Length: This field provides the count of the number of Parameter List bytes which will be
transferred in the DATA-OUT phase. These bytes describe the test that is to be run. This field must be set to
ZERO if the Self-Test bit is set.
If the PF bit is ZERO, the Parameter List describes the diagnostic test to be executed. The diagnostic tests are five
bytes in length. If the Parameter List Length is not set to five or ZERO if the Self-Test bit is set, the drive returns a
CHECK CONDITION status with an ILLEGAL REQUEST sense key set.
If the PF bit is set, the Parameter List includes a four byte header as of the form:
Table 6-95: Diagnostic Page Format
Bit
7
6
5
4
3
2
1
0
Byte
0
Page Code
Reserved
Page Length (n-3)
1
2
3
(MSB)
(LSB)
Page Code: The drive supports two Page Codes:
00h - Return Supported pages
81h - Drive Diagnostic page
For Page Code 00h, the Page Length must be ZERO and the Parameter List Length must be set to four otherwise
the drive returns a CHECK CONDITION status with an ILLEGAL REQUEST sense key set. This Page Code
requests that the drive return a list of the supported pages in the DATA -IN phase of RECEIVE DIAGNOSTIC.
6-96
SONY AIT-5 drive SDX-1100V series Ver.1.0
SEND DIAGNOSTIC
6.Command Specification
For Page Code 81h, the Page Length must be five and the Parameter List Length must be set to nine otherwise
the drive returns a CHECK CONDITION status with an ILLEGAL REQUEST sense key set. This page Code
instructs the drive to execute the five bytes of diagnostic test that follow the four bytes of header. The five
bytes of diagnostic test information will be of the form:
Table 6-96: Diagnostic Test information
Bit
7
6
5
4
3
2
1
0
Byte
0
Diagnostic Test Number
Loop Count Identifier
Parameter A
1
2
3
4
Break
Parameter B
Parameter C
Diagnostic Test Number: Number identifying which test to execute
Break: This field allows the initiator to terminate the diagnostic test when an error occurs.
0 = stop on first error
1 = do not stop on error
Loop Count Identifier: The number of times that the test will be repeated before status is returned.
0 = run once
1 = run once
2 = run 10 times
3 = run 100 times
4 = run 1000 times
Parameters A, B, C: Any additional parameters required to fully define the diagnostic test.
If the test completes successfully, the drive returns GOOD status. If the test failed, a CHECK CONDITION status is
returned with a HARDWARE ERROR Sense Key and an Additional Sense Code of DIAGNOSTIC FAILURE set.
The initiator will then send a REQUEST DIAGNOSTIC command which will return information as to which test
failed and the nature of the failure. If the test requested is not defined, not available to the requested processor,
or not executable in the current configuration, this information will be reported in the data returned by the
REQUEST DIAGNOSTIC command.
Refer to clause 7, Drive Diagnostics for more detailed information about the supported diagnostic tests and test
operations.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-97
6.Command Specification
SET DEVICE IDENTIFIER A4h
6.26. SET DEVICE IDENTIFIER A4h
Table 6-97: SET DEVICE IDENTIFIER command
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (A4h)
Service Action(06h)
1
Reserved
2 – 5
6 – 9
10
Reserved
Parameter List Length
Reserved
11
Control
The SET DEVICE IDENTIFIER command (Table 6-97) requests that the device identifier information in the logical
unit be set to the value received in the SET DEVICE IDENTIFIER command parameter list.
The Identifier set by an initiator may be from 0 (reset) to 64 bytes in increments of 1 byte.
The identifier is preserved over power cycles and reset events (see the REPORT DEVICE IDENTIFIER
command).
Service Action: Service Action must be 06h.
If the Service Action is not 06h, the command is terminated with a CHECK CONDITION status, the sense key is
set to ILLEGAL REQUEST, and the ASC/ASCQ is set to INVALID FIELD IN CDB.
Parameter List Length: Parameter List Length specifies the length in bytes of the Identifier that is transferred
from the application client to the logical unit. The maximum value for this field is 64 bytes; the minimum is 0.
If the parameter list length exceeds 64, the command is terminated with a CHECK CONDITION status, the sense
key is set to ILLEGAL REQUEST, and the ASC/ASCQ is set to INVALID FIELD IN CDB.
A parameter list length of ZERO indicates that no data is to be transferred, the identifier in the logical unit is to be
set to zero length, and subsequent REPORT DEVICE IDENTIFIER commands return an Identifier length of zero.
The SET DEVICE IDENTIFIER parameter list contains the identifier to be set by the logical unit (see Table 6-98).
Table 6-98: SET DEVICE IDENTIFIER Parameter List — Data Format
Bit
7
6
5
4
3
2
1
0
Byte
0 - <= 63
Identifier
Idenfifer:The Identifier field is an initiator selected value, to be returned in subsequent valid REPORT DEVICE
IDENTIFIER commands or until reset or until replaced by another valid SET DEVICE IDENTIFIER command.
On successful completion of a SET DEVICE IDENTIFIER command a unit attention will be generated for all
initiators except the initiator that issued the SET DEVICE IDENTIFIER command with service action 06h. When
reporting the unit attention condition the additional sense code will be set to DEVICE IDENTIFIER CHANGED.
6-98
SONY AIT-5 drive SDX-1100V series Ver.1.0
SPACE
6.Command Specification
6.27. SPACE 11h
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (11h)
1
2
3
4
5
Reserved
Code
(MSB)
Count
(LSB)
Control
The SPACE command provides a variety of positioning functions that are determined by the Code and Count fields
in the CDB. Both forward (toward EOM/P) and reverse (toward BOM/P) positioning are provided.
Code: The supported values are:
Table 6-99: SPACE codes
Code
000b
001b
011b
100b
Description
Blocks
Filemarks
EOD
Setmarks
Note: The drive will reject a SPACE Setmark command if it has not configured through MODE SELECT to report
Setmarks. The drive will return a CHECK CONDITION status with the Sense Data set to ILLEGAL REQUEST. In
this command description the word “mark” is used to mean Filemark or Setmark. Only where their responses
differ Filemark and Setmark will be referred explicitly.
Count: When spacing over blocks or marks, the Count field is interpreted as follows:
A positive value N causes forward movement over N blocks or marks. The tape is logically positioned after the Nth
block (or mark) on the EOM/P side.
A ZERO value causes no change in the logical position.
A negative value -N (2’s complement notation) causes reverse movement over N blocks or marks. The tape is
logically positioned on the BOM /P side of the Nth block (or mark).
When spacing to EOD, the Count field is ignored. Forward movement occurs until the drive encounters EOD.
When executing a SPACE, the drive implements the following hierarchy: Blocks (lowest), Filemarks, Setmarks,
EOD, BOM/P or EOM/P (highest)
Therefore, SPACE N blocks command will terminate with GOOD status after the Nth block, or with a CHECK
CONDITION status on any occurrence of Filemark, Setmark, EOD, BOM/P or EOM/P. SPACE N Filemarks will halt
on the Nth Filemark or on any occurrence of Setmark, EOD, BOM/P or EOM/P, and so on. Within the Sense Data,
the fields will be set as described on the following table.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-99
6.Command Specification
SPACE
Table 6-100: SPACE CHECK CONDITION results
Sense Data
Spacing
Event
Detected
Valid
Mark
EOM
Sense Key
ASC/ASCQ
Filemark Detected
Setmark Detected
Note
Blocks
Filemark
1
1
1
1
1
1
1
1
1
1
1
1
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
No Sense
a,b
Setmark
EOD
0
No Sense
a,b,d
b
0
Blank Check
No Sense
BOT
1
BOM/P Detected
EOM/P Detected
Setmark Detected
b,e
b,f
Phy EOT
1
Medium Error
No Sense
Filemarks Setmark
EOD
0
a,b,d
b
0
Blank Check
No Sense
BOT
1
BOM/P Detected
EOM/P Detected
b,e
b,f
Phy.EOT
1
Medium Error
Blank Check
No Sense
Setmarks EOD
BOT
0
b
1
BOM/P Detected
EOM/P Detected
BOM/P Detected
EOM/P Detected
b,e
b,f
Phy.EOT
1
Medium Error
No Sense
EOD
BOT
1
c,e
c,f
Phy.EOT
1
Medium Error
Note a: The logical position is located on the EOM side of the mark if the movement was in the forward direction
and on the BOM side of the mark if movement was in the reverse direction.
Note b: The Information field in the Sense Data is set to the difference (residue) between the requested count and
the actual number of blocks, Filemarks, Setmarks, or spaced over.
Note c: The Information field in the Sense Data will contain no residue count and therefore the Valid bit is not set.
Note d: If it has been configured through MODE SELECT to Report Setmarks, the drive will only report that a
Setmark has been detected while spacing over blocks or Filemarks. Otherwise, the drive will continue the space
operation and the presence of the Setmark will be transparent to the nitiator.
Note e: The tape is physically positioned at BOM/P.
Note f: EOM is only reported when the physical EOM/P is encountered. The tape is physically positioned at
EOM/P.
6-100
SONY AIT-5 drive SDX-1100V series Ver.1.0
SPACE
6.Command Specification
6.27.1. CHECK CONDITION
NO SENSE: If a Filemark is encountered while spacing over blocks, the Filemark and Valid bits in extended sense
are set to one. The Information field in the Sense Data is set to the difference (residue) between the requested
count and the actual number of blocks spaced over (not including the mark).
If a Save Setmark is encountered while spacing over blocks or Filemarks, nothing is reported unless the logical
unit has been configured through MODE SELECT to Report Save Setmarks.
If the Report Save-Setmarks configuration is enabled and a Save-Setmark is encountered while spacing over
blocks or Filemarks, the Valid bit and the Additional Sense Code in the Sense Data are set to indicate that a
Save-Setmark has been encountered. The Information field in the Sense Data is set to the difference (residue) in
the requested count and the actual number of blocks or Save-Setmarks spaced over (not including the detected
Save-Setmark).
If the EOD is detected while spacing over blocks or marks, the Valid bit and the Additional Sense Code in the
Sense Data are set to indicate that an EOD has been encountered. The Information field in the Sense Data is
set to the difference (residue) in the requested count and the actual number of blocks or marks spaced over.
If the BOT is detected while spacing over blocks or marks in the reverse direction, the EOM bit is set in extended
sense. The Valid bit is set to one and the Information field to the difference (residue) between the requested count
and the actual number of blocks or Filemarks spaced over.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-101
6.Command Specification
TEST UNIT READY 00h
6.28. TEST UNIT READY 00h
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (00h)
Reserved
1
2
3
4
5
Reserved
Reserved
Reserved
Control
The TEST UNIT READY command provides a means to check if the drive is ready. This is not a request for a
self-test. If the drive is able to accept an appropriate medium-access command without returning a CHECK
CONDITION, this command will return a GOOD status. Otherwise, a CHECK CONDITION will be reported and the
sense key will be NOT READY.
Table 6-101: TEST UNIT READY results
Drive Status
Sense Key
ASC/ASCQ Description
Tape Loaded
00 No Sense
00 NO ADDITIONAL SENSE INFORMATION
No Tape Present
02 Not Ready 3A 00 MEDIUM NOT PRESENT
Tape Loading
02 Not Ready 04 01 LOGICAL UNIT IS BECOMING READY
02 Not Ready 04 00 LOGICAL UNIT NOT READY
02 Not Ready 04 00 LOGICAL UNIT NOT READY
Tape Unloading
Tape Unloaded (but retained in drive)
6-102
SONY AIT-5 drive SDX-1100V series Ver.1.0
WRITE 0Ah
6.Command Specification
6.29. WRITE 0Ah
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (0Ah)
Reserved
1
2
3
4
5
Fixed
(LSB)
(MSB)
Transfer Length
Control
The WRITE command requests that the drive write the data that is transferred from the initiator to the logical
position.
Fixed: The Fixed bit specifies whether fixfed-length or variable-length blocks are to be transferred.
If the Fixed bit is set to ZERO, Variable Block mode is selected. A single block is transferred from the initiator and
is written to the current logical tape position. If the WRITE command complete successfully, the tape is logically
positioned after this block(EOM/P side).
If the Fixed Bit is set to one, the Transfer Length field specifies the number of blocks to be transferred to the
current logical position. This is valid only if the drive is currently operating in Fixed Block mode, in other words,
when it has been instructed to use fixed-length blocks with MODE SELECT. The current block length is the block
length defined in the MODE SELECT command. Upon termination, the tape is logically positioned after these
blocks (EOM/P side).
If the EARLY-WARNING is detected while writing, the drive will finish writing any buffered data. The command will
terminate with a CHECK CONDITION status., The EOM bit is set and the Sense Key field in the Sense Data is set
to NO SENSE and the ASC and ASCQ fields are set to EOM/P detected. The drive will attempt to complete any
subsequent writes, returning a CHECK CONDITION status in each case.
If the drive encounters the physical EOM when attempting a WRITE, a CHECK CONDITION status is returned.
The EOM and Valid bits are set and the Sense Key field in the Sense Data is set to VOLUME OVERFLOW. The
Information field contains the residue count and the ASC and ASCQ fields are set to EOM/P Detected. The tape is
physically positioned at EOM/P.
If the Transfer Length is ZERO, no data will be transferred and the current position on the logical unit will not be
changed.
The drive flushes its write buffer to tape and appends an EOD under the following conditions:
1. Receipt of the following non-write commands:
READ
SPACE
ERASE
READ BUFFER
WRITE BUFFER
REWIND
LOAD/UNLOAD
MODE SELECT (Media Operation)
LOCATE
The buffer can be maintained through the following media commands, assuming that no other flush condition has
been met, for example, write hold-off time-out.
WRITE
WRITE FILEMARKS (except count field of 0)
2. The write hold-off time limit is exceeded.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-103
6.Command Specification
WRITE ATTRIBUTE
6.30. WRITE ATTRIBUTE 8Dh
The WRITE ATTRIBUTE command (Table 6-102) allows an application client to write attributes to medium auxiliary
memory. Application clients will issue the READ ATTRIBUTE command prior to using this command to discover
device server support for medium auxiliary memory.
Table 6-102: WRITE ATTRIBUTE command
Bit
Byte
7
6
5
4
3
2
1
0
0
1
OPERATION CODE ( 8Dh)
Reserved
2
(MSB)
Reserved for SMC –2 devices (0)
3
(LSB)
4
5
VOLUME NUMBER (0)
Reserved
6
7
PARTITION NUMBER (0)
Reserved
8
9
Reserved
10
11
12
13
14
15
(MSB)
PARAMETER LIST LENGTH
(LSB)
Reserved
CONTROL
VOLUME NUMBER: The VOLUME NUMBER specifies a volume within the Medium Auxiliary Memory. The
number of volumes of the MAM will equal that of the attached multi-volume medium. The mult-volume is not
supported by the drive. If this field is set to non-ZERO, a check condition status is returned with a ILLEGAL
REQUEST sense key.
PARTITION NUMBER: The PARTITION NUMBER specifies a partition within a volume. The number of partitions
of the MAM will equal that of the attached multi-partition medium. The multi partition is not supported by the
drive. If this field is set to non-ZERO, a check condition status is returned with a ILLEGAL REQUEST sense key.
If the combination of VOLUME NUMBER and PARTITION NUMBER is not valid, the command will be terminated
with a CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST, and the additional sense
data will be set to INVALID FIELD IN CDB.
PARAMETER LIST LENGTH: The PARAMETER LIST LENGTH field specifies the length in bytes of the
parameter list contained in the DATA-OUT Buffer. A parameter list length of zero indicates that no parameter data
is present; this will not be considered an error. If the parameter list length results in the truncation of an attribute,
the WRITE ATTRIBUTE command will be terminated with a CHECK CONDITION status. The sense key will be set
to ILLEGAL REQUEST and the ASC will be set to PARAMETER LIST LENGTH ERROR.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-104
WRITE ATTRIBUTE
6.Command Specification
The parameter list will have the format shown in Table 6-103. Attributes will be sent in ascending numerical order.
If the attributes are not in order, no attributes will be changed and the WRITE ATTRIBUTE command will be
terminated with a CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST and the ASC will
be set to INVALID FIELD IN PARAMETER LIST.
Table 6-103: WRITE ATTRIBUTE parameter list format
Bit
Byte
7
6
5
4
3
2
1
0
0
3
(MSB)
PARAMETER DATALENGTH (n-3)
(LSB)
4
.
ATTRIBUTE 0
…
.
.
.
ATTRIBUTE x
n
The PARAMETER DATA LENGTH field will contain the number of bytes of attribute data and will be ignored by the
logical unit.
The format of the attribute is described later.
If there is not enough space to write the attributes to the medium auxiliary memory, no attributes will be changed
and the WRITE ATTRIBUTE command will be terminated with a CHECK CONDITION status. The sense key will
be set to ILLEGAL REQUEST and the ASC will be set to AUXILIARY MEMORY OUT OF SPACE.
If the medium auxiliary memory is not accessible because there is no medium present, no attributes will be
changed and the WRITE ATTRIBUTE command will be terminated with a CHECK CONDITION status. The sense
key will be set to NOT READY and the ASC will be set to AUXILIARY MEMORY NOT ACCESSIBLE.
If the Medium Auxiliary Memory has failed (e.g. bad checksum) the WRITE ATTRIBUTE command will be
terminated with a CHECK CONDITION status. The sense key will be set to MEDIUM ERROR and the ASC will be
set to AUXILIARY MEMORY WRITE ERROR.
If the WRITE ATTRIBUTE command parameter data contains an attribute with an ATTRIBUTE LENGTH field set
to ZERO, then one of the following actions will occur:
If the attribute state is unsupported or read only, no attributes will be changed and the WRITE ATTRIBUTE
command will be terminated with a CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST
and the ASC will be set to INVALID FIELD IN PARAMETERLIST;
If the attribute state is read/write, the attribute will be changed to the nonexistent state. The attribute will not be
returned in response to a READ ATTRIBUTE command and not reported by the read ATTRIBUTE command with
ATTRIBUTE LIST service action; or
If the attribute state is nonexistent, the attribute in the WRITE ATTRIBUTE command parameter list will be
ignored; this will not be considered an error.
If any of the following conditions occur, no attributes will be changed, the WRITE ATTRIBUTE command will be
terminated with a CHECK CONDITION status, the sense key will be set to ILLEGAL REQUEST, and the ASC will
be set to INVALID FIELD IN PARAMETER LIST.
If the parameter data attempts to change an attribute in the read only state.
If the parameter data contains an attribute with INCORRECT ATTRIBUTE LENGTH field contents; or
If the parameter data contain an attribute with unsupported ATTRIBUTE VALUE field contents.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-105
6.Command Specification
WRITE BUFFER
6.31. WRITE BUFFER 3Bh
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (3Bh)
1
2
3
5
6
8
9
Reserved
Mode
Buffer ID
Buffer Offset
(MSB)
(MSB)
(LSB)
(LSB)
Parameter List Length
Control
The WRITE BUFFER command is used in conjunction with the READ BUFFER command as a diagnostic
function.
The WRITE BUFFER command except Echo buffer is executed only when there is no tape inserted in the drive or
when the tape is positioned at BOT. Otherwise, the drive will return a CHECK CONDITION status with an ILLEGAL
Request Sense Key.
Note: The drive will write any buffered data to tape prior to executing the WRITE BUFFER command except Echo
buffer. Any data that is then transferred by the WRITE BUFFER is not written to tape.
Mode: The drive supports the following values within the Mode field. If any other value is set, the drive will
terminate the command with a CHECK CONDITION status with an ILLEGAL REQUEST sense key.
Table 6-104: WRITE BUFFER Mode Field
Mode
0000b
0010b
1010b
Description
Combined header and data
Data
Echo Buffer
Combined Header and Data Mode (0000b) - In this mode, the test data to be transferred must be preceded by a
four-byte header. The four-byte header consists of all reserved bytes. The Parameters List Length specifies the
maximum number of bytes that will be transferred during the DATA-OUT phase. This number includes four bytes
of header, so the data length to be stored in the buffer is transfer length minus four. The initiator will ensure that
the transfer length is not greater than four plus the available length that is returned in the header of the READ
BUFFER command.
Data Mode (0010b)- In this mode, the DATA-OUT phase contains only buffer test data.
Echo Buffer (1010b) - In this mode the data will be stored in an echo buffer. Data will be sent aligned on four-byte
boundaries. The BUFFER ID and BUFFER OFFSET fields are ignored in this mode. The drive assigns echo
buffer on a per initiator basis. The initiator will attempt to ensure that the parameter list length does not exceed the
capacity of the echo buffer. The BUFFER CAPACITY field in the READ BUFFER echo buffer descriptor
determines the capacity of the echo buffer. If the PARAMETER LIST LENGTH field exceeds the buffer capacity,
the drive will return a CHECK CONDITION status with a Request Sense Key of ILLEGAL REQUEST.
Table 6-105: WRITE BUFFER Mode Field
Buffer ID: The supported values are:
Buffer ID
Description
Offset
- 0x01000000
- 0x01000000
0
Write Group Buffer
Write Group Buffer
Write Group Buffer
Write Group Buffer
Write Group Buffer
0
0
80
81
82
83
0x01000000 - 0x02000000
0x02000000 - 0x03000000
0x03000000 - 0x03700000
If an unsupported Buffer ID code is requested, the drive returns a CHECK CONDITION status with an ILLEGAL
REQUEST sense key.
6-106
SONY AIT-5 drive SDX-1100V series Ver.1.0
WRITE BUFFER
6.Command Specification
Buffer Offset: The buffer offset field contains the byte offset within the specified buffer from which data will be
transferred to. The initiator will conform to the offset boundary requirements returned in the WRITE BUFFER
descriptor. If this field is not set to a four-byte boundary, it will return a CHECK CONDITION status with an
ILLEGAL REQUEST sense key and set the Additional Sense Code to ILLEGAL FIELD IN CDB.
Parameter List Length: This field specifies the maximum number of bytes that will be transferred during the
Data-Out phase. The initiator will attempt to ensure that the Parameter List Length does not exceed the buffer
capacity. If this does occur, the drive returns a CHECK CONDITION status with an ILLEGAL REQUEST sense
key .The capacity of the buffer can be determined from the Buffer capacity field in the Read Buffer descriptor. The
Parameter List Length must be greater than four and be aligned to a four-byte boundary (except in data only
mode), Otherwise, the drive will return a CHECK CONDITION status with an ILLEGAL REQUEST sense key set.
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-107
6.Command Specification
WRITE FILEMARKS
6.32. WRITE FILEMARKS 10h
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation Code (10h)
Reserved
1
2
3
4
5
WSmk
Immed
(LSB)
(MSB)
Number of Filemarks or Setmarks
Control
The WRITE FILEMARKS command causes the specified number of Filemarks or Setmarks to be written to the
current logical position.
WSmk: If this bit is set, the drive writes a Setmark to tape instead of a Filemark.
Immed: If this bit is set, the drive returns status as soon as the CDB has been validated. An Immediate bit of
ZERO indicates that status will not be returned until the operation has completed.
Number of Filemarks or Setmarks: This is the number of consecutive marks to be written to tape. A value of
ZERO is not considered an error and GOOD status is returned. If this field is set to ZERO, the drive flushes any
data buffer to the tape.
If the Early-Warning is detected while writing the marks, the drive will finish writing any buffered data. The
command will terminate with a CHECK CONDITION status. Within the Sense Data, the EOM bit is set, the Sense
Key field is set to NO SENSE and the Additional Sense Code and Additional Sense Code Qualifier fields are set to
EOM/P detected. The drive will attempt to complete any subsequent WRITE FILEMARKS, returning a CHECK
CONDITION status in each case.
If the drive encounters the physical EOM when attempting a WRITE FILEMARKS, a CHECK CONDITION status is
returned. Within the Sense Data, the EOD and Valid bits are set and the Sense Key field is set to VOLUME
OVERFLOW. The Information field contains the residue count and the Additional Sense Code and Additional
Sense Code Qualifier fields are set to EOM/P Detected. The tape is physically positioned at EOM/P.
6-108
SONY AIT-5 drive SDX-1100V series Ver.1.0
7.Drive Diagnostics
7. Drive Diagnostics
This clause deals with the diagnostics supported by the drive. Each diagnostic is described in detail and possible
error codes are discussed.
7.1. Overview
The diagnostic firmware for this product is designed to achieve the following objectives:
- Isolate hardware failures
- Verify the media
- Provide predictive information which can lead to the early detection of potential problems
- Provide remote support capabilities
- Satisfy manufacturing testing needs
How these objectives are achieved:
- Fault isolation is achieved by providing an extensive set of diagnostic tests.
- Media verification is achieved by error rate testing and tape logs.
- Predictive data is provided in the form of a tape log and runtime error logs. Logs are maintained within the drive's
RAM, EEPROM and on the AIT cassettes.
- Remote support capability is provided by allowing all tests and test sequences to be initiated via the host
interface. Similarly, all test results are reported back to the host via the interface.
- Manufacturing needs are satisfied by providing unrestricted access to all internal tests.
7.2. Diagnostic Test
This clause describes the Diagnostic Test facilities of the drive. The method for executing tests and receiving test
results from the Host is described and a full list of available tests and possible result messages is given.
Diagnostics can be initiated in several ways:
- Power-on Self Test
- Send Diagnostic command initiating a Self Test
- Send Diagnostic command initiating a specific test or sequence
Each type of Diagnostics will be described in detail.
7.2.1. Power-on Self Test
Each time power is applied to the drive which will automatically perform a series of diagnostics on itself to insure
that the basic functions of the drive are performing properly. The power-on Self Test sequence is shown below:
Power supply voltage exceeds power-up threshold
61
62
Main Processor ROM checksum
Main Processor Destructive RAM Test
The following 3 tests are initiated automatically after power-up and therefore would be executing in parallel with
the tests listed above.
30
71
72
Front Panel Check
Buffer RAM Test
DMA Test
If a failure occurs with any of the power-on diagnostic tests, the drive will halt with the Status LED flashing.
SONY AIT-5 drive SDX-1100V series Ver.1.0
7-1
7.Drive Diagnostics
If an error is detected during power-up, the drive will return a CHECK CONDITION status to the host on the
command received first. The host shall issue a REQUEST SENSE command to determine the cause of the
CHECK CONDITION status. The Sense data returned by the drive will have a Sense Key of 6 (Unit Attention) and
the ASC/ASCQ will be 29 80 (Drive failed power or test or diagnostic). The host can then issue a RECEIVE
DIAGNOSTIC RESULT command to the drive in order to identify the specific diagnostic test that failed and the
failure error code.
The drive should be checked by a qualified person to determine what action should be taken.
7.2.2. SEND DIAGNOSTIC command - Self Test
The host computer can request that the drive perform a Self Test on itself to verify that it is functioning normally.
The Self Test bit in the SEND DIAGNOSTIC command is set to ONE, and the Parameter List Length is ZERO.
This initiates the Self Test Diagnostic which is similar to the Power-on self test except that non-destructive RAM
testing is substituted for the destructive RAM tests.
If an error is detected during this test, the drive will return a CHECK CONDITION status to the host. The host shall
issue a REQUEST SENSE command to determine the cause of the CHECK CONDITION status. The Sense data
returned by the drive will have a Sense Key of 4 (Hardware Error) and the ASC/ASCQ will be 44 00 (Internal
Target Failure). The host can then issue a RECEIVE DIAGNOSTIC RESULT command to the drive in order to
identify the specific diagnostic test that failed and the failure error code.
The drive should be checked by a qualified person to determine what action should be taken.
7.2.3. SEND DIAGNOSTIC command - Individual Test
The SEND DIAGNOSTIC command also provides the capability to run each of the diagnostic tests individually. In
order to identify the diagnostic test to be executed, the SEND DIAGNOSTIC command should be configured as
follows:
Self Test bit = 0
Device Off-line bit = 0
Unit Off-line bit = 1
Parameter List Length = 5 or 9 (see below)
The Page Format (PF) bit is ZERO and the Parameter List Length is 5, the Parameter List in this case is 5 bytes
long and will be of the form:
Table 7-1: SEND DIAGNOSTIC Parameter If PF bit is ZERO
Bit
7
6
5
4
3
2
1
0
Byte
0
Diagnostic Test number
Loop Count
1
2
3
4
Break
Parameter A
Parameter B
Parameter C
7-2
SONY AIT-5 drive SDX-1100V series Ver.1.0
7.Drive Diagnostics
The Page Format (PF) bit is ONE, and the Parameter List Length is 9, the Parameter List in this case is 9 bytes
long and will be of the form:
Table 7-2: SEND DIAGNOSTIC Parameters If PF bit is ONE
Bit
7
6
5
4
3
2
1
0
Byte
0
Page Code (81h)
Reserved
Page Length (00 05h)
1
2
3
4
5
6
7
8
(MSB)
Break
(LSB)
Diagnostic Test Number
Loop Count Identifier
Parameter A
Parameter B
Parameter C
Break: This field allows the initiator to terminate the diagnostic test when an error occurs.
0 = stop on first error
1 = do not stop on error
Loop Count Identifier: The number of times that the test should be repeated before status is returned.
0 = run once
1 = run once
2 = run 10 times
3 = run 100 times
4 = run 1000 times
Parameters A, B, C: Any additional parameters required to fully define the diagnostic test. These parameters are
unused and will be 00h.
7.2.4. Diagnostic Test Number Summary
The following is a list of the diagnostic capabilities of the drive. The Test Availability Code indicates if a particular
test can be executed by the Host computer or is executed during Power-on diagnostics (or both). The drive also
supports three types of diagnostics:
1. Individual Tests - Self contained modules designed to test a particular function of drive
2. Sequences - Automatic execution of a series of individual tests
3. Exercisers - Verification of a major function of the drive such as Read, Write, Search, etc.
The Diagnostic Test Number for each Test, Sequence or Exerciser is shown in the first column.
Test Availability Codes
P
─
─
Power–on Self–test
Host Diagnostics
both
H
PH
─
SONY AIT-5 drive SDX-1100V series Ver.1.0
7-3
7.Drive Diagnostics
Sequence Test
00
Reset Sequence (61, 62, 71,72, 30)
H
Main Processor Kernel Test
61
62
Main Processor ROM checksum
Main Processor Destructive RAM Test
P
P
Drive Test
71
72
Buffer RAM Test
DMA Test
PH
PH
7.2.5. RECEIVE DIAGNOSTIC RESULT command
Whenever a diagnostic test is executed, the drive automatically prepares a diagnostic test result that can be
returned to the host computer when a RECEIVE DIAGNOSTIC RESULT command is issued.
If the PF bit in the SEND DIAGNOSTIC command was sent to one, the diagnostic test result will be preceded by a
four-byte header which will be of the form:
Table 7-3: RECEIVE DIAGNOSTIC RESULT - SCSI-2 Header
Bit
7
6
5
4
3
2
1
0
Byte
0
1
2
3
Page Code (81h)
Reserved
Page Length (00 05h)
(MSB)
(LSB)
Regardless of the PF bit in the SEND DIAGNOSTIC command, the five bytes of diagnostic test result information
will be of the form:
Table 7-4: RECEIVE DIAGNOSTIC RESULT
Bit
7
6
5
4
3
2
1
0
Byte
0
Reset
Error
Time
Re-Sync
Reserved
Error Set
1
2
3
4
Error Code
Result A
Result B
Diagnostic Test Number
Reset error: This bit is set when an error occurs during power-on self-test.
Time Re-Sync: This bit indicates that the time stamp saved with the error log has no relation to that of the
previous entry. It is only set by the logging routine within the data buffer as an error is logged.
7-4
SONY AIT-5 drive SDX-1100V series Ver.1.0
7.Drive Diagnostics
Error set: Two set of error codes exist. The definition of the error is dependent upon when set is taken from as
follows:
0 - Runtime errors
2 - Drive diagnostic errors
Error code: Error codes for each error set are described in clause 6.22.
Result A: Typically this byte indicates the logical sub-assembly that failed:
1 - Drive Mechanism
2 - Drive Circuitry
Note: This byte has alternate meanings with some diagnostics. Refer to clause 6.22.
Result B: Typically this byte is unused however, this byte has alternate meanings with some diagnostics. Refer to
clause 6.22.
Test number: This is the test number to which the message applies (if a test fails within a sequence, the individual
test number will be returned).
Note: Diagnostic test 30 (Front Panel Check) will light each of the front panel LEDs so that the operator can verify
that the LEDs are functioning. There is no error detection within the drive for this test and therefore the Error Code,
Result A and Result B will always be ZERO.
SONY AIT-5 drive SDX-1100V series Ver.1.0
7-5
7.Drive Diagnostics
This page intentionally left blank.
7-6
SONY AIT-5 drive SDX-1100V series Ver.1.0
8.APPENDIX A: ASC & ASCQ Alphabetic Order
8. APPENDIX A: ASC & ASCQ Alphabetic Order
ASC and ASCQ Assignments
Alphabetic Order
BYTE
12
13
DESCRIPTION
55
11
0C
00
14
83
30
30
52
30
30
4A
2C
4B
70
29
00
14
00
5D
00
30
11
48
55
44
3D
20
24
26
49
04
06
12
0B
04
04
87
02
05
00
07
03
00
00
00
NN
80
05
03
02
00
01
00
08
00
04
00
00
00
00
00
00
01
AUXILIARY MEMORY OUT OF SPACE
AUXILIARY MEMORY READ ERROR
AUXILIARY MEMORY WRITE ERROR
BEGINNING-OF-PARTITION/MEDIUM DETECTED
BLOCK SEQUENCE ERROR
BROKEN MIC IS LOADED IN AIT MODE
CANNOT READ MEDIUM - INCOMPATIBLE FORMAT
CANNOT WRITE MEDIUM - INCOMPATIBLE FORMAT
CARTRIDGE FAULT
CLEANING FAILURE
CLEANING CARTRIDGE INSTALLED
COMMAND PHASE ERROR
COMMAND SEQUENCE ERROR
DATA PHASE ERROR
DECOMPRESSION EXCEPTION SHORT ALGORITHM ID OF NN
DRIVE FAILED POWER-ON TEST OR DIAGNOSTIC - (SONY Unique)
END-OF-DATA DETECTED
END-OF-DATA NOT FOUND
END-OF-PARTITION/MEDIUM DETECTED
FAILURE PREDICTION THRESHOLD EXCEEDED
FILEMARK DETECTED
INCOMPATIBLE MEDIUM INSTALLED
INCOMPLETE BLOCK READ
INITIATOR DETECTED ERROR MESSAGE RECEIVED
INSUFFICIENT REGISTRATION RESOURCES
INTERNAL TARGET FAILURE
INVALID BITS IN IDENTIFY MESSAGE
INVALID COMMAND OPERATION CODE
INVALID FIELD IN CDB
INVALID FIELD IN PARAMETER LIST
INVALID MESSAGE ERROR
LOGICAL UNIT IS IN PROCESS OF BECOMING READY
SONY AIT-5 drive SDX-1100V series Ver.1.0
8-1
8.APPENDIX A: ASC & ASCQ Alphabetic Order
04
04
25
15
3F
31
3A
3A
43
3F
2A
00
28
10
00
00
01
11
00
00
04
00
01
01
00
00
LOGICAL UNIT NOT READY, AUXILIARY MEMORY NOT ACCESSIBLE
LOGICAL UNIT NOT READY, CAUSE NOT REPORTABLE
LOGICAL UNIT NOT SUPPORTED
MECHANICAL POSITIONING ERROR
MEDIUM AUXILIARY MEMORY ACCESIBLE
MEDIUM FORMAT CORRUPTED
MEDIUM NOT PRESENT
MEDIUM NOT PRESENT_MEDIUM AUXILIARY MEMORY ACCESIBLE
MESSAGE ERROR
MICROCODE HAD BEEN CHANGED
MODE PARAMETERS CHANGED
NO ADDITIONAL SENSE INFORMATION
NOT READY TO READY TRANSITION
(MEDIUM MAY HAVE CHANGED)
OVERLAPPED COMMANDS ATTEMPTED
PARAMETER LIST LENGTH ERROR
PARAMETER NOT SUPPORTED
PARAMETER VALUE INVALID
4E
1A
26
26
2A
47
03
27
15
29
2A
2A
3B
39
45
00
33
11
00
00
01
02
00
00
00
04
02
00
05
03
08
00
00
03
00
00
00
00
00
PARAMETERS CHANGED
PARITY ERROR
PERIPHERAL DEVICE WRITE FAULT
PERSISTENT WRITE PROTECT
POSITIONING ERROR DETECTED BY READ OF MEDIUM
POWER ON, RESET, OR BUS DEVICE RESET OCCURRED
REGISTRATION PREEMPTED
RESERVATION PREEMPTED
REPOSITION ERROR
SAVING PARAMETER NOT SUPPORTED
SELECT OR RESELECT FAILURE
SETMARK DETECTED
TAPE LENGTH ERROR
UNRECOVERED READ ERROR
50
0C
27
WRITE APPEND ERROR
WRITE ERROR
WRITE PROTECTED
8-2
SONY AIT-5 drive SDX-1100V series Ver.1.0
9.APPENDIX B: ASC & ASCQ Numeric Order
9. APPENDIX B: ASC & ASCQ Numeric Order
ASC and ASCQ Assignments
Numeric Order
BYTE
12
13
DESCRIPTION
00
00
00
00
00
00
03
04
04
04
0C
0C
11
11
11
14
15
15
1A
20
24
25
26
26
26
27
27
28
00
01
02
03
04
05
00
00
01
10
00
0B
00
08
12
03
01
02
00
00
00
00
00
01
02
00
04
00
NO ADDITIONAL SENSE INFORMATION
FILEMARK DETECTED
END-OF-PARTITION/MEDIUM DETECTED
SETMARK DETECTED
BEGINNING-OF-PARTITION/MEDIUM DETECTED
END-OF-DATA DETECTED
PERIPHERAL DEVICE WRITE FAULT
LOGICAL UNIT NOT READY, CAUSE NOT REPORTABLE
LOGICAL UNIT IS IN PROCESS OF BECOMING READY
LOGICAL UNIT NOT READY, AUXILIARY MEMORY NOT ACCESSIBLE
WRITE ERROR
AUXILIARY MEMORY WRITE ERROR
UNRECOVERED READ ERROR
INCOMPLETE BLOCK READ
AUXILIARY MEMORY READ ERROR
END-OF-DATA NOT FOUND
MECHANICAL POSITIONING ERROR
POSITIONING ERROR DETECTED BY READ OF MEDIUM
PARAMETER LIST LENGTH ERROR
INVALID COMMAND OPERATION CODE
INVALID FIELD IN CDB
LOGICAL UNIT NOT SUPPORTED
INVALID FIELD IN PARAMETER LIST
PARAMETER NOT SUPPORTED
PARAMETER VALUE INVALID
WRITE PROTECTED
PERSISTENT WRITE PROTECT
NOT READY TO READY TRANSITION
(MEDIUM MAY HAVE CHANGED)
29
29
2A
2A
00
80
00
01
POWER ON, RESET, OR BUS DEVICE RESET OCCURRED
DRIVE FAILED POWER-ON TEST OR DIAGNOSTIC - (SONY Unique)
PARAMETERS CHANGED
MODE PARAMETERS CHANGED
SONY AIT-5 drive SDX-1100V series Ver.1.0
9-1
9.APPENDIX B: ASC & ASCQ Numeric Order
2A
2A
2C
30
30
30
30
30
31
33
39
3A
3A
3B
3D
3F
3F
43
44
45
47
48
49
4A
4B
4E
50
52
55
55
5D
70
83
03
05
00
00
02
03
05
07
00
00
00
00
04
08
00
01
11
00
00
00
00
00
00
00
00
00
00
00
04
06
00
NN
87
RESERVATION PREEMPTED
REGISTRATION PREEMPTED
COMMAND SEQUENCE ERROR
INCOMPATIBLE MEDIUM INSTALLED
CANNOT READ MEDIUM - INCOMPATIBLE FORMAT
CLEANING CARTRIDGE INSTALLED
CANNOT WRITE MEDIUM - INCOMPATIBLE FORMAT
CLEANING FAILURE
MEDIUM FORMAT CORRUPTED
TAPE LENGTH ERROR
SAVING PARAMETER NOT SUPPORTED
MEDIUM NOT PRESENT
MEDIUM NOT PRESENT_MEDIUM AUXILIARY MEMORY ACCESIBLE
REPOSITION ERROR
INVALID BITS IN IDENTIFY MESSAGE
MICROCODE HAD BEEN CHANGED
MEDIUM AUXILIARY MEMORY ACCESIBLE
MESSAGE ERROR
INTERNAL TARGET FAILURE
SELECT OR RESELECT FAILURE
PARITY ERROR
INITIATOR DETECTED ERROR MESSAGE RECEIVED
INVALID MESSAGE ERROR
COMMAND PHASE ERROR
DATA PHASE ERROR
OVERLAPPED COMMANDS ATTEMPTED
WRITE APPEND ERROR
CARTRIDGE FAULT
INSUFFICIENT REGISTRATION RESOURCES
AUXILIARY MEMORY OUT OF SPACE
FAILURE PREDICTION THRESHOLD EXCEEDED
DECOMPRESSION EXCEPTION SHORT ALGORITHM ID OF NN
BROKEN MIC IS LOADED IN AIT MODE
9-2
SONY AIT-5 drive SDX-1100V series Ver.1.0
10.APPENDIX C: ASC & ASCQ for AIT (Sony Unique)
10. APPENDIX C: ASC & ASCQ for AIT (Sony Unique)
ASC and ASCQ Assignments for AIT drive (Sony Unique)
Numeric Order
BYTE
12
13
DESCRIPTION
83h
83h
83h
83h
83h
83h
83h
83h
83h
83h
83h
83h
83h
83h
00h
01h
02h
03h
04h
05h
06h
07h
08h
09h
0Ah
0Bh
0Ch
0Dh
Reserved
MIC Header Error
No MIC Detected
MIC Checksum Error
MIC out of memory
No Data Body Detected in the MIC
MIC Read Error
No Cassette Detected
MIC is not formatted yet
MIC Write Fault
Requested address is write protected on the MIC
MIC is broken
MIC format type is undefined
MIC capacity field indicates illegal value. Acceptable value is 2Kbytes, 4Kbytes, 8Kbytes.
The drive will handle the MIC is 2Kbytes, when capacity field indicates illegal value.
83h
0Eh
:
Reserved
83h
83h
83h
83h
83h
83h
7Fh
80h
81h
82h
83h
84h
Partition count exceeded
Reserved
Reserved
MIC is exist but is not used
Reserved
83h
83h
83h
83h
83h
83h
86h
87h
88h
89h
8Ah
8Bh
Broken MIC is loaded in AIT mode
Reserved
User Volume Note Size mismatch
User Partition Note Size mismatch
:
Reserved
83h
83h
83h
83h
83h
96h
97h
98h
99h
9Ah
Current Partition is not the last partition.
Cannot append the new partition, because the remaining capacity too short.
Cannot delete partition, because the indicated partition number is not appropriate.
Encounter the EOT while creating the new partition, append partition command is not
completed. (If a drive misleads the tape capacity by some reason, format command will be
failed on the way. In case of the situation, the Last Partition Number must hold the Last
Valid Partition Number, because it is reasonable and time saving. )
Cannot format tape because real tape capacity is exceeded.
83h
83h
83h
9Bh
9Ch
9Dh
Cannot append new partitions because the MIC is out of memory.
:
Reserved
83h
FFh
SONY AIT-5 drive SDX-1100V series Ver.1.0
10-1
10.APPENDIX C: ASC & ASCQ for AIT (Sony Unique)
This page intentionally left blank.
10-2
SONY AIT-5 drive SDX-1100V series Ver.1.0
11.APPENDIX D: SCSI Commands (OP Code Order)
11. APPENDIX D: SCSI Commands (Op Code Order)
The following is a list of the supported SCSI Commands and page index:
PARA SCSI COMMAND
OP CODE
PAGE
6.28
6.24
6.22
6.14
6.12
6.29
6.32
6.27
6.2
TEST UNIT READY
REWIND
00h
01h
03h
05h
08h
0Ah
10h
11h
12h
15h
16h
17h
19h
1Ah
1Bh
1Ch
1Dh
1Eh
2Bh
34h
3Bh
3Ch
44h
4Ch
4Dh
55h
56h
57h
5Ah
5Eh
5Fh
8Ch
8Dh
A0h
6-102
6-95
6-84
6-69
6-63
6-103
6-108
6-99
6-3
REQUEST SENSE
READ BLOCK LIMITS
READ
WRITE
WRITE FILEMARKS
SPACE
INQUIRY
6.7
MODE SELECT (6)
RESERVE (6)
6-40
6-93
6-77
6-2
6.23
6.18
6.1
RELEASE (6)
ERASE
6.8
MODE SENSE (6)
LOAD/UNLOAD
6-54
6-8
6.3
6.17
6.25
6.11
6.4
RECEIVE DIAGNOSTIC RESULTS
SEND DIAGNOSTIC
PREVENT ALLOW MEDIUM REMOVAL
LOCATE
6-75
6-96
6-62
6-10
6-73
6-106
6-70
6-79
6-11
6-13
6-40
6-93
6-77
6-54
6-57
6-60
6-65
6-104
6-83
6.16
6.31
6.15
6.19
6.5
READ POSITION
WRITE BUFFER
READ BUFFER
REPORT DENSITY SUPPORT
LOG SELECT
6.6
LOG SENSE
6.7
MODE SELECT (10)
RESERVE (10)
6.23
6.18
6.8
RELEASE (10)
MODE SENSE (10)
PERSISTENT RESERVE IN
PERSISTENT RESERVE OUT
READ ATTRIBUTE
WRITE ATTRIBUTE
REPORT LUNS
6.9
6.10
6.13
6.30
6.21
SONY AIT-5 drive SDX-1100V series Ver.1.0
11-1
11.APPENDIX D: SCSI Commands (OP Code Order)
6.26
6.20
SET DEVICE ID
A4h
A3h
6-98
6-82
REPORT DEVICE ID
11-2
SONY AIT-5 drive SDX-1100V series Ver.1.0
12.APPENDIX E: Medium Auxiliary Memory Attribute
12. APPENDIX E: Medium Auxiliary Memory
Attribute
12.1. INTRODUCTION
This section will outline the design specifications for the implementation of selected Medium Auxiliary Memory
(MAM) attributes.
12.2. OVERVIEW
An increasing number of media types are incorporating small memory components into their products. The
creation and acceptance of the “Proposed Addition of Read and Write Attribute Commands to SPC-2” (AM
document) provides a uniform method to access the data stored on the Medium Auxiliary Memory. This section will
provide details on using MAM with this product.
12.3. MEDIUM AUXILIALY MEMORY ATTRIBUTE TYPES AND STATES
A MAM attribute is represented in a format described in the next section and is composed of:
1. An attribute identifier,
2. An attribute format code,
3. A bit indicating whether the identified attribute is read only,
4. An attribute length specifying the number of bytes in the identified attribute value, and
5. The value of the identified attribute.
There are three types of attribute (Table 12-1).
Table 12-1: Types of MAM Attributes
Attribute Type
Attribute Source
Example
Readable with
READ
Writable with
WRITE
ATTRIBUTE
ATTRIBUTE
Medium
Permanently stored in the Media
medium auxiliary memory Serial
Yes
No
during manufacture.
Number
Device
Host
Maintained by the drive
Load
Yes
Yes
No
Count
Backup
date
Maintained by the
application client.
Yes
Depending on that attribute type, attributes have the states shown in Table 12-1
SONY AIT-5 drive SDX-1100V series Ver.1.0
12-1
12.APPENDIX E: Medium Auxiliary Memory Attribute
Table 12-2: MAM Attribute states
Attribute Type
Medium or Device
Attribute State
Read Only
Description
An application server may read the contents of the
attribute with the READ ATTRIBUTE command, but an
attempt to clear or change the attribute using the WRITE
ATTRIBUTE command will result in the command being
terminated with a CHECK CONDITION status. When the
READ ONLY bit is one, the attribute is in the read only
state.
Unsupported
Nonexistent
Read/Write
The drive does not support the attribute and will not return
it in response to a READ ATTRIBUTE command.
A host attribute does not exist in the medium auxiliary
memory until a WRITE ATTRIBUTE command creates it.
The attribute has been created using the WRITE
ATTRIBUTE command. After the attribute has been
created, the contents may be altered using subsequent
WRITE ATTRIBUTE commands. A read/write attribute
may be returned to be nonexistent state using a WRITE
ATTRIBUTE command with the attribute length set to
zero. When the READ ONLY bit is zero, the attribute is in
the read/write state.
Host
Read and Write Attribute Commands:
The READ ATTRIBUTE (8Ch) and WRITE ATTRIBUTE (8Dh) commands will be implemented as follows.
12.4. MEDIUM AUXILIARY MEMORY ATTRIBUTE DATA
12.4.1. Attribute Format
Each medium auxiliary memory attribute will be communicated between the application client and drive in the
format shown in Table 12-3. This format will be used in the parameter data for the WRITE ATTRIBUTE command
and the READ ATTRIBUTE command. The attribute format in this standard implies nothing about the physical
representation of an attribute in the medium auxiliary memory.
Table 12-3: MAM ATTRIBUTE Format
Bit
Byte
7
6
5
4
3
2
1
0
0
1
2
(MSB)
ATTRIBUTE IDENTIFIER
Reserved
(LSB)
READ
ONLY
(MSB)
FORMAT
3
4
ATTRIBUTE LENGTH (n-4)
(LSB)
(LSB)
5
(MSB)
ATTRIBUTE VALUE
N
The ATTRIBUTE IDENTIFIER field contains a code value identifying the attribute.
12-2
SONY AIT-5 drive SDX-1100V series Ver.1.0
12.APPENDIX E: Medium Auxiliary Memory Attribute
The READ ONLY bit indicates whether the attribute is in the read only state. If the READ ONLY bit is one, the
attribute is in the read only state. If the READ ONLY bit is zero, the attribute is in the read/write state.
The FORMAT field (Table 12-4) specifies the format of the data in the ATTRIBUTE VALUE field. ATTRIBUTES
defined by this standard include a requirement for the contents of the FORMAT field.
Table 12-4: MAM attribute formats
Format
00b
01b
Name
BINARY
ACSII
Description
The ATTRIBUTE VALUE will contain binary data.
The ATTRIBUTE VALUE field will contain only graphic codes (i.e.
byte code values 20h through &Eh), will be left-aligned placing any
unused bytes at the highest offset in the field, contain 20h (i.e. ASCII
space) in any unused bytes.
10b
11b
TEXT
The attribute contains textual data. The character set is as described
in the TEXT LOCALIZATION IDENTIFER attribute.
Reserved
The ATTRIBUTE LENGTH field specifies the length in bytes of the ATTRIBUTE VALUE field. Attributes defined by
this standard include a requirement for the contents of the ATTRIBUTE LENGTH field.
The ATTRIBUTE VALUE Field contains that current (READ ATTRIBUTE) or desired (WRITE ATTRBUTE) value of
the attribute.
12.4.2. Attribute Identifier Values
The values in the ATTRIBUTE IDENTIFIER field are assigned according to the attribute type and whether the
attribute is standard or vendor unique (Table 12-5).
Table 12-5: MAM attribute identifier range assignments
Attribute Identifiers
0000h – 03FFh
0400h – 07FFh
0800h – 0BFFh
0C00h – 0FFFh
1000h – 13FFh
1400h – 17FFh
1800h – FFFFh
Attribute Type
Device
Medium
Host
Device
Medium
Host
Standardization
Yes
Yes
Yes
Vendor Unique
Vendor Unique
Vendor Unique
Reserved
Drive will accept and process a WRITE ATTRIBUTES command containing standardized host type attribute
identifier values (i.e. 0800h-0BFFh) or vendor unique host type attribute identifier values (i.e., 1400h-17FFh).
Standardized host type attribute identifier values may be checked for conformance to the requirements described
later.
12.4.3. Standard Device Type Attributes
Device types attributes (Table 12-6) will be maintained and updated by the drive when the medium and associated
medium auxiliary memory are present. All supported medium type attributes will have a status of read only.
SONY AIT-5 drive SDX-1100V series Ver.1.0
12-3
12.APPENDIX E: Medium Auxiliary Memory Attribute
Table 12-6: Device Common Attributes
Attribute Name
ID
#Bytes Format
0000h
0001h
0002h
0003h
0004h
0005h
0006h
0007h
REMAINING CAPACITY IN PARTITION
MAXIMUM CAPACITY IN PARTITION
TAPEALERT FLAGS
LOAD COUNT
MAM SPACE REMAINING
ASSIGNING ORGANISATION
FORMATTED DENSITY CODE
INITIALIZATION COUNT
8
8
8
8
8
8
1
2
Binary
Binary
Binary
Binary
Binary
ASCII
Binary
Binary
0008h-0209h
020Ah
020Bh
020Ch
020Dh
020Eh – 021Fh
0220h
Reserved
DEVICE MAKE/SERIAL NUMBER AT LAST LOAD
DEVICE MAKE/SERIAL NUMBER AT LOAD - 1
DEVICE MAKE/SERIAL NUMBER AT LOAD - 2
DEVICE MAKE/SERIAL NUMBER AT LOAD - 3
Reserved
TOTAL MBYTES WRITTEN IN MEDIUM LIFE
TOTAL MBYTES READ IN MEDIUM LIFE
TOTAL MBYTES WRITTEN IN CURRENT IN CURRENT /LAST
LOAD
40
40
40
40
ASCII
ASCII
ASCII
ASCII
8
8
8
Binary
Binary
Binary
0221h
0222h
0223h
0224h – 033Fh
0340h
0341h
0342h – 03FFh
TOTAL MBYTES READ IN CURRENT IN CURRENT /LAST LOAD
Reserved
MEDIUM USAGE HISTORY
PARTITION USAGE HISTORY
Reserved
8
Binary
90
60
Binary
Binary
0000h REMAINING CAPCACITY IN PARTITION and 0001h MAXIMUM CAPACITY IN PARTITION: These
attribute values are Native capacities assuming no data compression for the specified medium partition. These
values are expressed in increments of 1,048,576 bytes (i.e. a value of one means 1,048,576 bytes, two means
2,097,152 bytes, etc).
0002h TAPEALERT FLAGS: This attribute value provides a means of reporting the state of the Tape Alert flags
for the previous load of the medium. Each Tape Alert flag occupies one bit (Flag 1 = MSB Byte 1; Flag 64 = LSB,
Byte 8). The bits specify all the Tape Alert flags that were set during the previous load. (I.e. the bits are “sticky” for
the load).
003h LOAD COUNT: This attribute value indicates how many times this medium has been fully loaded. This
attribute should not be reset by any action of the drive.
0004h MAM SPACE REMAINING: This attribute value indicates the space currently free in the medium auxiliary
memory. The total medium auxiliary memory capacity is reported in the MAM CAPACITY attribute.
0005h ASSIGNING ORGANISATION: This attribute value identifies the organization responsible for the
specifications defining the values in the formatted DENSITY CODE attribute. The ASSIGNING ORGANIZATION
field will contain a value listed in the vendor identification list. The use of specific vendor identification, other than
the one associated with the device is allowed.
Note: It is intended that this field provide a unique vendor identification of the FORMATTED DENSITY CODE
attribute. In the absence of a formal registration procedure, T10 maintains a list of known vendor identification
codes in use. Vendors are requested to voluntarily submit their identification codes to T10 to prevent duplication of
codes.
12-4
SONY AIT-5 drive SDX-1100V series Ver.1.0
12.APPENDIX E: Medium Auxiliary Memory Attribute
0006h FORMATTED DENSITY CODE: This attribute value provides information about the tape format for the
user.
0007h INITIALIZATION COUNT: This attribute value indicates the number of times that a drive has logically
formatted the medium. This figure is cumulative over the life of the medium and will never be reset.
020Ah, 020Bh, 020Ch, 020Dh DEVICE MAKE/SERIAL NUMBER AT LAST LOAD, DEVICE MAKE/SERIAL
NUMBERAT LOAD – 1, DEVICE MAKE/SERIAL NUMBER AT LOAD – 2 AND DEVICE MAKE/SERIAL
NUMBER AT LOAD –3: These attribute values give a rolling history of the last four drives in which the medium
has been loaded. The format of the attributes is shown in Table 12-7
Table 12-7: DEVICE VENDOR/SERIAL NUMBER attribute format
Bit
Byte
7
6
5
4
3
2
1
0
0
(MSB)
VENDOR IDENTIFICATION
PRODUCT SERIAL NUMBER
7
(LSB)
(LSB)
8
(MSB)
39
VENDOR IDENTIFICATION: This field will be the same value returned in the standard INQUIRY data.
PRODUCT SERIAL NUMBER: This field contains a vendor unique serial number. If the product serial number is
not available, the PRODUCT SERIAL NUMBER field will contain ASCII spaces (20h).
0220h TOTAL MBYTES WRITTEN IN MEDIUM LIFE and 0221h TOTAL MBYTES READ IN MEDIUM LIFE:
These attribute values indicate the total number of data bytes that are transferred to or from the medium surface,
after any data compression has been applied, over the entire medium life. These values are cumulative and will
never be reset. These values are expressed in increments of 1,048,576 bytes (i.e. a value of one means
1,048,576 bytes, two means 2, 097,152 bytes, etc).
0222h TOTAL MBYTES WRITTEN IN CURRENT/LAST LOAD AND 0223h TOTAL MBYTES READ IN
CURRENT/LAST LOAD: These attribute values indicate the total number of data bytes that are transferred to or
from the medium surface, after any data compression has been applied, during the current load if the medium is
currently loaded, or the last load if the medium is currently unloaded. The drive should reset these attributes to
zero when the medium is loaded. These values are expressed in increments of 1,048,576 bytes
(I.e. a value of one means 1,048,576 bytes, two means 2,097,152 bytes, etc).
0340h MEDIUM USAGE HISTORY: This attribute value provides statistical counters (Table 12-8) for the entire
medium. The value in each field is the sum for all partitions. If a field is not used, it should be set to zero.
SONY AIT-5 drive SDX-1100V series Ver.1.0
12-5
12.APPENDIX E: Medium Auxiliary Memory Attribute
Table 12-8: Medium USAGE HISTORY attribute format
Bit
Byte
7
6
5
4
3
2
1
0
0
(MSB)
CURRENT AMOUNT OF DATA WRITTEN
The CURRENT WRITE RETRIES COUNT
CURRENT AMOUNT OF DATA READ
CURRENT READ RETRIES COUNT
PREVIOUS AMOUNT OF DATA WRITTEN
PREVIOUS WRITE RETRIES COUNT
PREVIOUS AMOUNT OF DATA READ
PREVIOUS READ RETRIES COUNT
TOTAL AMOUNT OF DATA WRITTEN
TOTAL WRITE RETRIES COUNT
TOTAL AMOUNT OF DATA READ
TOTAL READ RETRIES COUNT
5
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
6
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
11
12
17
18
23
24
29
30
35
36
41
42
47
48
53
54
59
60
65
66
71
72
77
LOAD COUNT
78
83
TOTAL CHANGE PARTITION COUNT
TOTAL PARTITION INITIALIZE COUNT
84
89
The CURRENT AMOUNT OF DATA WRITTEN field indicates the amount of data physically written to the medium
during this load of the medium. This value is expressed in increments of 1048576 bytes (e.g., a Value of one
means 1048576 bytes, two means 2097152 bytes, etc).
The CURRENT WRITE RETRY COUNT field indicates the total number of write retry was performed during this
load of the medium. The exact definition of the error counters is not part of this standard. This counter should not
be used to compare products because the products may define errors differently.
12-6
SONY AIT-5 drive SDX-1100V series Ver.1.0
12.APPENDIX E: Medium Auxiliary Memory Attribute
The CURRENT AMOUNT OF DATA READ field indicates the amount of data physically read from the medium
during this load of the medium. This value is expressed in increments of 1048576 bytes (e.g., a value of one
means 1048576 bytes, two means 2097152 bytes, etc.).
The CURRENT READ RETRIES COUNT field indicates the number of times a read retry was performed during
this load of the medium. The exact definition of the error counters is not part of this standard. This counter should
not be used to compare products because the products may define errors differently.
The PREVIOUS AMOUNT OF DATA WRITTEN field indicates the amount of data physically written to the medium
during the previous medium load. This value is expressed in increments of 1048576 bytes (e.g., a value of one
means 1048576 bytes, two means 2097152 bytes, etc.).
The PREVIOUS WRITE RETRY COUNT field indicates the total number of write retries during the previous
medium load. The exact definition of the error counters is not part of this standard. This counter should not be
used to compare products because the products may define errors differently.
The PREVIOUS AMOUNT OF DATA READ field indicates the amount of data physically read from the medium
during the previous medium load. This value is expressed in increments of 1048576 bytes (e.g., a value of one
means 1048576 bytes, two means 2097152 bytes, etc.).
The PREVIOUS READ RETRIES COUNT field indicates the number of times a read retry was performed during
the previous medium load. The exact definition of the error counters is not part of this standard.
This counter should not be used to compare products because the products may define errors differently.
The TOTAL AMOUNT OF DATA WRITTEN field indicates the total amount of data physically written to the medium
since the last medium format. This value accumulates over the life of the medium but it is reset to zero after a
medium format. This value is expressed in increments of 1048576 bytes (e.g., a value of one means 1048576
bytes, two means 2097152 bytes, etc.).
The TOTAL WRITE RETRIES COUNT field indicates the total number of write retries since the last medium
format. This count accumulates over the life of the medium but it is reset to zero after a medium format. The exact
definition of the error counters is not part of this standard. This counter should not be used to compare products
because the products may define errors differently.
The TOTAL AMOUNT OF DATA READ field indicates the total amount of data physically read from the medium
since the last medium format. This value accumulates over the life of the medium but it is reset to zero after a
medium format. This value is expressed in increments of 1048576 bytes (e.g., a value of one means 1048576
bytes, two means 2097152 bytes, etc.).
The TOTAL READ RETRIES COUNT field indicates the number of times a read retry was performed since the last
medium format. The exact definition of the error counters is not part of this standard. This counter should not be
used to compare products because the products may define errors differently. This count accumulates over the life
of the medium but it is reset to zero after a medium format.
The LOAD COUNT field indicates the number of loads since the last medium format. This count accumulates over
the life of the medium but it is reset to zero after a medium format.
The TOTAL CHANGE PARTITION COUNT field indicates the number of times that switches between partitions
have been performed on the medium. This count accumulates over the life of the medium but it is reset to zero
after a medium format. This field is not supported and always will be set to ZERO.
The TOTAL PARTITION INITIALIZE COUNT field indicates the number of times that any of the partitions on the
medium have been erased. This count accumulates over the life of the medium but it is reset to zero after a
medium format. This field is not supported and always will be set to ZERO.
0341h PARTITION USAGE HISTORY: This attribute value provides statistical counters (Table 12-9) for the
partition specified by the PARTITION NUMBER field in the CDB. If a field is not used, it will be set to ZERO.
SONY AIT-5 drive SDX-1100V series Ver.1.0
12-7
12.APPENDIX E: Medium Auxiliary Memory Attribute
Table 12-9: PARTITION USAGE HISTORY attribute format
Bit
Byte
7
6
5
4
3
2
1
0
0
(MSB)
CURRENT AMOUNT OF DATA WRITTEN
CURRENT WRITE RETIES COUNT
CURRENT AMOUNT OF DATA READ
CURRENT READ RETRIES COUNT
PREVIOUS AMOUNT OF DATA WRITTEN
PREVIOUS WRITE RETRIES COUNT
PREVIOUS AMOUNT OF DATA READ
PREVIOUS READ RETRIES COUNT
TOTAL AMOUNT OF DATA WRITTEN
TOTAL WRITE RETRIES COUNT
TOTAL AMOUNT OF DATA READ
TOTAL READ RETRIES COUNT
LOAD COUNT
3
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
4
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
(MSB)
7
8
11
12
15
16
19
20
23
24
27
28
31
32
35
36
39
40
43
44
47
48
51
52
55
56
59
CHANGE PARTITION COUNT
PARTITION INITIALIZE COUNT
The CHANGE PARTITION COUNT field indicates the number of times that switches to the partition specified by
the PARTITION NUMBER field in the CDB have been performed on the medium. This count accumulates over the
life of the medium but it is reset to zero after a medium format.
The PARTITION INITIALIZE COUNT field indicates the number of times that the partition specified by the
PARTITION NUMBER field in the CDB has been initialized. This count accumulates over the life of the medium but
it is reset to zero after a medium format.
12-8
SONY AIT-5 drive SDX-1100V series Ver.1.0
12.APPENDIX E: Medium Auxiliary Memory Attribute
12.4.4. Standard Medium Type Attributes
Medium type attributes (Table 12-10) are hard coded into the medium auxiliary memory at manufacture time. All
supported medium type attribute will have a status of read only.
Table 12-10: Medium Common Attributes
ID
Attribute Name
#Bytes
Format
ASCII
ASCII
Binary
Binary
ASCII
Binary
ASCII
Binary
Binary
Binary
0400h
0401h
0402h
0403h
0404h
0405h
0406h
0407h
0408h
0409h
040Ah – 07FFh
MEDIUM MANUFACTURER
MEDIUM SERIAL NUMBER
MEDIUM LENGTH
8
32
4
4
8
1
8
8
1
MEDIUM WIDTH
ASSIGNING ORGANIZATION
MEDIUM DENSITY CODE
MEDIUM MANUFACTURE DATE
MAM CAPACITY
MEDIUM TYPE
MEDIUM TYPE INFORMATION
Reserved
2
0400h MEDIUM MANUFACTURER: This attribute value contains eight bytes of ACSII data identifying the vendor
of the media.
Note: It is intended that the MEDIUM MANUFACTURER attribute provide a unique vendor identification of the
manufacturer of the media. In the absence of a formal registration procedure, T10 maintains a list of known vendor
identification codes in use. Vendors are requested to voluntarily submit their identification codes to T10 to prevent
duplication of codes.
0402h MEDIUM LENGTH: This attribute value specifies the length of the medium in meters. A value of 00h
specifies that the length of the medium is undefined.
0403h MEDIUM WIDTH: This attribute value specifies the width of the medium supported by this density. This field
has units of tenths of millimeters. The value in this field will be rounded up if the fractional value of the actual value
is greater than or equal to 0.5. The MEDIUM WIDTH field may vary for a given density depending on the mounted
medium. A value of 00h specifies the width of the medium is undefined.
0404h ASSIGNING ORGANIZATION: This attribute value identifies the organization responsible for the
specifications defining the values in the MEDIUM DENSITY CODE attribute. The ASSIGNING ORGANIZATION
field willl contain a value listed in the vendor identification list.
The MEDIUM SERIAL NUMBER identifies the manufacturer’s serial number for the medium.
The MEDIUM DENSITY CODE is the same numeric DENSITY CODE as reported in the SCSI Mode Block
Descriptor.
SONY AIT-5 drive SDX-1100V series Ver.1.0
12-9
12.APPENDIX E: Medium Auxiliary Memory Attribute
Note: The Formatted Density Code ID 0006h, which is in the Device Common Attribute section and the Medium
Density Code ID 0405h, which is located in the Medium Common Attributes section, will need to be used in some
cases in conjunction in determining the media format.
0406h MEDIUM MANUFACTURE DATE: This attribute value identifies the date of manufacture of the medium.
The format is YYYYMMDD.
0407h MAM CAPACITY: This attribute value is the total capacity of the MAM, in bytes, at manufacture time. It
does not indicate the free space of an unused medium auxiliary memory because some of the medium auxiliary
memory space may be reserved for device-specific use making it inaccessible to the application client.
0408h MEDIUM TYPE and 0409h MEDIUM TYPE INFORMATION: These attribute values give information about
non-data media and other types of media. The MEDIUM TYPE INFORMATION attribute is interpreted according to
the type of medium indicated by the MEDIUM TYPE (Table 12-11).
Note: Depending of the hardware vendor, this attribute may not be hard coded into the MAM at manufacture time.
Table 12-11: MEDIUM TYPE and MEDIUM TYPE INFORMATION attributes
MEDIUM TYPE
00h
01h
02h-7Fh
80h
81h-FFh
Description
MEDIUM TYPE INFORMATION
Reserved
Maximum number of cleaning cycles permitted
Reserved
Reserved
Reserved
Data medium
Cleaning medium
Reserved
Write-once medium
Reserved
12.4.5. Standard Host Type Attributes
Application clients may use the WRITE ATTRIBUTE and READ ATTRIBUTE commands to maintain the attributes
shown in Table 12-12. All existent host type attributes will have a status of read/write.
Table 12-12: Host Common Attributes:
ID
Attribute Name
APPLICATION VENDOR
APPLICATION NAME
APPLICATION VERSION
USER MEDIUM TEXT LABEL
DATE & TIME LAST WRITTEN
TEXT LOCALISATION IDENTIFIER
BARCODE
OWNING HOST TEXTUAL NAME
MEDIA POOL
PARTITION USER TEXT LABEL
LOAD/UNLOAD AT PARTITION
Reserved
#Bytes
8
32
8
160
12
1
32
80
160
16
1
Format
ASCII
ASCII
ASCII
Text
ASCII
Binary
ASCII
TEXT
TEXT
ASCII
Binary
0800h
0801h
0802h
0803h
0804h
0805h
0806h
0807h
0808h
0809h
080Ah
080Bh – BFFh
0800h APPLICATION VENDOR: This attribute value contains eight bytes of ASCII data identifying the
manufacturer of the application client (e.g. class driver or backup program) that most recently sent a WRITE
ATTRIBUTE command to the drive while this medium auxiliary memory was accessible.
12-10
SONY AIT-5 drive SDX-1100V series Ver.1.0
12.APPENDIX E: Medium Auxiliary Memory Attribute
Note: It is intended that this field provide a unique vendor identification of the vendor who wrote the Host Common
attributes. In the absence of a formal registration procedure, T10 maintains a list of vendor identification codes in
use. Vendors are requested to voluntarily submit their identification codes to T10 to prevent duplication of codes.
0801h APPLICATION NAME: This attribute value contains the name of the application client.
0802h APPLICATION VERSION: This attribute value contains the version of the application client.
0803h USER MEDIUM TEXT LABEL: This attribute value is the user level identifier for the medium.
0804h DATE & TIME LAST WRITTEN: This attribute value contains when the application client last wrote to the
MAM. The format for the string is YYYYMMDDHHMM using a 24-hour time format
Note: The application must update the “Date and Time Last Written” field any time the host attributes contents are
modified.
0805h TEXT LOCALISATION IDENTIFIER: This attribute value defines the character set used for attributes with a
text format (Table 12-13).
Table 12-13: TEXT LOCALISATION IDENTIFIER
Value
00h
01h
02h
03h
04h
05h
06h
07h
08h
09h
0Ah
0Bh – 7Fh
80h
Meaning
No code specified (ASCII)
ISO/IEC 8859-1 (Europe, Latin America)
ISO/IEC 8859-2 (Eastern Europe)
ISO/IEC 8859-3 (SE Europe/miscellaneous)
ISO/IEC 8859-4 (Scandinavia/Baltic)
ISO/IEC 8859-5 (Cyrillic)
ISO/IEC 8859-6 (Arabic)
ISO/IEC 8859-7 (Greek)
ISO/IEC 8859-8 (Hebrew)
ISO/IEC 8859-9 (Latin 5)
ISO/IEC 8859-10 (Latin 6)
Reserved
ISO/IEC 10646 (UCS-2BE)
ISO/IEC 10646–1 (UTF-8)
Reserved
81h
82h – FFH
0806h BARCODE: This attribute value is the contents of a barcode associated with the medium in the MAM.
0807h OWNING HOST TEXTUAL NAME: This attribute value indicates the host from which that USER MEDIUM
TEXT LABEL originates.
0808h MEDIA POOL: This attribute value indicates the media pool to which this medium belongs.
0809h PARTITION USER TEXT LABEL: This attribute value is a user level identifier for the partition specified by
the PARTITION NUMBER field in the CDB.
080Ah LOAD/UNLOAD AT PARTITION: This attribute value indicates whether the media can be loaded or
unloaded at the Partition specified by the PARTITION NUMBER field in the CDB. If loads and unloads are enabled
for the specified partition, the value of this parameter will be one. If loads/unloads are not enabled for the specified
partition, the value of this parameter will be zero. All other attribute values are reserved. If LOAD/UNLOAD AT
PARTITION is disabled, then loads and unloads are performed at the beginning of the media instead of at the
specified partition. If this attribute is in the nonexistent state then the default action will be to load/unload at the
beginning of media. This field is not supported.
SONY AIT-5 drive SDX-1100V series Ver.1.0
12-11
12.APPENDIX E: Medium Auxiliary Memory Attribute
This page intentionally left blank.
12-12
SONY AIT-5 drive SDX-1100V series Ver.1.0
13.Appendix F: AIT based WORM system
13. APPENDIX F: AIT based WORM system
13.1. Important Notice
(1) AIT WORM cartridges come equipped with Remote MIC.
(2) A new AIT WORM cartridge can be initialized to use either AIT native mode.
(3) WORM features are supported in AIT tape drives with firmware revision level 0103 or later.
13.2. Write-Protected (WP) Bit in Mode Sense Data
If the AIT-5 WORM cartridge that the write-protected tab set to “Rec” is inserted, the WP bit is not used in WORM
mode. The WP bit will be set to ZERO.
If the AIT-5 WORM cartridge the write-protected tab set to “Safe” is inserted, the SDX-1100V can not write to the
tape. The WP bit will be set to ONE.
When the AIT-3 WORM or AIT-4 WORM cartridge is inserted, the SDX-1100V can not write to these tapes. The
WP bit will be set to ONE.
13.3. How to detect a WORM cartridge.
The WORM bit of AIT Device Configuration Page (31h) is used to indicate the presence of a WORM media.
Page 31h: AIT Device Configuration Page
Bit
7
6
5
4
3
2
1
0
Byte
0
Reserved
Page Code (31h)
1
2
3
4
Page Length (8)
ULP PRT
SPAN (0Ah)
AIT
DEV
ABS
PNJ
SYSLOG
MIC
WORM
Reserved
WORM
Capable
5
Reserved
Reserved
6
7
8
9
Reserved
Reserved
Reserved
13.4. How to initialize a WORM cartridge.
A new WORM cartridge can be initialized in two ways:
1. Mode Select Operation
2. Write Operation
Note: when using Write Operation (option 2), a new WORM cartridge will be initialized as one partition AIT native
mode.
SONY AIT-5 drive SDX-1100V series Ver.1.0
13-1
13.Appendix F: AIT based WORM system
How to initialize a WORM cartridge to AIT Native mode.
1Partition
Mode Sense (Page 31h)
Mode Select (Page 31h)
AIT=1, DEVICE=1, ABS=1, SysLogAlive=11, Span=0Ah
Mode Select (Page 11h)
Set IDP bit to 1. Additional Partition=0.
13.5. How to handle the WORM cartridge in the drive.
1. DATA READ: There is no restriction when reading data in WORM mode.
2. DATA WRITE: Any attempt to overwrite existing data will be rejected with a Check Condition status and
sense data.
● Write Projected Error: 07-27-00-07 (Sense Key, ASC, ASCQ, Run-time-error)
● Append Position Error: 03-27-04-f7
The AIT WORM drive will allow write operations when:
(1) Append Write Operation is allowed only at End-Of-Data (EOD) area. Prior to an Append Write Operation,
several commands can be used to position the drive at EOD area:
● Space to EOD (space code 3)
● Space to last record (could be a block, File-mark, Set-mark)
● Locate to last block
● Read until EOD
For example:
Space EOD
Write
Write End
No
Yes
END
13-2
SONY AIT-5 drive SDX-1100V series Ver.1.0
14.Appendix G: CD-ROM Device Emulation for Disaster Recovery
14. APPENDIX G: CD-ROM Device Emulation for
Disaster Recovery
14.1. Overview
This chapter will outline the Disaster Recovery Specifications for Sony AIT drive and autoloader. While in Disaster
Recovery mode, the drive behaves as a bootable CD-ROM device. Using the DR tape image, users will be able to
do a complete restore of the system.
14.2. Creating Disaster Recovery Tape
The Disaster Recovery tape must have the CD-ROM image of the operating system written first on the tape. This
image is formatted in El Torito CD-ROM Boot Specification.
Disaster Recovery Tape can be created using Veritas BackupExec Software. Please follow instructions of Veritas
BackupExec to create the DR tape. After the tape has been created, the tape must be write-protected to be
considered DR tape.
14.3. Configuring The Drive For Disaster Recovery Operation
To enter DR mode, the tape drive needs to be configured with the following steps:
1. Turn on the DIP Switch 1 [DR Mode Enable] of the drive.
2. Insert a write-protected DR tape and wait for the drive to complete the loading sequence.
3. Observe the simultaneous flashing all LED. This is the DR standby mode. The drive will remain in this
mode for a period of 15 seconds. Powering down the drive during this 15 seconds window will trigger the
DR mode. The drive will exit the DR standby mode after 15 seconds and resume normal mode of
operation. A SCSI reset will force the drive to exit the DR standby mode and service the SCSI reset.
4. Upon power up, the drive will enter the DR mode. Observe the simultaneous flashing LEDs of TAPE
MORTION and CLEANING REQUEST. While in DR mode, a SCSI RESET will be treated as soft reset
and will not take the drive out of DR mode.
Also, the drive will enter DR mode upon receiving a Mode Select command with Page Code 0x3C.
14.4. Exiting DR Mode
Ejecting the media via the front panel button or a SCSI UNLOAD command will exit the DR mode and restore the
drive to normal operation. A SCSI Mode Select command with Page Code 0x3C and DREnable bit of zero will also
exit the drive out of DR mode. On the autoloader, the DR mode indication on the 4th line of the LCD will disappear
once the drive exits from DR mode.
14.5. Supported CD-ROM DR Command Set
14.5.1. Inquiry (12h)
5.1.1. Peripheral Device Type = 0x05 (CD-ROM)
5.1.2. Byte 43 = 0x24 (ASCII “$”)
5.1.3. Byte 44-48 = “DR-10”
14.5.2. Read 10 (28h)
This command shall only be supported in DR mode. Execution of this command is in effect a translation of a
LOCATE command and READ 6 (0x08) command executing in sequence.
14.5.3. Read Capacity (0x25)
This command shall only be supported in DR mode.
5.3.1.
5.3.2.
Returned LBA (Capacity) = 0004B000h (~640 Mbytes)
Block Length = 00000800h (2048 Bytes)
SONY AIT-5 drive SDX-1100V series Ver.1.0
14-1
14.Appendix G: CD-ROM Device Emulation for Disaster Recovery
14.5.4. Read TOC (0x43)
This command shall only be supported in DR mode.
5.4.1.
Returned Data (20 bytes)
00 12 01 01 00 14 01 00 00 00 00 00 00 14 AA 00 00 04 B0 00
14.5.5. Mode Sense/Select Page Code 0x3C
Table 14-1: DR Mode Entry/Exit Page
7
6
5
4
3
2
1
0
Bit
Byte
0
Reserved Reserved
Page Code = 3Ch
1
2
3
4
5
Page Length = 04h
Reserved
DREnable
Reserved
Reserved
Reserved
DREnable: This bit reflects the status of the DR mode. When the drive enters DR mode, DREnable bit will be set
to 1. This bit shall be reset to zero when the drive exits the DR mode. A Mode Select of Page Code 0x3C with
setting of DREnable bit will force the drive to enter DR mode. With DREnable bit set to zero, the drive will exit the
DR mode. Setting this bit to 1 when the tape is not write-protected shall be rejected with a Check Condition of
Illegal Request (0x05) and ASC of 26h and ASCQ of 02h.
14.6. Reset Handling
While in DR mode, a SCSI reset shall not take the drive out of DR mode. A powered cycle will take the drive out
of DR mode and return the drive to normal operation.
14-2
SONY AIT-5 drive SDX-1100V series Ver.1.0
|