C141-C013-01EN
Handling of This Manual
For Safe Operation
Revision History
This page is intentionally left blank
Overview of Manual
Disk Media Management
Sense Data and Error Recovery Methods
Glossary
Acronyms and Abbreviations
Conventions Used in this Manual
Conventions for Alert Messages
Manual Organization
Ansi
Referenced Standards
Contents
Contents
Command Processing 103
Data Buffer Management
Command Specifications
127
135
Parameter Data Format 281
359
Sense Data and Error Recovery Methods
374
Termination status analysis and error recovery methods
382
384
Glossary 417 Acronyms and Abbreviations 419 Index 421
Tables
Figures
100
107
226
311
Total unrecoverable verify errors posted to Init
SAS Interface
SAS Interface
Topologies in SAS Interface
Topologies in SAS Interface
SAS Layering
Ports narrow ports and wide ports
Physical links and phys
Ports narrow ports and wide ports
SAS devices
SAS devices
Example of potential pathways
Pathways
Connections
SAS addresses
Names and identifiers
Names and identifiers
SAS address format
Hashed SAS address code parameter
Hashed SAS address
1 8b10b coding
Phy layer
Phy layer
Usage of special characters
Reset-related terminology
Link reset sequence
OOB signal timing specifications
Start conditions of the link reset sequence
Out of band OOB signals
Comsas
OOB signal transmitter requirements
COMINIT/RESET
COMINIT/COMRESET
OOB signal receiver burst time detection requirements
OOB signal receiver idle time detection requirements
OOB signal receiver negation time detection requirements
3 4 n
SAS OOB sequency
Scenario 3 SAS phy B misses SAS phy As Cominit
Scenario 2 SAS phy a starts SAS OOB sequence
∙ When the Comsas signal cannot be detected
∙ When the Cominit signal cannot be detected
SAS speed negotiation sequence
Exception handling in the OOB sequence
11 SAS speed negotiation window
SAS speed negotiation sequence timing specifications
SAS Interface
12 SAS speed negotiation sequence Example
14 Phy reset sequence Example
Phy reset sequence after devices are attached
Exception handling in the speed negotiation sequence
When the speed negotiation sequence is successful
Phy layer dword synchronization DWS
10 Primitives not specific to type of connection 1/2
Link layer
Primitives
10 Primitives not specific to type of connection 2/2
Link layer
11 Primitives used only inside SSP and SMP connections
Primitives not specific to type of connections
Primitive sequences
12 Primitive sequences
AIP Arbitration in progress
Broadcast
Break
Hardreset
Error
Close
Eoaf End of address frame
Openreject
Notify
Openaccept
Supported
13 Openreject abandon primitives
No Destination
14 Openreject retry primitives
Soaf Start of address frame
Done
Primitives used only inside SSP and SMP connections
ACK acknowledge
15 Done primitives
NAK negative acknowledgement
EOF End of frame
Rrdy
SOF Start of frame
16 Clock skew management Align insertion requirement
Clock skew management
Idle physical link
17 Scrambling for different data dword types
Scrambling
Address frames overview
Address frames
Address frames
18 Address frame format
20 Device Type field
Identify address frame
19 Identify address frame format
PHY Identifier
Device Type
SAS Address
21 Open address frame format
Open address frame
22 Protocol field
SMP
23 Connection Rate field
∙ Initiator Connection TAG
24 Arbitration Wait Time field
∙ Connection Rate
∙ Destination SAS Address
Identification and hard reset sequence
∙ Pathway Blocked Count
∙ Arbitration Wait Time
Connection request
Connections overview
Arbitration fairness
Connection responses
25 Connection responses
Bits 79-64 79 is MSB Bits 63-0 0 is LSB
27 Abort connection responses
Aborting a connection request
Close
Closing a connection
28 Close connection responses
Rate matching
Breaking a connection
29 Break connection responses
30 Rate matching Align and/or Notify insertion requirements
SSP link layer
SSP flow control
SSP frame transmission and reception
Creditblocked
Interlocked frames
31 SSP frame interlock requirements
17 Interlocked frames
18 Non-interlocked frames with the same tag
20 Closing an SSP connection example
32 SSP frame format
Transport layer
SSP frame format
33 Frame Type field
Transport layer
Nodata
Responsedata
SAS Interface
Information units
Command information unit
34 Command information unit
Simple
35 Task Attribute field
Head of Queue
Ordered
Transport layer
36 Task information unit
Task information unit
Abort Task SET
37 Task Management Function field
38 Xferrdy information unit
Response Data
Xferrdy information unit
Requested Offset Write Data
39 An example of requested offset
21 Example of Xferrdy frames
Length
40 Data information unit
Data information unit
SAS Interface
TOO Much Write Data
42 Datapres field
Response information unit
41 Response information unit
∙ Response information unit Responsedata format
∙ Response information unit Nodata format
∙ Response information unit Sensedata format
43 Response Data field
44 Response Code field
Transport layer
22 Example of Task frame
Sequences of SSP frames
23 Example of write command
Exceptional event processing of a drive
Transport layer
Clear Task SET Management Function Complete
45 Exceptional event processing of a drive 1/2
45 Exceptional event processing of a drive 2/2
102 C141-C013
Command Format
Command Processing
10-Byte CDB basic format
Command Processing
6-Byte CDB basic format
Control Byte
Bit Byte Operation Code
Operation code
Operation code
Transfer data length
Logical block address
Control byte
Command Format
Control byte
Handling an illegal CDB
Status
Status Byte
Good status
Check Condition status
Condition MET Status
Command Terminated status
Busy status
Intermediate status
READ, Read EXTENDED, WRITE, Write Extended
Command Queuing Function
When I-T Nexus Loss occurs
When a Power On or Reset occurs
Unit Attention Condition
Generation of the Unit Attention condition
Logical Unit Reset
Commands cleared by another Init
Request Sense command
Inquiry command
Report Luns command
Sense Data Hold State
∙ ActiveWait state
Power Condition
∙ Operation when formatting is not completed normally
∙ Commands that can be executed even in the Not Ready state
LED Display
LED Display
LED display
Command Processing Exceptions
Overlapped tag
Command Processing Exceptions
Illegal LUN specification
Recovery procedures for disk drive errors
Error recovery processing
Outline of disk drive error recovery processing
Reserved operation code
∙ Nexus
Abort processing
Comparison between SAS and Scsi about definition
∙ Abort processing during write operation
Hard Reset
10 Reset processing during write
Self-diagnostic errors
Fatal hardware errors
Unrecoverable hardware errors
Data Block Addressing
Data Block Addressing
Data space configuration
User space logical block addresses
Logical block addressing
Alternate area
Data Buffer
Data buffer configuration and basic operation
Read operation
Data Buffer Management
Write operation
Data Buffer
Caching object commands
Look-Ahead Cache Feature
Caching operation
Read Read Extended
− Write − Write Extended − Write and Verify
Look-Ahead Cache Feature
Disabling caching data
Data Buffer Management
Caching parameters
Look-Ahead operation, Look-Ahead volume
This page is intentionally left blank
Test Unit Ready
Control/Sense Commands
Inquiry
Command Specifications
Control/Sense Commands
Fujitsu
Standard Inquiry data
Version field
Command Specifications
Command queuing
Byte
Version descriptor
SAM2
OX0B, Oxfc SAS
Command support data
Support
VPD information VPD identifier list
VPD information
VPD information device serial No
MSB
10 VPD information device unique information 1/2
PIV
MBS
10 VPD information device unique information 2/2
Code SET
Command Specifications
Read Capacity
11 Read Capacity data
Mode Select
Command Specifications
Mode Select parameter structure
Command Specifications
12 Mode Select command Group 0 parameter configuration 1/2
SPF
12 Mode Select command Group 0 parameter configuration 2/2
Control/Sense Commands
Command Specifications
13 Mode Select parameters
Command Specifications
Mode Select Extended
Byte
Sub Page Descriptor Bit Byte
Mode Sense 1A
15 Mode
16 Mode Sense data type specifications
Control/Sense Commands
17 Mode Sense command group 0 parameter configuration 1/2
Header
17 Mode Sense command group 0 parameter configuration 2/2
Descriptor
Block descriptor
Control/Sense Commands
Mode Sense Extended 5A
Header Bit Byte
176 C141-C013
Rezero Unit
START/STOP Unit 1B
Control/Sense Commands
Logical unit reserve function
Reserve
Reserve right and third party reserve function
Reserve Extended
Release object and third party release function
Release
Release function
Release Extended
Request Sense
Command Specifications
LOG Select 4C
19 PC page control
20 LOG Select command parameter configuration
Length
Code
21 Page code
TSD ETC TMC
22 Log parameter
Parameter code
Byte
Lbin
LOG Sense 4D
Log parameters
23 Page Code assignment for the log pages
Persistent Reserve in 5E
24 Persistent Reserve in service actions
Persistent Reserve in service actions
Read Keys
Read Reservation
LSB MSB
Persistent Reserve in parameter data for Read Keys
25 Persistent Reserve in parameter data for Read Keys
Persistent Reserve in parameter data for Read Reservations
Format of the Reservation descriptors is defined in Table
∙ Persistent reservations type
∙ Persistent reservations scope
28 Persistent reservations scope
29 Persistent reservations type codes
Persistent Reserve OUT 5F
Command Specifications
30 Persistent Reserve OUT service action codes
Persistent Reserve OUT service actions
Aptpl
Persistent Reserve OUT parameter list
31 Persistent Reserve OUT parameter list
Control/Sense Commands
Command Specifications
Persistent Reserve
Report Luns A0
33 Report Luns parameter data
Report Device Identifier A3
34 Report Device Identifier parameter data
SET Device Identifier A4
35 SET Device Identifier parameter data
Read
Data Access Commands
Data Access Commands
Command Specifications
FUA
Read Extended
Write 0A
Data Access Commands
Write Extended 2A
Write and Verify 2E
Verify 2F
Seek 0B
Seek Extended 2B
Synchronize Cache
Format Unit
Format Commands
Defect list
Format Commands
36 Defect list format
Specifying the initialization method
Format parameters
37 Format Unit command parameter list configuration
FOV
Stpf
Command Specifications
Format Commands
38 Defect descriptor byte distance from index format
39 Defect descriptor physical sector address format
Command Specifications
Defect processing during initialization
40 Format Unit command defect processing 1/2
40 Format Unit command defect processing 2/2
Bit Byte X07
Reassign Blocks
41 Reassign Block command defect data list configuration
= Hardware Error
Correction of the defect descriptor
42 Defect data type
Bit Byte X37 PList GList
Transfer Byte Length MSB Transfer Byte Length LSB
43 Defect data format
44 Read Defect Data command defect data configuration
Defect descriptor list
45 Defect data conditions
Format Commands
Read Defect Data B7
46 Read Defect Data command B7 defect data configuration
Self-diagnosis test
Maintenance, Diagnostic Commands
47 Self-diagnosis test
PER DTE
Parameter specification
Maintenance, Diagnostic Commands
PHY Test
49 Send Diagnostic command parameter list configuration
50 Page code
51 Send Diagnostic parameters page code list
52 Send Diagnostic parameters PHY Test function
Maintenance, Diagnostic Commands
Command Specifications
54 Specifying address format
Logical unit Self-Test
55 SELF-TEST
Receive Diagnostic Results 1C
Parameters
57 Receive Diagnostic Results response data page code list
Code list
Logical/physical address conversion
59 Address format
Write Buffer 3B
60 Write Buffer transfer mode
Mode = 0, 0, 0, 1 Header + data, with address specification
61 Write Buffer command buffer data mode = 000
Mode = 0, 1, 0, 1 Microcode download, with saving
Mode = 0, 0, 1, 0 Data only, with address specification
Mode = 0, 1, 0, 0 Microcode download, without saving
Maintenance, Diagnostic Commands
Command Specifications
Mode = 1, 0, 1, 0 Echo buffer
Read Buffer 3C
62 Read Buffer transfer mode
63 Read Buffer command buffer data mode = 0000
Mode = 0, 0, 0, 1 Header + data, with address specification
64 Read Buffer command buffer descriptor
Mode = 0, 0, 1, 1 Buffer descriptor
Ebos
Mode = 1, 0, 1, 1 Echo buffer descriptor
65 Read Buffer command echo buffer descriptor
Read Long 3E
05 = Illegal Request
Write Long 3F
Command Specifications
Write Same
Command Specifications
Parameter Data Format
Mode Parameters
Parameter Data Format
Read/Write Error Recovery Parameters Page Code =
Mode Select parameters read/write error recovery parameters
Write Extended Write Long Write Same
Mode Parameters
Read Read Extended Read Long
Parameter Data Format
Mode Parameters
EER PER DTE DCR
Combinations of error recovery flags
Disconnect/Reconnect Parameters Page Code =
Mode Select parameters disconnect/reconnect parameters
Parameter Data Format
Format Parameters Page Code =
Mode Select parameters format parameters
Parameter Data Format
Mode Parameters
Parameter Data Format
C141-C013 293
Drive Parameters Page Code =
Mode Select parameters drive parameters
Mode Parameters
Verify
Verify Error Recovery Parameters Page Code =
Mode Select parameters verify error recovery parameters
Mode Parameters
Caching Parameters Page Code =
Mode Select parameters caching parameters
Mode Parameters
Parameter Data Format
Mode Parameters
Parameter Data Format
Mode Parameters
Mode Select parameters control mode parameters
Control Mode Parameters Page Code = 0A
Mode Parameters
TAS task aborted status not supported
Mode Parameters
Notch Parameters Page Code = 0C
10 Mode Select parameters notch parameters
Mode Parameters
Port Control Parameter Page Code =
11 Port control parameter Page 0 Format Short Page Format
Number of Phys
Code Description
12 Port control parameter Sub Page Format Long Format
This page cannot be modified
13 SAS phy mode descriptor format
Parameter Data Format
C141-C013 315
14 Power condition parameter Page 0 Format Short Page Format
Power Condition Parameter Page Code = 1A
Informational Exceptions Control Page Page Code = 1C
15 Mode Select parameters informational exception control
Parameter Data Format
Mode Parameters
16 Mrie 1/2
16 Mrie 2/2
17 Interval timer
Ffff
Background Control Mode Parameter Page Code = 1C/subpage =
18 Mode Select parameters background control mode parameter
Pre-Scan is disabled
Parameter Data Format
Fujitsu unique parameter
Additional Error Recovery Parameters Page Code =
9A 0A 00 00 FF FF FF FF FF FF FF FF
20 Mode parameter default values
21 Log parameter format
Log Parameters
Log Parameters
Parameter Data Format
22 Support log
Support Log
ETC TMC
Buffer Overrun/Underrun
23 Buffer overrun/underrun
24 Write error count
Write Error Count
Write errors recovered with possible delays page 02, code
Write errors recovered without delays page 02, code
25 Write errors recovered without delays page 02, code
27 Total write errors posted page 02, code
Total write errors posted page 02, code
Total recoverable write errors posted to Init page 02, code
TSD ETC
29 Total write bytes processed page 02, code
Total write bytes processed page 02, code
31 Read error count
Read Error Count
Read errors recovered without delays page 03, code
32 Read errors recovered without delays page 03, code
33 Read errors recovered with possible delays page 03, code
Read errors recovered with possible delays page 03, code
Total read errors posted page 03, code
34 Total read errors posted page 03, code
36 Total read bytes processed page 03, code
Total recoverable read errors posted to Init page 03, code
Total read bytes processed page 03, code
38 Verify error count
Verify Error Count
39 Verify errors recovered without delays page 05, code
Verify errors recovered without delays page 05, code
Verify errors recovered with possible delays page 05, code
TSD ETC TMC Lbin
41 Total verify errors posted page 05, code
Total verify errors posted page 05, code
43 Total verify bytes processed page 05, code
Total verify bytes processed page 05, code
Temperature Page X0D
Non-Medium Error Count
45 Non-medium error count
46 Temperature page X0D
47 Temperature page 0D, code
Temperature page 0D, code
Reference temperature page 0D, code
48 Reference temperature page 0D, code
49 Start-stop cycle counter page X0E
Start-Stop Cycle Counter Page X0E
Date of manufacture page 0E, code
50 Date of manufacture page 0E, code
51 Accounting date page 0E, code
Accounting date page 0E, code
Specified cycle count over device lifetime page 0E, code
52 Specified cycle count over device lifetime page 0E, code
53 Start-stop cycle counter page 0E, code
Start-stop cycle counter page 0E, code
54 Application client page X0F
Application Client Page X0F
56 Self-test result
Self-Test Result
Self-test result parameter data page 10, code
57 Self-test result parameter data page 10, code
58 Self-test results values
60 Background medium scan status parameter
Background Medium Scan
59 Background medium scan
61 BMS status
63 Reassign status
62 Background medium scan parameter
MSB LBA LSB
64 Protocol specific port log page format
Protocol Specific Port Log
65 Log parameter format
Details of the log parameter
ETC TMC Lbin
Init
Log Parameters
Parameter Data Format
Smart Data
Smart Status Page X2F
66 Smart status page X2F
67 Smart data
This page is intentionally left blank
Sense data format
Sense Data
Sense data format
Sense Data and Error Recovery Methods
ILI
Sksv
Sense data basic information
Additional Sense code, Additional Sense code Qualifier
Command inherent information
Additional sense data length
Sksv MSB
Sense key inherent information
Sense key
Recovered Error
Enable Spinup
Sense Data and Error Recovery Methods
Init
Sense Data and Error Recovery Methods
Sense Data
Sense Data and Error Recovery Methods
Port
Sense data additional information
CDB operation code
Detailed information
Termination status analysis and error recovery methods
Init Error Recovery Methods Recommended
Command completion wait time-out
Init Error Recovery Methods Recommended
Sense data analysis and error recovery methods
Sense data error classification 1/3
Sense data error classification 2/3
Sense data error classification 3/3
Error recovery processing procedures 1/4
Spinup
Error recovery processing procedures 2/4
Error recovery processing procedures 3/4
Error recovery processing procedures 4/4
Error logging
Disk Drive Error Recovery Processing
Error states and retry processing procedures
Seek error
Write error
Disk Drive Error Recovery Processing
Read error in uncorrectable data
Correctable data read error
Auto alternate block allocation processing
Other internal HDD errors
Disk Drive Error Recovery Processing
Error recovery processing control
Disk drive errors and number of retries
Sense Data and Error Recovery Methods
Defect lists
Defect Management
Alternate block allocation
Disk Media Management
Defect Management
Disk Media Initialization
Initialization during installation
Issuing the Mode Select command
Mode Select command
Issuing the Format Unit command
Re-initialization
Disk Media Initialization
Format Unit command
Alternate Block Allocation Processing
Alternate Block Allocation Processing
Pre-Scan mode
Background Media Scan BMS mode
Background Media Scan BMS
Overview
Background Media Scan BMS
Write command operation during a Pre-Scan
∙ PER
Conditions for operation
Mode
Mode Page 0x1C SubPage 0x01 Background Control Mode
Background Media Scan BMS
Background Media Scan Log Page format
Background Media Scan Log
BMS Status parameter format
Medium Scan parameter format
Background Media Scan BMS
Drive Self-Test DST
Drive Self-Test DST
Foreground mode
Self-test modes
Background mode
Short self-test
Matters that are common to both modes
Extended self-test
Test segments
Disk Media Management
Drive Self-Test DST
Smart Self-Monitoring Analysis and Reporting Technology
Smart Self-Monitoring Analysis and Reporting Technology
Data analysis
ASC Ascq
Failure prediction method
Smart ASC/ASCQ
Smart Self-Monitoring Analysis and Reporting Technology
Disk Media Management
Smart thresholds
Reporting function
Common Command Set CCS
Command
Additional Sense Code
Initiator Init
This page is intentionally left blank
AEN
ACK
ALT
Arre
Acronyms and Abbreviations
Index
Index
Command Terminated
Details of parameters on Mode
Intermediate Condition
Mode Sense Extended
Persistent Reserve OUT
Reservation Conflict
Receive Diagnostic
Report Device Identifier
SET Device Identifier
TB284
READER’S Comment Form
This page is intentionally left blank
C141-C013-01EN
Page