HGST HUS724040ALS640, HUS724040ALS641, HUS724020ALS641, HUS724030ALS640, HUS724030ALS641 User Manual

...
Page 1
Ultrastar 7K4000
3.5" SAS 6Gb Hard Disk Drive
Models: HUS724040ALS640
HUS724040ALS641 HUS724030ALS640 HUS724030ALS641 HUS724020ALS640 HUS724020ALS641
Warning: Printed copies of this document are considered current only on the date of print. Replacement and disposal of down-level versions is the responsibility of the document holder.
Version: 1.8
April 14, 2016
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 2
1st Edition (Rev 1.8) (14 April 2016)
The following paragraph does not apply to the United Kingdom or any country where such provisions are inconsistent with local law: HGST, A WESTERN DIGITAL COMPANY, PROVIDES THIS PUBLICATION "AS IS" WITHOUT WAR­RANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRAN TIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow dis­claimer or express or implied warranties in certain transactions, therefore, this statement may not apply to you.
This publication could include technical inaccuracies or typographical errors. Changes are periodically made to the informa­tion herein; these changes will be incorporated in new editions of the publication. HGST may make improvements or changes in any products or programs described in this publication at any time.
It is possible that this publication may contain reference to, or information about, HGST products (machines and programs), programming, or services that are not announced in your country. Such references or information must not be construed to mean that HGST intends to announce such HGST products, programming, or services in your country.
T echnical information about this product is available by contacting your local HGST representative or on the Internet at http:// www.hgst.com
HGST may have patents or pending patent applications covering subject matter in this document. The furnishing of this docu­ment does not give you any license to these patents.
© Copyright HGST, a Western Digital company
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 3
Table of Contents
1.0 General............................................................................................................................1
1.1 Introduction................................................................................................................1
1.2 Glossary .....................................................................................................................2
1.3 Caution.......................................................................................................................2
1.4 References..................................................................................................................2
2.0 Outline of the Drive .......................................................................................................3
3.0 Fixed-disk Subsystem Description ...............................................................................5
3.1 Control Electronics ....................................................................................................5
3.2 Head Disk Assembly .................................................................................................5
3.3 Actuator .....................................................................................................................5
4.0 Drive Characteristics.....................................................................................................7
4.1 Formatted Capacity....................................................................................................7
4.2 Data Sheet..................................................................................................................7
4.3 Inquiry Information....................................................................................................8
4.3.1 Product ID.........................................................................................................8
4.3.2 World Wide ID - Block Assignment ................................................................8
4.4 Performance characteristics.......................................................................................9
4.4.1 Mechanical positioning.....................................................................................9
4.4.2 Drive ready time ...............................................................................................10
4.4.3 Data transfer speed: ..........................................................................................11
4.4.4 Buffering operation (read ahead/write cache)...................................................11
5.0 Data Integrity.................................................................................................................13
5.1 Equipment Status.......................................................................................................13
5.2 Error Recovery Procedure..........................................................................................13
6.0 Physical Format .............................................................................................................15
6.1 Shipped Format (P-List) ............................................................................................15
6.2 Reassigned Format (G-List).......................................................................................15
7.0 Electrical Interface.........................................................................................................17
7.1 SAS Connector ..........................................................................................................17
7.1.1 29 pin Serial Attached SCSI (SAS) Connector Definition...............................17
7.1.2 Voltage and Ground Signals.............................................................................18
7.1.3 Ready LED output ............................................................................................18
8.0 Environment...................................................................................................................19
8.1 Temperature and humidity.........................................................................................19
8.2 Storage requirements .................................................................................................20
8.2.1 Packaging..........................................................................................................20
8.2.2 Storage time......................................................................................................20
8.3 Corrosion test.............................................................................................................20
8.4 Cooling requirements.................................................................................................21
9.0 DC Power Requirements...............................................................................................23
9.1 Power Supply Current, Average and Peak.................................................................23
9.2 Ripple Voltage...........................................................................................................25
9.3 Power Consumption Efficiency Index.......................................................................26
10.0 Reliability......................................................................................................................27
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 4
10.1 Start/Stop Cycles......................................................................................................27
10.2 Load/Unload Cycles ................................................................................................27
10.3 Data Reliability........................................................................................................27
10.4 Seek errors ...............................................................................................................27
10.5 Failure prediction (S.M.A.R.T) ...............................................................................27
10.6 MTBF (Mean Time Between Failure): 2.0 M hours. ...........................................28
10.7 Preventive Maintenance...........................................................................................28
10.8 Temperature Warning..............................................................................................28
11.0 Mechanical Specifications...........................................................................................29
11.1 Outline .....................................................................................................................29
11.2 Mechanical Dimensions...........................................................................................30
11.3 Interface Connector..................................................................................................32
11.4 Mounting Positions and Tappings ...........................................................................32
11.5 Drive Mounting........................................................................................................33
11.6 Heads Unload and Actuator Lock............................................................................33
12.0 Vibration and Shock....................................................................................................35
12.1 Operating vibration..................................................................................................35
12.1.1 Random vibration (Linear) .............................................................................35
12.1.2 Swept sine vibration (Linear) .........................................................................35
12.1.3 Random vibration (Rotational).......................................................................35
12.2 Nonoperating vibration............................................................................................36
12.2.1 Random vibration ...........................................................................................36
12.2.2 Swept sine vibration........................................................................................36
12.3 Operating shock.......................................................................................................36
12.4 Nonoperating shock.................................................................................................36
12.4.1 Trapezoidal shock wave..................................................................................36
12.4.2 Sinusoidal shock wave....................................................................................37
12.5 Nonoperating Rotational shock ...............................................................................37
13.0 Acoustics.......................................................................................................................39
14.0 Identification ................................................................................................................41
14.1 Labels.......................................................................................................................41
15.0 Electromagnetic Compatibility...................................................................................43
15.1 Class B Regulatory Notices.....................................................................................43
16.0 Safety Standards..........................................................................................................45
16.1 UL and C-UL Standard Conformity........................................................................45
16.2 European Standards Compliance.............................................................................45
16.3 German Safety Mark................................................................................................45
16.4 Flammability............................................................................................................45
16.5 Corporate Standards Compliance ............................................................................45
17.0 SAS Attachment...........................................................................................................47
17.1 General.....................................................................................................................47
17.2 SAS Features............................................................................................................47
17.3 SAS Names and Identifiers......................................................................................48
17.4 Spin up.....................................................................................................................49
17.5 PHY Layer...............................................................................................................50
17.5.1 Link Reset Sequence.......................................................................................50
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 5
17.5.2 Hard Reset.......................................................................................................51
17.5.3 SAS OOB (Out of Band) ................................................................................51
17.5.4 SAS Speed Negotiation ..................................................................................52
17.5.5 PHY Error Handling.......................................................................................53
17.6 Link Layer................................................................................................................53
17.6.1 Address Frames...............................................................................................53
17.6.2 Link Layer Error Handling .............................................................................56
17.7 Transport Layer........................................................................................................58
17.7.1 Command Information Unit............................................................................59
17.7.2 TASK Information Units ................................................................................60
17.7.3 XFER_RDY Information Units......................................................................62
17.7.4 DATA Information Units................................................................................62
17.7.5 RESPONSE Information Units.......................................................................62
17.7.6 Sequences of SSP Information Units..............................................................64
17.7.7 Transport Layer Error Handling .....................................................................65
18.0 SCSI Command Set .....................................................................................................67
18.1 SCSI Control Byte ...................................................................................................69
18.2 Abbreviations...........................................................................................................69
18.3 Byte ordering conventions.......................................................................................69
18.4 FORMAT UNIT (04)...............................................................................................70
18.4.1 Parameter List Header ....................................................................................72
18.4.2 Initialization Pattern........................................................................................74
18.4.3 Defect Descriptor............................................................................................74
18.5 INQUIRY (12).........................................................................................................78
18.5.1 Inquiry Data....................................................................................................79
18.6 LOG SELECT (4C) .................................................................................................98
18.7 LOG SENSE (4D) ...................................................................................................101
18.7.1 Log Page parameters.......................................................................................102
18.7.2 Log Sense Page 0............................................................................................103
18.7.3 Log Sense Page 2............................................................................................104
18.7.4 Log Sense Page 3............................................................................................106
18.7.5 Log Sense Page 5............................................................................................108
18.7.6 Log Sense Page 6............................................................................................110
18.7.7 Log Sense Page D...........................................................................................111
18.7.8 Log Sense Page E ...........................................................................................112
18.7.9 Log Sense Page F............................................................................................114
18.7.10 Log Sense Page 10........................................................................................115
18.7.11 Log Sense Page 15........................................................................................118
18.7.12 Log Sense Page 18........................................................................................121
18.7.13 Log Sense Page 19h - General Statistics and Performance..........................124
18.7.14 Log Sense Page 1A.......................................................................................127
18.7.15 Log Sense Page 2F........................................................................................128
18.7.16 Log Sense Page 30........................................................................................129
18.7.17 Log Sense Page 37........................................................................................132
18.8 MODE SELECT (15) ..............................................................................................134
18.9 MODE SELECT (55) ..............................................................................................135
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 6
18.10 MODE SENSE (1A)..............................................................................................136
18.10.1 Mode Parameter List.....................................................................................137
18.10.2 Mode Page 00 (Vendor Unique Parameters)................................................141
18.10.3 Mode Page 01 (Read/Write Error Recovery Parameters).............................143
18.10.4 Mode Page 02 (Disconnect/Reconnect Parameters).....................................148
18.10.5 Mode Page 03 (Format Device Parameters).................................................150
18.10.6 Mode Page 04 (Rigid Disk Drive Geometry Parameters) ............................152
18.10.7 Mode Page 07 (Verify Error Recovery Parameters).....................................153
18.10.8 Mode Page 08 (Caching Parameters)............................................................154
18.10.9 Mode Page 0A (Control Mode Page Parameters).........................................156
18.10.10 Mode Page 0C (Notch Parameters) ............................................................160
18.10.11 Mode Page 18h ...........................................................................................161
18.10.12 Mode Page 19h (Port Control Parameters).................................................162
18.10.13 Mode Page 1A (Power Control) .................................................................169
18.10.14 .Mode Page 1C (Informational Exceptions Control)..................................173
18.11 MODE SENSE (5A)..............................................................................................176
18.12 PERSISTENT RESERVE IN (5E)........................................................................177
18.12.1 Service Action...............................................................................................177
18.12.2 Parameter data for Read Keys ......................................................................178
18.12.3 Parameter Data for Read Reservations.........................................................179
18.13 PERSISTENT RESERVE OUT (5F) ....................................................................180
18.13.1 Service Action...............................................................................................181
18.13.2 Type..............................................................................................................181
18.13.3 Parameter list ................................................................................................182
18.13.4 Summary.......................................................................................................183
18.14 PRE-FETCH (34) ..................................................................................................185
18.15 PRE-FETCH (90) ..................................................................................................186
18.16 READ (6) - (08)....................................................................................................187
18.17 READ (10) - (28)...................................................................................................188
18.18 READ (12) - (A8)..................................................................................................190
18.19 READ (16) - (88)...................................................................................................191
18.20 READ (32) - (7F/09)..............................................................................................192
18.21 READ BUFFER (3C)............................................................................................194
18.21.1 Combined Header And Data (Mode 00000b)...............................................195
18.21.2 Read Data (Mode 00010b)............................................................................195
18.21.3 Descriptor (Mode 00011b)............................................................................196
18.21.4 Read Data from Echo Buffer (Mode 01010b) ..............................................197
18.21.5 Echo Buffer Descriptor (Mode 01011b).......................................................197
18.21.6 Expander Communications and Echo Buffer (Mode 11010b) .....................197
18.22 READ CAPACITY (10) - (25)..............................................................................198
18.23 READ CAPACITY (16) (9E/10)...........................................................................200
18.23.1 Returned Data Format...................................................................................200
18.24 READ DEFECT DATA (37).................................................................................201
18.24.1 Defect List Header........................................................................................203
18.24.2 Defect List Descriptor...................................................................................203
18.24.3 Bytes from Index Format (100b) ..................................................................204
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 7
18.24.4 Physical Sector Format (101b) .....................................................................204
18.25 READ DEFECT DATA (B7)................................................................................205
18.25.1 Defect List Header........................................................................................205
18.25.2 Defect List Descriptor...................................................................................206
18.25.3 Bytes from Index Format (100b) ..................................................................206
18.25.4 Physical Sector Format (101b) .....................................................................206
18.26 READ LONG (3E) ................................................................................................207
18.27 READ LONG (9E) ................................................................................................208
18.28 REASSIGN BLOCKS (07) ...................................................................................209
18.29 RECEIVE DIAGNOSTICS RESULTS (1C) ........................................................211
18.29.1 Receive Diagnostic Results Page 0...............................................................211
18.29.2 Receive Diagnostic Results Page 40.............................................................212
18.30 RELEASE (17) ......................................................................................................213
18.31 RELEASE (57) ......................................................................................................214
18.32 REPORT DEVICE IDENTIFIER (A3/05)............................................................215
18.33 REPORT LUNS (A0)............................................................................................217
18.34 REPORT SUPPORTED OPERATION CODES (A3/0C)....................................218
18.34.1 All_commands parameter data format..........................................................219
18.34.2 One_command parameter data format..........................................................220
18.34.3 Command timeouts descriptor format ..........................................................222
18.35 REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS (A3/0D).........223
18.36 REQUEST SENSE (03).........................................................................................225
18.37 RESERVE (16)......................................................................................................226
18.38 RESERVE (56)......................................................................................................227
18.39 REZERO UNIT (01)..............................................................................................228
18.40 SANITIZE (48)......................................................................................................229
18.40.1 Sanitize (48) Service Action Codes..............................................................229
18.41 SEND DIAGNOSTIC (1D)...................................................................................232
18.41.1 Send Diagnostic Page 0 ................................................................................234
18.41.2 Send Diagnostic Page 3F..............................................................................234
18.41.3 Send Diagnostic Page 40 ..............................................................................237
18.42 SET DEVICE IDENTIFIER (A4/06)....................................................................239
18.43 START STOP UNIT (1B).....................................................................................240
18.44 SYNCHRONIZE CACHE (10) - (35)...................................................................243
18.45 SYNCHRONIZE CACHE (16) - (91)...................................................................244
18.46 TEST UNIT READY (00).....................................................................................245
18.47 VERIFY (10) - (2F)...............................................................................................246
18.48 VERIFY (12) - (AF) ..............................................................................................249
18.49 VERIFY (16) - (8F)...............................................................................................250
18.50 VERIFY (32) - (7F/0A).........................................................................................251
18.51 WRITE (6) - (0A) ..................................................................................................253
18.52 WRITE (10) - (2A) ................................................................................................254
18.53 WRITE (12) - (AA) ...............................................................................................257
18.54 WRITE (16) - (8A) ................................................................................................258
18.55 WRITE (32) - (7F/0B)...........................................................................................259
18.56 WRITE AND VERIFY (10) - (2E)........................................................................261
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 8
18.57 WRITE AND VERIFY (12) - (AE).......................................................................262
18.58 WRITE AND VERIFY (16) - (8E)........................................................................263
18.59 WRITE AND VERIFY (32) - (7F/0C)..................................................................264
18.60 WRITE BUFFER (3B) ..........................................................................................265
18.60.1 Combined Header And Data (Mode 00000b)...............................................265
18.60.2 Write Data (Mode 00010b)...........................................................................266
18.60.3 Download Microcode (Mode 00100b) .........................................................266
18.60.4 Download Microcode and Save (Mode 00101b) -Single Binary File ..........267
18.60.5 Download Microcode and Save (Mode 00111b) - Multiple Binary Files....267
18.60.6 Write Data to Echo Buffer (Mode 01010b)..................................................267
18.60.7 Download microcode with offsets, save, and defer activate (Mode 01110b)268
18.60.8 Activate deferred microcode mode (Mode 01111b).....................................268
18.60.9 Enable Expander Communications Protocol (Mode 11010b)......................268
18.61 WRITE LONG (10) (3F)......................................................................................269
18.62 WRITE LONG (16) (9F).......................................................................................271
18.63 WRITE SAME (10) - (41).....................................................................................272
18.64 WRITE SAME (16) - (93).....................................................................................273
18.65 WRITE SAME (32) - (7F/0D)...............................................................................274
19.0 SCSI Status Byte.........................................................................................................277
20.0 Additional information................................................................................................279
20.1 SCSI Protocol ..........................................................................................................279
20.1.1 Priority of SCSI Status Byte Reporting..........................................................279
20.1.2 Invalid LUN Processing..................................................................................279
20.1.3 Overlapped Commands...................................................................................280
20.1.4 Command Processing During Execution of Active I/O Process ....................280
20.1.5 Unit Attention Condition ................................................................................281
20.1.6 Command Processing During Startup and Format Operations.......................283
20.1.7 Internal Error Condition..................................................................................283
20.1.8 Deferred Error Condition................................................................................283
20.1.9 Degraded Mode...............................................................................................284
20.1.10 Command Processing while Reserved..........................................................291
20.2 Priority Commands..................................................................................................291
20.3 Command Queuing..................................................................................................292
20.3.1 Queue Depth ...................................................................................................292
20.3.2 Queue Full Status............................................................................................292
20.3.3 Termination of I/O Processes .........................................................................292
20.4 Command Reordering..............................................................................................292
20.5 Concurrent I/O Process............................................................................................292
20.6 Write Cache .............................................................................................................292
20.7 Automatic Rewrite/Reallocate.................................................................................293
20.8 Segmented Caching .................................................................................................295
20.8.1 Overview.........................................................................................................295
20.8.2 Read Ahead.....................................................................................................295
20.9 Multiple Initiator Systems .......................................................................................295
20.9.1 Sense Data.......................................................................................................295
20.9.2 Mode Pages.....................................................................................................295
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 9
20.10 Multiple Initiator Environment..............................................................................295
20.10.1 Initiator Sense Data.......................................................................................295
20.10.2 Initiator Mode Select/Mode Sense Parameters.............................................295
20.11 Reset.......................................................................................................................296
20.11.1 Reset Sources................................................................................................296
20.11.2 Reset Actions................................................................................................296
20.12 Diagnostics.............................................................................................................296
20.12.1 Power on Diagnostics ...................................................................................296
20.12.2 Self-test via SEND DIAGNOSTIC Command.............................................297
20.13 Idle Time Function.................................................................................................300
20.14 Command Time out Limits ...................................................................................300
20.14.1 Reassignment Time.......................................................................................300
20.14.2 Format Time .................................................................................................300
20.14.3 Start/Stop Unit Time.....................................................................................300
20.14.4 Medium Access Command Time .................................................................301
20.14.5 Time-out Limits for Other Commands.........................................................301
20.15 Recommended Initiator ERP .................................................................................302
20.15.1 Drive Service Strategy..................................................................................302
20.15.2 Recommendations for System Error Log .....................................................303
20.15.3 Data Recovery Procedure .............................................................................303
20.15.4 Nondata Error Recovery Procedure..............................................................305
21.0 TCG SSC ......................................................................................................................313
21.1 Referenced Specifications and Standards................................................................313
21.1.1 TCG Specifications........................................................................................313
21.1.2 Federal Information Processing Standards (FIPS).........................................313
21.1.3 National Institute of Standards (NIST)..........................................................313
21.1.4 Department of Defense..................................................................................313
21.1.5 RSA Laboratories Standards..........................................................................314
21.1.6 Other Standards..............................................................................................314
21.2 Implementation Exceptions .....................................................................................314
21.3 Implementation Features and Details Outside of TCG Specifications....................314
21.4 Encryption Algorithms ...........................................................................................315
21.4.1 Advanced Encryption Standard (AES) Support ............................................315
21.4.2 Level 0 Discovery Vendor Specific Data ......................................................315
21.4.3 Pseudo Random Number Generation (PRNG)..............................................316
21.4.4 Key Wrapping................................................................................................316
21.4.5 Key Erasure....................................................................................................316
21.5 -TCG SSC Tables ....................................................................................................316
21.5.1 Admin SP C_PIN Table and Locking SP C_PIN Table................................317
21.5.2 K_AES_256 Table.........................................................................................317
21.5.3 Locking SP AccessControl Table..................................................................317
21.5.4 Locking Info Table ........................................................................................318
21.5.5 Locking SP Locking Table ............................................................................318
21.6 Firmware Download and Signing............................................................................319
21.7 Ports .........................................................................................................................319
21.8 MSID ......................................................................................................................322
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 10
21.9 Logging....................................................................................................................322
21.10 Number of Sessions ...............................................................................................322
21.11 Number of Bands...................................................................................................322
21.12 Number of COMIDs..............................................................................................322
21.13 Locked and Unlocked Behavior ...........................................................................322
21.13.1 T10 SCSI commands ...................................................................................322
21.13.2 TCG SSC Commands..................................................................................324
21.14 Error Codes...........................................................................................................326
21.15 Customer Specific Requirements..........................................................................326
22.0 SCSI Sense Data...........................................................................................................327
22.1 SCSI Sense Data Format Introduction.....................................................................327
22.1.1 Sense Data Format..........................................................................................327
22.1.2 Sense Data Length ..........................................................................................327
22.1.3 Sense Data Response Code.............................................................................327
22.2 Fixed Format Sense Data.........................................................................................328
22.2.1 Valid (Bit 7 of byte 0).....................................................................................328
22.2.2 Response Code (Bit 6 - 0 of byte 0)................................................................328
22.2.3 ILI: Incorrect Length Indicator (Bit 5 of byte 2) ............................................329
22.2.4 Sense Key (Bit 3 - 0 of byte 2) .......................................................................329
22.2.5 Information Bytes (Byte 3 through 6).............................................................330
22.2.6 Additional Sense Length (Byte 7) ..................................................................330
22.2.7 Command Specific Information (Byte 8 through 11).....................................330
22.2.8 Additional Sense Code/Qualifier (Byte 12 and 13)........................................330
22.2.9 FRU: Field Replaceable Unit (Byte 14) .........................................................365
22.2.10 Sense Key Specific (Byte 15 through 17).....................................................365
22.2.11 Reserved (Byte 18 through 19).....................................................................368
22.2.12 Vendor unique error information (Byte 20 through 23) ...............................368
22.2.13 Physical Error Record (Product Specific Information) (Byte 24 thru 29)...368
22.3 Descriptor Format Sense Data.................................................................................369
22.3.1 Order of Sense Descriptors.............................................................................370
22.3.2 Sense Data Descriptor Definitions..................................................................370
23.0 Appendix. UEC list......................................................................................................375
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 11
List of Tables
Table 1.Product ID table............................................................................................1
Table 2.Formatted Capacity.......................................................................................7
Table 3.Data Sheet.....................................................................................................7
Table 4.Product ID in Inquiry Command..................................................................8
Table 5.Block assignment of World Wide ID in INQUIRY Command....................8
Table 6.Mechanical positioning performance ...........................................................9
Table 7.Full stroke seek time.....................................................................................10
Table 8.Latency time .................................................................................................10
Table 9.Drive ready time ...........................................................................................10
Table 10.Data transfer speed (sector size 512 Byte case)..........................................11
Table 11.29-pin Connector Signal Definition............................................................17
Table 12.Operating and non-operating conditions ....................................................19
Table 13.Maximum allowable surface temperatures.................................................21
Table 14.Input Voltage and capacitance....................................................................23
Table 15.Power Supply Generated Ripple at Drive Power Connector......................25
Table 16.Power Consumption Efficiency Index........................................................26
Table 17.Physical Dimensions...................................................................................31
Table 18.Random vibration PSD profile break points (operating)............................35
Table 19.Random vibration (Rotational) PSD profile break points (TBD)...............35
Table 20.Random vibration PSD profile break points (non operating).....................36
Table 21. Sinusoidal shock wave...............................................................................37
Table 22. Sinusoidal shock wave...............................................................................37
Table 23.Sound power levels.....................................................................................39
Table 24.Names and identifiers .................................................................................48
Table 25.IEEE Registered Name format ...................................................................49
Table 26.Supported Settings Bit Priorities ................................................................52
Table 27.Address Frame Format ...............................................................................53
Table 28.Frame type:.................................................................................................54
Table 29.Identify Address Frame ..............................................................................54
Table 30.Reason field ................................................................................................55
Table 31.SAS Frame Format .....................................................................................58
Table 32.COMMAND Information Unit...................................................................59
Table 33.TASK Information Unit..............................................................................60
Table 34.Additional Response Information argument for Query Async Event.........61
Table 35.UADE DEPTH field...................................................................................61
Table 36.XFER_RDY Information Unit ...................................................................62
Table 37.DATA Information Unit.............................................................................62
Table 38.Response Information Unit.........................................................................62
Table 39.RESPONSE DATA ....................................................................................64
Table 40.SCSI Commands Supported .......................................................................67
Table 41.SCSI Control Byte......................................................................................69
Table 42.FORMAT UNIT (04) .................................................................................70
Table 43.Format of the Short Parameter List Header................................................72
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 12
Table 44.Format of the Long Parameter List Header................................................72
Table 45.Initialization Pattern Descriptor:.................................................................74
Table 46.Defect Descriptor - Block Format (for n + 1 defects) ................................75
Table 47.Defect Descriptor - Bytes From Index Format (for n = 1 defects).............76
Table 48.Defect Descriptor - Physical Sector Format (for n + 1 defects).................77
Table 49.INQUIRY (12)............................................................................................78
Table 50.Page Code descriptions...............................................................................78
Table 51.Inquiry Data- EVPD = 0.............................................................................79
Table 52.Inquiry Data - EVPD = 1 (Page Code = 00h).............................................80
Table 53.Inquiry Data - EVPD = 1 (Page Code = 03h).............................................82
Table 54.Inquiry Data - EVPD = 1 (Page Code = 80h).............................................84
Table 55.Inquiry Data Format - EVPD = 1, (Page Code - 83h) ................................85
Table 56.Inquiry Data Format - EVPD = 1, (Page Code - 86h) ................................87
Table 57.Inquiry Data Format - EVPD = 1, (Page Code - 87h) ................................88
Table 58.Inquiry Data Format - EVPD = 1, (Page Code - 88h) ................................89
Table 59.Inquiry Data Format - EVPD = 1, (Page Code - 8Ah) ...............................91
Table 60.Inquiry Data - EVPD = 1 (Page Code = 90h).............................................92
Table 61.Protocol-specific logical unit information descriptor.................................92
Table 62.Inquiry Data - EVPD = 1 (Page Code = B0h)............................................93
Table 63.Inquiry Data - EVPD = 1 (Page Code = B1h)............................................94
Table 64.Inquiry Data - EVPD = 1 (Page Code = B2h)............................................95
Table 65.Inquiry Data - EVPD = 1 (Page Code = D1h)............................................96
Table 66.Inquiry Data - EVPD = 1 (Page Code = D2h)............................................97
Table 67.Log Select (4C)...........................................................................................98
Table 68.Log Sense (4D)...........................................................................................101
Table 69.Log Sense Page 0........................................................................................103
Table 70.Log Sense Page 2 (part 1 of 2)....................................................................104
Table 71.Log Sense Page 2 (part 2 of 2)....................................................................104
Table 72.Log Sense Page 3 (part 1 of 2)....................................................................106
Table 73.Log Sense Page 3 (part 2 of 2)....................................................................106
Table 74.Log Sense Page 5 (part 1 of 2)....................................................................108
Table 75.Log Sense Page 5 (part 2 of 2)....................................................................109
Table 76.Log Sense Page 6........................................................................................110
Table 77.Log Sense Page D.......................................................................................111
Table 78.Log Sense Page E .......................................................................................112
Table 79.Log Sense Page F........................................................................................114
Table 80.Log Sense Page F, Application Client Log ................................................114
Table 81.Log Sense Page 10......................................................................................115
Table 82.Log Sense Page 10, self-test results............................................................115
Table 83.Log Sense Page 10, self-test results............................................................116
Table 84.Log Sense Page 10, Extended Segment Number........................................117
Table 85.Log Sense Page 15......................................................................................118
Table 86.Log Sense Page 18......................................................................................121
Table 87.SAS Log Descriptor....................................................................................121
Table 88. ....................................................................................................................Log Sense
Page 19h - General Statistics and Performance.....................................................................124
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 13
Table 89.Time Interval Descriptor.............................................................................126
Table 90.Log Sense Page 1A.....................................................................................127
Table 91. Log Sense Page 2F.....................................................................................128
Table 92.Log Sense Page 30......................................................................................129
Table 93.Log Sense Page 37......................................................................................132
Table 94.Mode Select (15).........................................................................................134
Table 95.Mode Select (55).........................................................................................135
Table 96.Mode Sense (1A)........................................................................................136
Table 97.Page Code Usage........................................................................................137
Table 98.Mode parameter header (6).........................................................................137
Table 99.Mode parameter header (10).......................................................................138
Table 100.Short LBA Mode Parameter Block Descriptor.........................................139
Table 101.Long LBA Mode Parameter Block Descriptor.........................................139
Table 102.Mode Parameter Page Format ..................................................................140
Table 103.Mode Parameter Page Format ..................................................................140
Table 104.Vendor Unique Parameters - Page 00.......................................................141
Table 105.Mode Page 01 (Vendor Unique Parameters)............................................143
Table 106.Mode Page 02 (Disconnect/Reconnect Parameters).................................148
Table 107.Mode Page 03 (Format Device Parameters).............................................150
Table 108.Mode Page 04 (Rigid Disk Drive Geometry Parameters) ........................152
Table 109.Mode Page 07 (Verify Error Recovery Parameters).................................153
Table 110.Page 08 (Caching Parameters)..................................................................154
Table 111.Page 0A (Control Mode Page Parameters)...............................................156
Table 112.Control Extension Subpage 01h ...............................................................158
Table 113.Application Tag mode page:.....................................................................158
Table 114.Application Tag descriptor format............................................................159
Table 115.Page 0C (Notch Parameters).....................................................................160
Table 116.Page 18h (Protocol-Specific Logical Unit mode page)............................161
Table 117.Short (Port Control Parameters) Short Format........................................162
Table 118.Long Format of Port Control Page ...........................................................163
Table 119.PHY Control and Discover (Subpage 1) ..................................................165
Table 120.SAS PHY Mode Descriptor .....................................................................166
Table 121.Shared Port Control (Subpage 2).............................................................167
Table 122.Subpage 3..................................................................................................168
Table 123.PHY Mode Descriptor (0 and 1)...............................................................168
Table 124.Page 1A (Power Control)..........................................................................169
Table 125.PM_BG_PRECEDENCE field.................................................................171
Table 126.Page 1C (Informational Exceptions Control) ...........................................173
Table 127.Background Control (Subpage 01h).........................................................175
Table 128.Mode Sense (5A)......................................................................................176
Table 129.Persistent Reserve In (5E) ........................................................................177
Table 130.PERSISTENT RESERVE IN, Service Action Codes..............................177
Table 131.PERSISTENT RESERVE IN, parameter data for Read Keys .................178
Table 132.PERSISTENT RESERVE IN, parameter data for Read Reservations.....179
Table 133.PERSISTENT RESERVE IN, Read Reservation Descriptor...................179
Table 134.PERSISTENT RESERVE OUT (5F).......................................................180
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 14
Table 135.PERSISTENT RESERVE OUT, Service Action Code............................181
Table 136.PERSISTENT RESERVE OUT, Type Code ...........................................181
Table 137.Parameter List...........................................................................................182
Table 138.PERSISTENT RESERVE OUT, Service Action, Parameters .................183
Table 139.APTPL and information held by a drive...................................................184
Table 140.PRE-FETCH (34) .....................................................................................185
Table 141.PRE-FETCH (34) .....................................................................................186
Table 142.READ (6) - (08)........................................................................................187
Table 143.READ (10) - (28) .....................................................................................188
Table 144.Read (12) - (A8)........................................................................................190
Table 145.READ (16) - (88)......................................................................................191
Table 146.READ (32) - (7F/09) ................................................................................192
Table 147.READ BUFFER (3C)...............................................................................194
Table 148.Read Buffer Header..................................................................................195
Table 149.Read Buffer Description...........................................................................196
Table 150.Echo Buffer Descriptor.............................................................................197
Table 151.READ CAPACITY (10) - (25).................................................................198
Table 152.Format of READ CAPACITY command reply........................................199
Table 153.Read Capacity (16) (9E/10)......................................................................200
Table 154.Returned Data Format...............................................................................200
Table 155.READ DEFECT DATA (37)....................................................................201
Table 156.Defect List Format....................................................................................202
Table 157.Defect List Header....................................................................................203
Table 158.Defect List Descriptor...............................................................................203
Table 159.Defect Descriptors of Bytes from Index Format ......................................204
Table 160.Defect Descriptors of Physical Sector Format..........................................204
Table 161.READ DEFECT DATA (B7)...................................................................205
Table 162.Defect List Header....................................................................................205
Table 163.Defect List Descriptor...............................................................................206
Table 164.Defect Descriptors of Bytes from Index Format ......................................206
Table 165.Defect Descriptors of Physical Sector Format..........................................206
Table 166.READ LONG (3E) ...................................................................................207
Table 167.READ LONG (9E) ...................................................................................208
Table 168.REASSIGN BLOCKS (07) ......................................................................209
Table 169.Format of Reassign Blocks Parameter List data.......................................210
Table 170.RECEIVE DIAGNOSTIC RESULTS (1C) .............................................211
Table 171.Receive Diagnostic Results page 0...........................................................211
Table 172.Receive Diagnostic Results Page 40.........................................................212
Table 173.Translated address ....................................................................................212
Table 174.RELEASE (17).........................................................................................213
Table 175.RELEASE (57).........................................................................................214
Table 176.REPORT DEVICE IDENTIFIER (A3/05)...............................................215
Table 177.Report Device Identifier parameter list ....................................................216
Table 178.REPORT LUNS (A0)...............................................................................217
Table 179.LUN Reporting parameter list format.......................................................217
Table 180.REPORT SUPPORTED OPERATION CODES (A3/0C).......................218
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 15
Table 181.Reporting Options.....................................................................................218
Table 182.All_command parameter data format.......................................................219
Table 183.Command Descriptor format....................................................................219
Table 184. One_command parameter data format.....................................................220
Table 185.One_command parameter support field....................................................221
Table 186.Command timeouts descriptor format .....................................................222
Table 187.Command timeouts descriptor Command Specific Field usage .............222
Table 188.Report Supported Task Management Functions (A3/0D)........................223
Table 189.REQUEST SENSE (03) ...........................................................................225
Table 190.Sense Data Format and Length ................................................................225
Table 191.RESERVE (16).........................................................................................226
Table 192.RESERVE (56).........................................................................................227
Table 193.REZERO UNIT (01).................................................................................228
Table 194. SANITIZE (48)........................................................................................229
Table 195. SANITIZE Service Action Codes ...........................................................230
Table 196.Parameter List Format for Overwrite Service Action...............................230
Table 197.SEND DIAGNOSTIC (1D)......................................................................232
Table 198.SEND DIAGNOSTIC Function Code (1D) .............................................233
Table 199.Diagnostic Page 0 .....................................................................................234
Table 200.Diagnostic Page 3F...................................................................................234
Table 201.Diagnostic Page 40 ...................................................................................237
Table 202.Address to translate...................................................................................238
Table 203.SET DEVICE IDENTIFIER (A4/06).......................................................239
Table 204.SET DEVICE IDENTIFIER, Parameter List...........................................239
Table 205.START STOP UNIT (1B)........................................................................240
Table 206.Power Conditions: ....................................................................................241
Table 207.SYNCHRONIZE CACHE (10) - (35).....................................................243
Table 208.Synchronize Cache (16) - (91)..................................................................244
Table 209.TEST UNIT READY (00)........................................................................245
Table 210.VERIFY (10) - (2F)..................................................................................246
Table 211.Verify (12) - (AF).....................................................................................249
Table 212.Verify (16) - (8F)......................................................................................250
Table 213.Verify (32) - 7F/0A) .................................................................................251
Table 214.WRITE (6) - (0A).....................................................................................253
Table 215.WRITE (10) - (2A)...................................................................................254
Table 216.Write (12) - (AA)......................................................................................257
Table 217.Write (16) - (8A).......................................................................................258
Table 218.Write (32) - (7F/0B)..................................................................................259
Table 219.WRITE AND VERIFY (10) - (2E) ..........................................................261
Table 220.Write and Verify (12) - (AE)....................................................................262
Table 221.Write and Verify (16) - (8E).....................................................................263
Table 222.Write and Verify (32) - (7F/0C) ...............................................................264
Table 223.WRITE BUFFER (3B) .............................................................................265
Table 224.Write Buffer Header .................................................................................266
Table 225.WRITE LONG (3F)..................................................................................269
Table 226.WRITE LONG (9F)..................................................................................271
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 16
Table 227.WRITE SAME (41)..................................................................................272
Table 228.Write Same (16) - (93)..............................................................................273
Table 229.Write Same (32) - (7F/0D) .......................................................................274
Table 230.SCSI Status Byte. Format of the SCSI STATUS byte. ...........................277
Table 231.Spindle Motor Degraded Mode - Disable Auto Start...............................285
Table 232.Spindle Motor Degraded Mode - Auto Start Delay/Spinning Up ............286
Table 233.Spindle Motor Degraded Mode - Spindle Start Failure............................287
Table 234.Spindle Motor Degraded Mode - Spindle Stopped by Command............288
Table 235.Self Configuration Failure Degraded Mode ............................................289
Table 236.Format Command Failure Degraded Mode..............................................290
Table 237.Sense data combinations with auto/recommend rewrite/reallocate..........294
Table 238.Short and Extended Self-Test Description ...............................................299
Table 239.Recommend Reassign Errors....................................................................304
Table 240.Log Only Errors........................................................................................304
Table 241.Persistent Reserve In (5E) ........................................................................315
Table 242.HGST Implementation of Admin SP_CPIN & Locking C_PIN..............317
Table 243.HGST Implementation of K_AES_256 Table..........................................317
Table 244.HGST Implementation of Locking SP Access Control Table..................318
Table 245.HGST Implementation of Locking Info Table.........................................318
Table 246.HGST Implementation of Locking SP Locking Table.............................318
Table 247.Ports Functionality....................................................................................320
Table 248.Ports Table................................................................................................320
Table 249.Modified Admin SP ACE Table...............................................................320
Table 250.Modified Admin SP AccessControl Table ...............................................321
Table 251.T10 SCSI Commands Behavior Table .....................................................323
Table 252.TCG Enterprise SSC Commands Behavior ............................................325
Table 253.Sense data response codes. .......................................................................327
Table 254.Fixed Format of Sense Data. ....................................................................328
Table 255.Field Pointer Bytes ...................................................................................365
Table 256.Actual Retry Count...................................................................................366
Table 257.Progress Indication ...................................................................................367
Table 258.Descriptor Format Sense Data..................................................................369
Table 259.Sense Data Descriptor Format..................................................................369
Table 260.Supported Descriptor Types .....................................................................369
Table 261. ..................................................................................................................Sense Data
Descriptor List ......................................................................................................................370
Table 262. ..................................................................................................................Information
Sense Data Descriptor Format...............................................................................................370
Table 263.Command-specific Sense Data Descriptor Format...................................371
Table 264.Information Sense Data Descriptor Format..............................................371
Table 265.Field Replaceable Unit Sense Data Descriptor Format............................372
Table 266.Block Command Sense Data Descriptor Format......................................372
Table 267.Vendor Unique Unit Error Code Sense Data Descriptor..........................373
Table 268.Vendor Unique Physical Error Record Sense Data Descriptor ................373
Table 269.Unit Error Codes.......................................................................................375
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
Page 17

1.0 General

1.1 Introduction

This document describes the specifications of the following HGST 3.5 inch SAS drives.
Table 1: Product ID table
Drive Name Model Name Type Capacity Encryption
Enabled
Ultrastar 7K4000-4000 HUS724040ALS640
Ultrastar 7K4000-4000 HUS724040ALS641
Ultrastar 7K4000-3000 HUS724030ALS640
Ultrastar 7K4000-3000 HUS724030ALS641
Ultrastar 7K4000-2000 HUS724020ALS640
Ultrastar 7K4000-2000 HUS724020ALS641
Note: The specifications in this document are subject to change without notice. For technical and ordering information, please visit our website at http://www.hgst.com.
DK7SSD400
DK7SSD400
DK7SSD300
DK7SSD300
DK7SSD200
DK7SSD200
4TB No
4TB Yes
3TB No
3TB Yes
2TB No
2TB Yes
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
1
Page 18

1.2 Glossary

Word Meaning
ESD Electrostatic Discharge
Kbpi 1,000 bits per inch
Ktpi 1,000 tracks per inch
Gbps 1,000,000,000 bits per second
Mbps 1,000,000 bits per second
MB/s 1,000,000 bytes per second
TB 1,000,000,000,000 bytes (for Drive Capacity)
GB 1,000,000,000 bytes (for Drive Capacity)
MB 1,048,576 bytes (for Memory Size)
KB 1,024 bytes (for Memory Size)
S.M.A.R.T. Self-Monitoring Analysis and Reporting Technology
DFT Drive Fitness Test
ADM Automatic Drive Maintenance

1.3 Caution

The drive can be damaged by shock or ESD (Electrostatic Discharge). Any damage sustained by the drive after removal from the shipping package and opening the ESD protective bag are the responsibility of the user.

1.4 References

SAS Compliance – "Serial Attached SCSI - 2 (SAS-2)"
SAS Protocol – This drive supports Serial SCSI Protocol (SSP). – STP (Tunneled SATA) and SMP (Management protocol) protocols are NOT supported.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
2
Page 19

2.0 Outline of the Drive

• Data capacities of 4TB/3TB/2TB
• Spindle speeds of 7200 RPM
• Fluid Dynamic Bearing motor
• Dual Stage Actuator
• SAS Interface 6/3/1.5Gbps
• Supports dual-ported operations
• Supports full duplex operations
• Variable sector size (512 - 528 bytes in multiples of eight)
• Closed-loop actuator servo
• Load/Unload mechanism, non head disk contact start/stop
• Automatic Actuator lock
• Seek time of 8.2 ms typical (without Command Overhead
• Sector Buffer size of 64MB
(Upper 15MB is used for firmware, this is typical value, it depends on firmware revision)
• Write Cache
• Back to back write
• On The Fly Data correction
• Automatic defect reallocation
• Self diagnostics at power on
• Power saving modes (T10)
• S.M.A.R.T. (Self Monitoring and Analysis Reporting Technology)
• 64 bit addressing feature
• Adaptive zone formatting
• RVS (Rotational Vibration Safeguard)
• SAS-2 compliant
• ANSI T10 Protection Information (End-to-End)
• Support TCG Enterprise_A SSC Encryption (specific model only)
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
3
Page 20
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
4
Page 21

3.0 Fixed-disk Subsystem Description

3.1 Control Electronics

The drive is electronically controlled by a microprocessor, several logic modules, digital/analog modules, and various drivers and receivers. The control electronics performs the following major functions:
Controls and interprets all interface signals between the host controller and the drive.
Controls read write accessing of the disk media, including defect management and error recovery.
Controls starting, stopping, and monitoring of the spindle.
Conducts a power-up sequence and calibrates the servo.
Analyzes servo signals to provide closed loop control. These include position error signal and estimated velocity.
Monitors the actuator position and determines the target track for a seek operation.
Controls the voice coil motor driver to align the actuator in a desired position.
Constantly monitors error conditions of the servo and takes correspon ding action if an error occurs.
Monitors various timers such as head settle and servo failure.
Performs self-checkout (diagnostics).

3.2 Head Disk Assembly

The head/disk assembly (HDA) is assembled in a clean room environment and contains disks, a spindle motor, actuator assem­bly, and voice coil motor. Air is constantly circulated and filtered when the drive is operational. Venting of the HDA is accom­plished via a breather filter.
The spindle is driven directly by a brushless, sensorless DC drive moto r. Dynamic braking is used to stop the spindle quickly.

3.3 Actuator

The read/write heads are mounted in the actuator. The actuator is a swing-arm assembly driven by a voice coil motor. A closed-loop positioning servo controls the movement of the actuator. An embedded servo pattern supplies feedback to the positioning servo to keep the read/write heads centered over the desired track.
The actuator assembly is balanced to allow vertical or horizontal mounting without adjustment. When the drive is powered off, the actuator automatically moves the head to the actuator ramp outside of the disk where it
parks.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
5
Page 22
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
6
Page 23

4.0 Drive Characteristics

4.1 Formatted Capacity

Table 2: Formatted Capacity
Description 2TB model 3TB model 4TB model
Physical Layout
Label capacity 2TB 3TB 4TB Bytes per Sector 512 512 512 Number of Heads 6 8 10 Number of Disks 4 4 5 Number of Cylinders 262,604 262,604 262,604 Number of Sectors 3,907,029,168 5,860,533,168 7,814,037,168 Total Logical Data Bytes 2,000,398,934,016 3,000,592,982,016 4,000,787,030,016

4.2 Data Sheet

Table 3: Data Sheet Description 2TB 3TB 4TB
Model Model Model
Max Data transfer rate (Mbps) 1828 1828 1828 Interface transfer rate (MB/s) 600
1
Data buffer size Rotational speed (RPM) 7,200 Number of buffer segments 1-254 Recording density- max (Kbpi) 1677 1677 1677 Track density (Ktpi) 311 311 311
Areal density - max (Gbits/in Number of data bands 40
(MB)
2
)
522 522 522
64
1
Upper 15MB are used for firmware, this is a typical value, it depends on firmware revision
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
7
Page 24

4.3 Inquiry Information

4.3.1 Product ID

Product ID in Section 18.5.1, “Inquiry Data” on page 79, is as follows:
Table 4: Product ID in Inquiry Command
Product ID Description HUS724040ALS640 4 TB, SAS HUS724040ALS641 4 TB, SAS HUS723030ALS640 3 TB, SAS HUS723030ALS641 3 TB, SAS HUS723020ALS640 2 TB, SAS HUS723020ALS641 2 TB, SAS

4.3.2 World Wide ID - Block Assignment

Block Assignment of World Wide ID is as follows: Table 5: Block assignment of World Wide ID in INQUIRY Command
Manufacturing Site Product Block Assignment
Thailand
HU S 7 2 303 0 A LS 6 4 0 (YH S e r i al N u m be r 3 T B)
HUS723030ALS641 – Common SATA/ SAS S/N’s
HUS723030ALS640 HUS723030ALS641
Thailand
HU S 7 2 302 0 A LS 6 4 0 (YH S e r i al N u m be r 2 T B)
HUS723020ALS641 – Common SATA/ SAS S/N’s
HUS723020ALS640 HUS723020ALS641
Thailand
HUS723020ALS640 (YH Serial Number 2TB 7 dn)
HUS723020ALS641 – Common SATA/ SAS S/N’s
HUS723020ALS640 HUS723020ALS641
Note (1) - Additional block assignment wi ll be issued as needed based on actual production vol um e .
01Ah
01Bh
01Ch
(1)
(1)
(1)
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
8
Page 25

4.4 Performance characteristics

Drive performance is characterized by the following parameters:
•Command overhead
•Mechanical head positioning
- Seek time
- Latency
•Data transfer speed
•Buffering operation (read ahead/write cache)
Note: All the above parameters contribute to drive performance. There are other parameters that contribute to the perfor­mance of the actual system. This specification tries to define the bare drive characteristics, not system throughput, which depends on the system and the application.

4.4.1 Mechanical positioning

4.4.1.1 Average seek time (without command overhead, including settling)
Table 6: Mechanical positioning performance
Command Type Typical (ms) Max (ms)
Read 8.2 10.2 Write 8.2 10.2
The terms “Typical” and “Max” are used throughout this specification with the following meanings:
Typical . The average of the drive population tested at nominal environmental and voltage conditions. Max. The maximum value measured on any one drive over the full range of the environmental and voltage
conditions. (See Section 6.2, “Environment” and Section 6.3, “DC Power Requirements”)
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
9
Page 26
4.4.1.2 Full stroke seek time
Table 7: Full stroke seek time
Function Typical (ms) MAx (ms)
Read 14.5 24.0
Write 14.5 24.0
4.4.1.3 Average latency
Table 8: Latency time
Rotation Time for a revolution (ms) Average latency (ms)
7200 RPM 8.33 4.16

4.4.2 Drive ready time

Table 9: Drive ready time
Model Typical (sec) Maximum (sec)
4TB 22.6 30 3TB 18.7 30 2TB 17.4 30
Ready The condition in which the drive is able to perform a media access command (such as read, write)
immediately.
Power on This includes the time required for the internal self diagnostics.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
10
Page 27

4.4.3 Data transfer speed:

Table 10: Data transfer speed (sector size 512 Byte case)
Description Typical (MB/Sec) Disk-buffer transfer Zone Read Write
Instantaneous 0 203 203 Measured typical values for sustained disk-buffer transfer rate 0 183 183
Instantaneous 39 103 103 Measured typical values for sustained disk-buffer transfer rate 39 94 94
Notes:
Instantaneous disk-buffer transfer rate is derived by: (Number of sectors on a track) x 512 x (revolutions/sec)
For this table, '1 MB / Sec' should be interpreted as 1,000,000 bytes per Second.
The number of sectors per track varies in each zone (radius) as a result of constant linear density recording.
Sustained disk-buffer transfer rate is the average rate measured while transferring multiple cylinders of data. It differs from the instantaneous transfer rate because of the time required to change tracks (Track skew and Head skew). In addition, time is added for the occasional missed track switch.

4.4.4 Buffering operation (read ahead/write cache)

This hard disk drive has a buffer for read ahead see 20.8, “Segmented Caching” on page 295.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
11
Page 28
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
12
Page 29

5.0 Data Integrity

The drive retains recorded information under all non-write operations. No more than one sector can be lost by power down during a write operation while write cache is disabled. If power down
occurs before completion of a data transfer from write cache to disk while write cache is enabled, the data remaining in the write cache will be lost. To prevent this data loss at power off, the following action is recommended:
Confirm successful completion of a SYNCHRONIZE CACHE (35h) command

5.1 Equipment Status

Equipment status is available to the host system any time the drive is not ready to READ, WRITE or SEEK. This status nor­mally exists at power-on time and will be maintained until the following conditions are satisfied:
Access recalibration/tuning is complete
Spindle speed meets requirements for reliable operations
Self-check of drive is complete
Appropriate error status is made available to the host system if any of the following conditions occur after the drive has become ready:
Spindle speed goes outside of requirements for reliable operation
“Write fault” is detected

5.2 Error Recovery Procedure

Errors occurring with the drive are handled by the error recovery procedure. Errors that are uncorrectable after application of the error recovery procedures are reported to the host system as non-recover-
able errors.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
13
Page 30
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
14
Page 31

6.0 Physical Format

Media defects are remapped to the next available sector during the Format Process in manufacturing. The mapping from Log­ical Block Address (LBA) to the physical Block locations is calculated using internally maintained tables.

6.1 Shipped Format (P-List)

Data areas are optimally used.
All pushes generated by defects are absorbed by available tracks of the inner notch.
P-List Physical Format
Note: Defects are skipped without any constraint, such as track or cylinder boundary. The calculation from LBA to physical
is done automatically by internal table.

6.2 Reassigned Format (G-List)

G-List has a capacity of 22,000 Customer LBAs
Multiple reassignments of the same Customer LBA increase the number of G-List entries.
A track for spare sectors is inserted after every 800 nominal customer tracks.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
15
Page 32
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
16
Page 33

7.0 Electrical Interface

7.1 SAS Connector

The drive uses the standard 29 pin Serial Attached SCSI (SAS) connector which conforms to the mechanical requirements of SFF 8482. The connector is expected to be used in an environment which uses a common connector structure for racking disk drives in a cabinet. The connector allows for plugging a drive directly into a backplane by providing the necessary electrical connection. Mechanical stability and device retention must be provided by a mechanism outside the drive.

7.1.1 29 pin Serial Attached SCSI (SAS) Connector Definition

Diagram of top and bottom of connector showing pinouts.
Table 11: 29-pin Connector Signal Definition
Pin Number Signal Description
S1 GND GND for SAS Primary Port S2 RP+ SAS Primary Port Receive
(positive) signal
S3 RP- SAS Primary Port Receive
(negative) signal S4 GND GND for SAS Primary Port S5 TP- SAS Primary Port Transmit
(negative) signal S6 TP+ SAS Primary Port Transmit
(positive) signal S7 GND GND for SAS Primary Port S8 GND GND for SAS Secondary
Port
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
17
Page 34
Pin Number Signal Description
S9 RS+ SAS Secondary Port Receive
(Positive) signal S10 RS- SAS Secondary Port
S11 GND GND for SAS Secondary
S12 TS- SAS Secondary Port
S13 TS+ SAS Secondary Port
S14 GND GND for SAS Secondary
P1 +3.3V NOT USED (Pins P1-P3
P2 +3.3V NOT USED (Pins P1-P3
P3 +3.3V NOT USED (Pins P1-P3
P4 GND GROUND P5 GND GROUND P6 GND GROUND P7 +5V-Charge Pre-charge pin for +5V
Receive (negative) signal
Port
Receive (negative) signal
Receive (positive) signal
Port
tied internally)
tied internally)
tied internally)
P8 +5V +5V power supply input P9 +5V +5V power supply input P10 GND GROUND P11 READY LED READY LED output P12 GND GROUND P13 +12V=Charge Pre-charge pin for +12V P14 +12V +12V power supply input P15 +12V +12V power supply input

7.1.2 Voltage and Ground Signals

The 12V and 5V contacts provide all of the voltages required by the drive. The two voltages share a common ground plane to which all of the ground contacts are connected.

7.1.3 Ready LED output

The drive provides an open-drain driver with 15mA of current sink capability to the Ready LED Output signal. The cathode of the LED should be connected to this signal. The LED and the current-limiting resistor must be provided by the enclosure
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
18
Page 35

8.0 Environment

8.1 Temperature and humidity

Table 12: Operating and non-operating conditions
Operating conditions
Ambient Temperature 5°C to 60ºC Relative humidity 5 to 90%, non-condensing Maximum wet bulb temperature 29.4ºC, non-condensing Maximum surface temperature gradient 20ºC/hour Altitude -305 to 3,048 m
Shipping conditions
Ambient Temperature -40°C to 70ºC Relative humidity 5 to 95%, non-condensing Maximum wet bulb temperature 35ºC, non-con densing Maximum surface temperature gradient 30ºC/hour Altitude -305 to 12,192 m
Storage conditions
Ambient Temperature -40°C to 70ºC Relative humidity 5 to 90%, non-condensing Maximum wet bulb temperature 35ºC, non-con densing Altitude -305 to 12,192 m
Environments that contain elevated levels of corrosives (e.g. hydrogen sulfide, sulfur oxides, or hydrochloric acid) should be avoided. Care must be taken to avoid using any compound/material in a way that creates an elevated level of corrosive materi­als in the atmosphere surrounding the disk drive. Care must also be taken to avoid use of any organometallic (e.g. organosili­con or organotin) compound/material in a way that creates elevated va por levels of th ese compounds/materials in the atmosphere surrounding the disk drive.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
19
Page 36

8.2 Storage requirements

8.2.1 Packaging

The drive or option kit must be heat-sealed in a moisture barrier bag with desiccant inside the bag supplied by HGST, a West­ern Digital Company.

8.2.2 Storage time

The drive may not remain inoperative for a period of more than one year. During this time, the maximum time the drive may be stored after the bag is opened is six months.

8.3 Corrosion test

The hard disk drive shows no signs of corrosion inside or outside of the hard disk assembly and remains functional after being exposed to a temperature of 50ºC and relative humidity of 90% for seven days

8.4 Cooling requirements

HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
20
Page 37
Drive component surface temperatures must remain within the limits specified in the following table. The drive may require forced air cooling to meet specified operating temperatures.
Table 13: Maximum allowable surface temperatures
Module name Location Maximum allowable surface temperature
HDD base casting as noted in picture 60ºC
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
21
Page 38
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
22
Page 39

9.0 DC Power Requirements

The following voltage specification applies at the drive power connector. Connections to the drive should be made in a safety extra low voltage (SELV) circuit. There is no power on or power off sequencing requirement.
Adequate secondary over-current protection is the responsibility of the system.
Table 14: Input Voltage and capacitance
Tolerance
+5 Volts Supply +/- 5% 5.5 V 0-200 ms 53 uF +12 Volts Supply +/- 5% 15 V 0-400 ms 26 uF
Note: -8% is acceptable during spin up, but the spin up time is not guaranteed.
Absolute Max
Spike Voltage
Supply Rise Time Capacitance

9.1 Power Supply Current, Average and Peak

The following current and power requirements are typical when operating under the following conditions: Nominal 5 and 12V, Background Media Scan (BMS) disabled for Idle, Write Caching disabled and the drive reporting a temperature of 40C.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
23
Page 40
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
24
Page 41

9.2 Ripple Voltage

Table 15: Power Supply Generated Ripple at Drive Power Connector
Maximum (mV pp) MHz
+5 V DC 250 0-10
+12 V DC 250 0-10
During drive start up and seek, 12 volt ripple is generated by the drive (referred to as dynamic loading). If the power of several drives is daisy chained, the power supply ripple plus other drive dynamic loading must remain within the regulation tolerance of +5%. A common supply with separate power leads to each drive is a more desirable method of power distribution.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
25
Page 42
To prevent external electrical noise from interfering with the drive's performance, the drive must be held by four screws in a user system frame that has no electrical level difference at the four screw positions. The drive enclosure must not be used in the current return path of the drive power supply. The maximum common-mode noise current passing through the drive must not exceed 20 mA.

9.3 Power Consumption Efficiency Index

Table 16: Power Consumption Efficiency Index
Model 4 TB Model 3 TB Model 2 TB Model
Power Consumption Efficiency Index -Idle Mode (W/GB) 0.0019 0.0022 0.0033
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
26
Page 43

10.0 Reliability

10.1 Start/Stop Cycles

The drive is designed to withstand a minimum of 50,000 start/stop cycles at ambient environment. The drive is designed to withstand a minimum of 10,000 start/stop cycles at the operating environment conditions specified in
Chapter 8.0, “Environment” on page 19.

10.2 Load/Unload Cycles

The drive is designed to withstand a minimum of 600,000 load/unload cycles at the operating environmental conditions speci­fied in Chapter 8.0, “Environment” on page 19

10.3 Data Reliability

•The probability of an uncorrectable data error is 1 in 1x1015 bits read.
•The channel design is changed from the prior generation of DASD devices to use an LDPC channel having similar code rate to prior Reed Solomon error correction. The design of the LDPC channel includes usage of media defect detec­tion circuits for locating defects and performing erasure correction, replacing the offline erasure correction capability of RS codes. Modulation coding properties for timing and gain recovery are equivalent to prior product generation
•LDPC implementation:
Single LDPC codeword per sector with 576 bits of parity
Media defect detection circuit using erasure flags to zero LLR values
LDPC code designed to correct defects up to 425 bits
LBA seeded 80 bit CRC for miscorrect detection

10.4 Seek errors

A non-recoverable seek/ID miscompare error is defined as a seek operation that cannot be recovered by the error recovery pro­cedure of the drive. The drive reports sense key 04 and sense code 02 for this error.
No drive has more than one non-recoverable seek/ID miscompare error per 100 million seek operations (1 in 1x 10 operated at the full range of voltage and environmental conditions.
8
) when

10.5 Failure prediction (S.M.A.R.T)

A recoverable equipment error is an error other than a seek/ID miscompare error or read error that is detected and corrected by the drive error recovery procedure. Examples are Write Fault, Drive Not Ready and internal drive errors.
SMART Monitoring Parameters are checked to determine if the (Read/Write/Seek) error rates exceed the drive’s threshold value when an error occurs and a minimum amount of operation has been completed. A check is also performed for a mini­mum level of Spare Sector Availability.
The Head Load / Unload Count, Spin Up Time and Spin Up Retry Count parameters are checked prior to reporting a “Ready” condition at Power On.
Non-recoverable equipment errors indicate a defective drive.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
27
Page 44

10.6 MTBF (Mean Time Between Failure): 2.0 M hours.

This MTBF target is based on a sample population and is estimated by statistical measurements and acceleration algorithms under nominal operating conditions. MTBF ratings are not intended to predict an individual drive’s reliability. MTBF does not constitute a warranty.

10.7 Preventive Maintenance

None.

10.8 Temperature Warning

Temperature Warning is enabled by setting the EWASC (Enable Warning Additional Sense Code) bit to 1 and setting DEX­CPT (Disable Exception Control) bit to 0 in Mode Page 1C. For mode page settings, refer to Section 18.10.14, “.Mode Page 1C (Informational Exceptions Control)” on page 173. The warning is issued as sense data (Sense Key 01h , Code 0Bh, Qual 01h).
The drive temperature is reported in Log Sense page 2F. Refer to Section 18.7.12, “Log Sense Page 18” on page 121.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
28
Page 45

11.0 Mechanical Specifications

11.1 Outline

S
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
29
Page 46

11.2 Mechanical Dimensions

The drive complies with SFF-8301.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
30
Page 47
Table 17: Physical Dimensions
Height [mm] 26.1 MAX Width [mm] 101.6 ± 0.25 Length [mm] 147 MAX Weight [grams - maximum] 2 TB Model 673 grams
3 TB Model 673 grams 4 TB Model 696 grams
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
31
Page 48

11.3 Interface Connector

11.4 Mounting Positions and Tappings

The mounting hole location and size for the hard disk drive is shown below.
Thread (1) (2) (3) (4) (5) (6) (7)
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
32
Page 49
6-32UNC 41.28±0.5 44.45±0.2 95.25±0.2 6.35±0.2 28.5±0.5 60.0±0.2 41.6±0.2

11.5 Drive Mounting

The drive will operate in all axes (6 directions). Performance and error rate will stay within specification limits if the driv e is operated in the other orientations from which it was formatted.
The recommended mounting screw torque is 0.6 - 1.0 Nm (6 - 10 kgf-cm). The recommended mounting screw depth is 4 mm maximum for bottom and 4.5 mm maximum for horizontal mounting .
T o avoid performance degradation, mount the drive in the system securely enough to prevent excessive motion or vibration of the drive at seek operation or spindle rotation, using appropriate screws or equivalent mounting hardware. Consult with the issuer of this specification for actual application if necessary.
Drive level vibration tests and shock tests are to be conducted with the drive mounted to a table using the bottom four screws.

11.6 Heads Unload and Actuator Lock

Heads are moved out from the disks (unload) to protect the disk data during shipping, moving or storage. At power down , the heads are automatically unloaded from over the disk area and the head actuator locking mechanism will secure the heads in the unload position.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
33
Page 50
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
34
Page 51

12.0 Vibration and Shock

All vibration and shock measurements recorded in this section are made with a drive that has no mounting attachments for the systems. The input power for the measurements is applied to the normal drive mounting points.

12.1 Operating vibration

12.1.1 Random vibration (Linear)

The test is 30 minutes of random vibration using the power spectral density (PSD) levels shown below in each of three mutually perpendicular axes. The disk drive will operate without non-recoverable errors when subjected to the below random vibration levels.
Table 18: Random vibration PSD profile break points (operating)
Frequency 5 Hz 17 Hz 45 Hz 48 Hz 62 Hz 65 Hz 150 Hz 200 Hz 500 Hz RMS
(m/sec
[(m/sec2)2/Hz]
The overall RMS (root mean square) level is 6.57 m/sec2 (0.67 G).
1.9 x 10E-3
1.1 x 10E-1
1.1 x 10E-1
7.7 x 10E-1
7.7 x 10E-1
9.6 x 10E-2
9.6 x 10E-2
4.8 x 10E-2
4.8 x10E-2
6.57

12.1.2 Swept sine vibration (Linear)

The drive will meet the criteria shown below while operating in the specified conditions:
• No errors occur with 4. 9 m/sec
dwells at two major resonances
No data loss occurs with 9.8 m/sec
minute dwells at two major resonances
2
(0.5 G) 0 to peak, 5 to 300 to 5 Hz sine wave, 0.5 oct/min sweep rate with 3-minute
2
(1 G) 0 to peak, 5 to 300 to 5 Hz sine wave, 0.5 oct/min sweep rate with 3-

12.1.3 Random vibration (Rotational)

The drive will meet the criteria shown below while operating in the specified conditions:
Less than 20% Performance degradation
The overall RMS (Root Mean Square) level of vibration is 12.5Rad/sec^2. PSD profile is shown below.
Table 19: Random vibration (Rotational) PSD profile break points (TBD)
2
)
Frequency 20 Hz 100 Hz 200 Hz 800 Hz 1000 Hz 1500 Hz 1700 Hz 2000 Hz RMS (Rad/s2)
[(Rad/s2)2 / Hz] 1.90E-02 1.90E-02 1.87E-01 1.87E-01 5.33E-02 7.70E-03 4.00E-03 4.00E-03 12.5
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
35
Page 52

12.2 Nonoperating vibration

The drive does not sustain permanent damage or loss of previously recorded data after being subjected to the environment de­scribed below

12.2.1 Random vibration

The test consists of a random vibration applied for each of three mutually perpendicular axes with the time duration of 10 min­utes per axis. The PSD levels for the test simulate the shipping and relocation environment shown below. The overall RMS
(Root Mean Square) level of vibration is 10.2 m/sec
Table 20: Random vibration PSD profile break points (non operating)
Frequency 2 Hz 4 Hz 8 Hz 40 Hz 55 Hz 70 Hz 200 Hz
[(m/sec2)2/Hz] 0.096 2.89 2.89 0.289 0.962 0.962 0.096

12.2.2 Swept sine vibration

19.6 m/sec2 (2 G) (Zero to peak), 5 to 500 to 5 Hz sine wave
0.5 oct/min sweep rate
3 minutes dwell at two major resonances
2
(1.04 G).

12.3 Operating shock

The drive meets the following criteria while operating in the conditions described below. The shock test consists of 10 shock inputs in each axis and direction for total of 60. There must be a delay between shock pulses long enough to allow the drive to complete all necessary error recovery procedures.
No error occurs with a 98.1 m/sec
No data loss occurs with a 294 m/sec
No data loss occurs with a 686 m/sec
2
(10 G) half-sine shock pulse of 11 ms duration
2
(30 G) half-sine shock pulse of 4 ms duration.
2
(70 G) half-sine shock pulse of 2 ms duration.

12.4 Nonoperating shock

The drive will operate without non-recoverable errors after being subjected to shock pulses with the followin g characteristics.

12.4.1 Trapezoidal shock wave

Approximate square (trapezoidal) pulse shape
Approximate rise and fall time of pulse is1 ms
Average acceleration level is 490 m/sec rise time and before the 1 ms fall with a time "duration of 11 ms")
Minimum velocity change is 4.23 m/sec
2
(50 G). (Average response curve value during the time following the 1 ms
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
36
Page 53

12.4.2 Sinusoidal shock wave

The shape is approximately half-sine pulse. The figure below shows the maximum acceleration level and duration.
Table 21: Sinusoidal shock wave
Acceleration level (m/sec2) Duration (ms)
2940 (300G) 1
1470 (150G)
11

12.5 Nonoperating Rotational shock

All shock inputs shall be applied around the actuator pivot axis.
Table 22: Sinusoidal shock wave
Duration Rad/Sec
1 ms 30,000
2 ms
All vibration and shock measurements in this section are made with a bare drive. The input for the measurements are applied to the normal drive mounting points unless noted otherwise.
2
20,000
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
37
Page 54
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
38
Page 55

13.0 Acoustics

The upper limit criteria of the octave sound power levels are given in Bels relative to one picowatt and are shown in the fol­lowing table. The sound power emission levels are measured in accordance with ISO 7779.
Table 23:
Idle 2.9 / 3.4 Operating Seek Mode 3.6 / 4.0
Mode definition:
Sound power levels
Mode 7200rpm (Typical / Max)
Idle mode. The drive is powered on, disks spinning, track following, unit ready to receive and respond to interface
commands. Operating mode. Continuous random cylinder selection and seek operation of the actuator with a dwell time at each
cylinder. The seek rate for the drive is to be calculated as shown below:
Dwell time = 0.5 x 60/RPM
Seek rate = 0.4 / (Average seek time + Dwell time)
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
39
Page 56
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
40
Page 57

14.0 Identification

14.1 Labels

The following labels are affixed to every hard disk drive shipped from the drive manufacturing location in accordance with appropriate hard disk drive assembly drawing:
A label containing the HGST logo, HGST part number and the statement “Made by HGST,” or HGST approved equivalent.
A label containing drive model number, manufacturing date, formatted capacity, country of origin or HGST approved equivalent and UL, C-UL, TUV, CE, MIC, BSMI,CTICK, RoHS and Recycle logos.
A bar code label containing the drive serial number.
A user designed label, per agreement
Interface definition mark, SAS-2 Model
The labels may be integrated with other labels.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
41
Page 58
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
42
Page 59

15.0 Electromagnetic Compatibility

The drive, when installed in a suitable enclosure and exercised with a random accessing routine at a maximum data rate will comply with the worldwide EMC requirements listed below . The drive is designed for system integration and installation into a suitable enclosure for use. As such, the drive is supplied as a subassembly and is not subject to Subpart B of Part 15 of the FCC Rules and Regulations.
The design of the drive serves to minimize radiated emissions when installed in an enclosure that provides reasonable shield­ing. As such, the drive is capable of meeting FCC Class B limits. However, it is the users responsibility to assure that the drive meets the appropriate EMC requirements in their system. Shielded I/O cables may be required if the enclosure does not pro­vide adequate shielding, with the shields grounded to the enclosure and to the host computer.
Radiated and Conducted EMI
CISPR22 Class B AS/NZS CISPR22 Class B CNS13438 (Taiwan) Class B EN 55022: 2006 + A1:2007 Class B FCC Title47 Part 15 (USA) Class B GB9254 (China) Class B ICES-003, Issue 4 Class B VCCI (Japan) Class B
ITE Immunity
EN 55024: 1998 +A1:2001 +A2:2003
Power Line Harmonics
EN 61000-3-2:2006+A1:2009+A2:2009 GB17625.1 (China)
Voltage Fluctuations and Flicker
EN 61000-3-3:2008 GB17625.2 (China)

15.1 Class B Regulatory Notices

European Union
This product is in conformity with the protection requirements of EU Council Directive 2004/108/EC on the approximation of the laws of the Member States relating to electromagnetic compatibility. HGST cannot accept responsibility for any failure to satisfy the protection requirements resulting from a non-recommended modification of the product, including the fitting of non-HGST option cards.
This product has been tested and found to comply with the limits for Class B Information Technology Equipment according to European Standard EN 55022. The limits for Class B equipment were derived for typical residential environments to provide
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
43
Page 60
reasonable protection against interference with licensed communication devices.
Canada
This Class B digital apparatus complies with Canadian ICES-003. Cet appareil numérique de la classe B est conforme à la norme NMB-003 du Canada.
Germany
Deutschsprachiger EU Hinweis: Hinweis für Geräte der Klasse B EU-Richtlinie zur Elektromagnetischen Verträglichkeit Dieses Produkt entspricht den Schut­zanforderungen der EU-Richtlinie 89/336/EWG zur Angleichung der Rechtsvorschriften über die elektromagnetische V er­träglichkeit in den EU-Mitgliedsstaaten. und hält die Grenzwerte der EN 55022 Klasse B ein. Um dieses sicherzustellen, sind die Geräte wie in den Handbüchern beschrieben zu installieren und zu betreiben. Des Weiteren dürfen auch nur von der HGST empfohlene Kabel angeschlossen werden. HGST übernimmt keine Verantwortung für die Einhaltung der Schutzanforderun­gen, wenn das Produkt ohne Zustimmung der HGST verändert bzw. wenn Erweiterungskomponenten von Fremdherstellern ohne Empfehlung der HGST gesteckt/eingebaut werden.
Deutschland: Einhaltung des Gesetzes über die elektromagnetische Verträglichkeit von Geräten Dieses Produkt entspricht dem "Gesetz über die elektromagnetische Verträglichkeit von Geräten (EMVG)". Dies ist die Umsetzung der EU-Richtlinie 89/336/EWG in der Bundesrepublik Deutschland.
Zulassungsbescheinigung laut dem Deutschen Gesetz über die elektromagneti-sche Verträglichkeit von Geräten (EMVG) vom
18. September 1998 (bzw. der EMC EG Richtlinie 89/336) für Geräte der Klasse B Dieses Gerät ist berechtigt, in Übereinstim­mung mit dem Deutschen EMVG das EG-Konformitätszeichen - CE - zu führen. Verantwortlich für die Konformitätserk­lärung nach Paragraf 5 des EMVG ist die HGST, a Western Digital Company, 3403 Yerba Buena Road
San Jose, CA 95135. Informationen in Hinsicht EMVG Paragraf 4 Abs. (1) 4:
Das Gerät erfüllt die Schutzanforderungen nach EN 55024 und EN 55022 Klasse B.
Korea (MIC)
Taiwan (BSMI)
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
44
Page 61

16.0 Safety Standards

The following shows the safety standards for different countries.

16.1 UL and C-UL Standard Conformity

This drive is used as a component in Information Technology Equipment (ITE) business equipment systems. This drive is certified for use in the United States per UL 60950-1, Second Edition, A1:2011-12-19 and in Canada per CSA C22.2 No. 60950-1-07 Second Edition, 2011-12. The cRUus UL component recognition mark is specifically used on component parts that are part of a larger product or system and indicates compliance with both Canadian and U.S. require­ments. The recognition mark appears on the drive label and is maintained for the life of the product.

16.2 European Standards Compliance

The product is additionally certified to the following standard: International Electrotechnical Commission (IEC) Safety Standard: IEC 60950-1:2005 Second Edition + A1:2009

16.3 German Safety Mark

This product has received the TUV Bauart Certification mark under EN 60950-1:2006 + A11:2009 + A1:2010 + A12:2011 safety standard. The GS mark is not applicable to internal subsystem drives.

16.4 Flammability

The printed wiring boards, flex cables, and connectors used in this drive meet or exceed the UL minimum flammability classi­fications listed in the table below.
The flammability rating is marked or etched on the board.
Component Flammability Rating Rigid Printed Wiring Board Min. V-1 Flex Cable - no components Min. V-2 Flex Cable with components Min. V-1 Interface & motor connectors Min. V-2

16.5 Corporate Standards Compliance

This product has been designed to meet the following Corporate Standards:
- NB 3-0501-201 Product Safety, National Requirements-All Countries.
- CS 3-0501-070 Electrical, Mechanical and Flammability
- NB 3-0501-033 Product Safety National Certification Conformity Requirement
- CS 1-9700-020 Eco-Product Design Requirement
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
45
Page 62
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
46
Page 63

17.0 SAS Attachment

This section defines some basic terminology and describes the behavior of the drive when attached to a Serial Attached SCSI (i.e. SAS) domain.

17.1 General

This section introduces some of the terminology that is used in describing Serial Attached SCSI (i.e. SAS). SAS is logically a bi-directional, point to point serial data channel that leverages the SCSI protocol set. Nodes are physically
connected via a Port. Ports may be connected point-to-point via SAS expanders, to form a complex switching network, referred to as a SAS domain. SAS is defined in terms of a hierarchy of functions or 'protocol layers'. This discussion will focus in on the aspects of SAS that
are relevant to this product.
SCSI Application Layer - Clause 10
SSP Transport Layer (
SAS Port Layer - Clause 8
SSP Link Layer - Clause 7
SAS PHY Layer - Clause 6
SAS Physical Layer - Clause 5
All layers are defined in the following ANSI standard.
"Serial Attached SCSI - 2 (SAS-2)"
In addition, this drive claims compliance with the following ANSI standards.
SCSI Architecture Model (SAM-3)
SCSI Block Commands (SBC2)
Serial SCSI Protocol) - Clause 9

17.2 SAS Features

The following SAS features are supported by the Drive.
• SAS Compliance
- "Serial Attached SCSI - 2 (SAS-2)"
• SAS Protocol
- This drive supports
Serial SCSI Protocol (SSP).
- STP (Tunneled SATA) and SMP (Management protocol) protocols are NOT supported.
• SAS Dual Ported Operation
- single PHY ports (i.e. Narrow port. Wide Port NOT supported)
- ports function independently with separate firmware controls
- Multiple DMA engines capable of accessing either port
- full duplex and dual port DMA data/data operations
- Maximum outstanding credit of four per port
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
47
Page 64
• Physical Link Rates
- G1 (1.5 Gbps), G2 (3.0 Gbps), and G3 (6.0 Gbps) supported
- Largely Automated OOB and speed negotiation sequences
- Optional Support for the hot-plug timeout in hardware
• Partial support for Disconnect/Reconnect Mode Page (0x02)
- Maximum Connect Time Limit - SUPPORTED
- Bus Inactivity Time Limit - NOT SUPPORTED
- Maximum Burst Size - SUPPORTED
- First Burst Size - NOT SUPPORTED
•Others...
- Connection Rate Matching
- Hard Reset primitive sequence detection and validation in hardware
- Support for NOTIFY (Enable Spin-up) and NOTIFY (Power Loss Expected)
- Hashed WWN validation in hardware
- extended CDB support

17.3 SAS Names and Identifiers

In SAS, device and port names are worldwide unique names within a transport protocol. Port identifiers are the values by which ports are identified within a domain, and are used as SAS addresses. Phy identifiers are unique within a device.
Table 24: Names and identifiers
Object SAS Implementation
Port Identifier SAS address
Port Name Not defined
Device Name SAS address
Phy Identifier Phy identifier
Where the SAS Address format is defined by ANSI as follows:
Byte/Bit76543210
0 NAA (5h) (MSB) 1 IEEE Company ID 2 3(LSB) (MSB) 4 5 6
Vendor Specific Identifier
7
(LSB)
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
48
Page 65
The SAS Device Name is a unique SAS address world wide name. This device name is reported through the SCSI Vital Prod­ucts Data.
Each of the two SAS ports also has a unique SAS address world wide name. These port identifiers are reported in the IDEN­TIFY Address frame and are used as source and destination addresses in the OPEN address frame. They are also reported through the SCSI Vital Products Data.
Since this drive is one device with two ports it has three SAS addresses. All SAS Addresses are in 64-bit IEEE Registered Name format, as illustrated in Table 25.
Table 25: IEEE Registered Name format
Bit
63-60 59-36 35-24 23-2 1-0
0101 OUI in Canonical Form Block Assignment S/N Object
The Name Address Authority field (5h) specifies the format used for the rest of the name as follows:
Field Description
OUI Organizationally Unique Identifier (24 bits). Canonical form means that each
byte is stored in “bit reversed” order.
Block Assignment Block assignment within HGST, a Western Digital Company
Object Device Name/Port Identifier
00b Logical Unit Name 01b Port 1 10b Port 2 11b Target Device Name
S/N Sequentially increasing drive serial number assigned at manufacturing.

17.4 Spin up

The drive supports the Active Wait, Active, and S topped states specified by the SAS standard. After power on, the drive enters the Active Wait state. The Drive will not spin up it's spindle motor after power on until it receives a NOTIFY (Enable Spinup) primitive on either port to enter the Active state. If a NOTIFY (Enable Spinup) primitive is received prior to receiving a Start­Stop Unit command with the Start bit set to one, spin up will begin immediately. For SAS, this is analogous to auto-spinup function in legacy SCSI. This provision allows the system to control the power spikes typically incurred with multiple drives powering on (and spinning up) simultaneously. If a StartStop command with the Start bit set to one is received prior to receiving a NOTIFY (Enable Spinup), the Drive will not start it’s spindle motor until Notify (Enable Spinup) is received on either port. Successful receipt of a NOTIFY (Enable Spinup) is a prerequisite to spin up.
If the StartStop Unit command with the Start bit set, also has the immediate bit set, status will be returned prior to actually spinning up the motor, but the actual act of spinning up the motor is deferred until receipt of the NOTIFY (Enable Spinup) primitive. If a media access command is received after sending immediate Status and prior to receiving a NOTIFY (Enable Spinup), the Drive will terminate the command with CHECK CONDITION status with a sense key of NOT READY and an additional sense code of LUN NOT READY, NOTIFY (ENABLE SPINUP) REQUIRED. If a media access command is received after receiving the NOTIFY (Enable Spinup) primitive and before the drive is finished spinning up, the Drive will ter­minate the command with CHECK CONDITION status with a sense key of LUN NOT READY and an addition sense code of
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
49
Page 66
LUN IS IN THE PROCESS of BECOMING READY.
Active Wait Stopped
Active
Power On
NOTIFY
(ENABLE SPINUP)
STOP UNIT
START UNIT
STOP UNIT

17.5 PHY Layer

The Phy layer defines 8b10b coding and OOB signals. The Phy layer is the interface between the link layer and the physical layer. This section describes Phy Layer behaviors of the Drive. For a complete description of SAS Phy Layer, please see the ANSI specification, SAS 1.1.

17.5.1 Link Reset Sequence

The Link Reset Sequences for SAS are defined in the SAS 2 ANSI specification and shown below. As show in the diagram, a Phy Reset sequence, consists of an OOB sequence, followed by speed negotiations. Link Reset Sequences will always include a PHY Reset Sequence, followed by an Identification Sequence. Inclusion of a Hard reset sequence is optional. If Hard Reset is performed, it will be preceded by a Phy Reset sequence, and will be followed by Phy Reset/Identification sequences.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
50
Page 67

17.5.2 Hard Reset

Link Reset Sequence with hard Reset
Time
Phy Reset sequence
Identification sequence
Phy Reset sequence Hard Reset Sequence
Phy Reset sequence Identification sequence
Time
SAS
SAS w/Hard Reset
Link Reset sequence
OOB sequence Speed Negotiation
sequence
A Hard Reset sequence on a port will not affect the other port, but the outstanding commands on the other port will be aborted due to the LUN reset associated with the Hard Reset. The effect of a Hard Reset will be similar to a Power on Reset, and will result in the re-initialization of all Drive resources. The first command issued from every initiator on the port that received the Hard Reset will result in a CHECK CONDITION with a sense key of UNIT ATTENTION and an additional sense code of SCSI BUS RESET OCCURRED. The first command issued from every initiator on the other port will result in a CHECK CONDITION and an additional sense code of BUS DEVICE RESET OCCURRED.
A Hard Reset Sequence will never be issued by the Drive. A link reset will be initiated by the drive on the affected port upon completion of Hard Reset processing.

17.5.3 SAS OOB (Out of Band)

Out of band (OOB) signals are low-speed signal patterns detected by the Phy that do not appear in normal data streams. They consist of defined amounts of idle time followed by defined amounts of burst time. During the idle time, D.C. id le is transm it­ted. During the burst time, ALIGN (0) primitives are transmitted repeatedly. The signals are differentiated by the length of idle time between the burst times.
As a SAS compliant device, the Drive uses three OOB signals: COMINIT/COMRESET and COMW AKE and COMSAS.OOB operations are beyond the scope of this specification. Please refer to the ANSI SAS 2 specification for more details.
The drive will initiate OOB by sending COMINITs, under the following conditions:
• POR
• loss of sync
• Identify timeout
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
51
Page 68

17.5.4 SAS Speed Negotiation

The Drive supports G1 (1.5 Gbps), G2 (3.0 Gbps), and G3 (6.0 Gbps) negotiation speeds. The default max imum negotiation rate is G3 speed (per byte 32 in the Phy Control and Discover Mode Page 19 subpage 1). Drive is SAS2 device and supports SNW-1, SNW-2, and SNW -3 speed negotiation with Phy capabilities exchange, and training (Train-SNW). Phy capabilities is defined in table below:
Phy Capabilities:
Byte /Bit 7 6 5 4 3 2 1 0
0 S t a r t = 1 b T X S S C
Type = 0b
1 G1 W i th out
SSC=1b
2 3
G1 With SSC=0b
Reserved
G2 Without SSC=1b
Reserved
G2 With
SSC=0b
G3 Without
SSC=1b
Reserved
Requested Logical Link Rate = 0h
G3 With
SSC=0b
Reserved
Parity
Start bit is 1 to indicate the beginning of the Phy capabilities
TX SSC Type bit is set to 0 to indicate that Phy’s transmitter uses down spreading SCC when is enabled (e.g. the phy is a SAS phy).
Request Logical Link Rate field is 0 to indicate that drive does not support multiplexing
G1 Without SSC bit set to 1 indicates that drive supports G1(1.5 Gbps) without SSC
G2 Without SSC bit set to 1 indicates that drive supports G2(3.0 Gbps) without SSC
G3 Without SSC bit set to 1 indicates that drive supports G3(6.0 Gbps) without SSC
G1 With SSC bit set to 1 indicates that drive supports G1(1.5 Gbps) with SSC
G2 With SSC bit set to 1 indicates that drive supports G2(3.0 Gbps) with SSC
G3 With SSC bit set to 1 indicates that drive supports G3(6.0 Gbps) with SSC
Parity bit is set to 1 for even parity of the total number of SNW-3 phy capabilities, including Start bit.
Training is based on the highest untried commonly supported settings on the exchan ged SNW-3 supported settings bits. If a Train-SNW is invalid and there are additional, untried, commonly supported settings exchanged during SNW-3, then a new Train-SNW will be performed based on the next highest untried, commonly supported settings. Table 26 defines the priority of the supported settings bits.
Table 26: Supported Settings Bit Priorities
Priority Bit Highest G3 With SSC bit
... G3 Without SSC bit ... G2 With SSC bit ... G2 Without SSC bit ... G1 With SSC bit
Lowest G3 Without SSC bit
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
52
Page 69

17.5.5 PHY Error Handling

This section defines the PHY layer error handling of the drive.
Error Error Handling Procedure
Link Reset After POR or Hard Reset, the drive initiates link reset by transmitting exactly 1
COMINIT . For other resets, the drive does not initiate Link Reset.
COMINIT Timeout If COMINIT or COMSAS is not received before the ”Hot Plug Timeout" period
expires, the drive continues to transmit DC zero and wait for COMINIT/COM­SAS. Firmware is notified.
This is not considered an error.
COMSAS Timeout If COMINIT is detected, COMSAS is transmitted, and COMSAS is not
received before the COMSAS Detect Timeout timer expires, firmware is noti­fied and the drive continues to transmit DC zero and wait for COMINIT.
Speed Negotiation Errors If speed negotiation fails with no match, or if the drive fails retrying the matched
link rate, firmware is notified and the drive continues to transmit DC zero and wait for COMINIT. If the match link rate retry fails, the Phy Reset Problem counter is incremented (Log Page 0x18).
Loss of Sync If the drive loses DWORD sync long enough for the loss of sync timer to expire,
firmware is notified and the drive transmits a COMINIT to initiate a new link reset. The Loss of DWORD sync counter is incremented (Log Page 0x18).
Disparity/Invalid DWORD
Error
If a disparity error or an invalid DWORD is detected by the drive, the Invalid DWORD Count is incremented (Log Page 0x18). The Running Disparity Error Count in Log Page 0x18 is not used

17.6 Link Layer

The SAS link layer defines primitives, address frames, and connections. The Link layer is the interface between the Port layer and the Phy layer. This section describes Link Layer behaviors of the Drive. For a complete description of SAS Link Layer, please see the ANSI specification, SAS 1.1.

17.6.1 Address Frames

Address frames are used for the identification sequence and for connection requests and are only sent outside connections. The Address Frame format is defined below:
Table 27: Address Frame Format
Byte Bit
76543210
0 Rsvd Device Type Address Frame Type
1-27 Frame Type Dependent bytes
28-31 CRC
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
53
Page 70
•The ADDRESS FRAME TYPE field indicates the type of address frame and is defined in table 28. This field determines the definition of the frame type dependent bytes.
Table 28: Frame type:
Value Address Frame Type Description 0000b IDENTIFY: Identification Sequence 0001b OPEN: Connection Request
Others RESERVED
17.6.1.1 Identify Address Frame
The IDENTIFY address frame format is used for the identification sequence. The IDENTIFY address frame is sent after the phy reset sequence completes. The Identify Address Frame format is defined as follows:
Table 29: Identify Address Frame
Byte Bit
7654 3 2 1 0 0 R s v d D e v i c e T y p e = 1 Ad d r e s s F r a m e Ty p e = 0 1 Reserved Reason 2 Reserved SSP
Initiator
Port=0b
3 Reserved SSP
Target
Port=1b
STP
Initiator
Port=0b
STP
Target
Port=0b
SMP
Initiator
Port=0b
SMP
Target
Port=0b
Rsvd
Rsvd
4-11 Device Name
12-19 SAS Address
20 PHY Identifier 21 Reserved Inside
ZPSDS Per­sistent=0b
Requested Inside ZPSDS=0b
Break_Reply Capable=1b
22-27 Reserved 28-31 CRC
Device Type: set to 001b to indicate that this drive is an "End Device".
Address Frame Type: set to 00b to indicate that this is an IDENTIFY.
Reason: field indicates the reason for link reset sequence as defined inTable 30 on page 55
Initiator Port bits: set to 000b since this device is a target device only
Target Port bits: set to 100b since this device is a SSP target device only
Device Name: field contains Target Device Identifier
SAS ADDRESS: field contains the port identifier of the SAS port transmitting this frame.
PHY Identifier: field contains the PHY identifier of the PHY transmitting this frame.
Break_Reply Capable: set to 1b to indicate that this port is capable of sending BREAK_REPLY primi tive sequence in
responding of receiving BREAK primitive sequences
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
54
Page 71
Requested Inside ZPSDS: set to 0b since this is an "End Device"
Inside ZPSDS Persistent: set to 0b since this is an "End Device"
Table 30: Reason field
Value Address Frame Type Description
00b Power on
01b OPEN: Connection Request
02b Hard Reset (received a Hard Reset during hard reset sequence) 04b Loss of dword synchronization 07b Break timeout timer expired 08b Phy test function stopped
Others RESERVED
17.6.1.2 OPEN Address Frame
The OPEN address frame format is used for the identification sequence. The OPEN address frame is sent after the phy reset sequence completes. The OPEN Address Frame format is defined as follows:
Byte Bit
76543210
0 Initiator
Protocol = 1 Address Frame Type = 1
P o r t = 0
1 Features = 0 Connection Rate = 8h or 9h or Ah
2-3 Initiator Connection Tag
4-11 Destination SAS Address
12-19 Source SAS Address
20 Source Zone Group
21 Pathway Blocked Count 22-23 Arbitration Wait Time 24-27 More Compatible Features 28-31 CRC
Initiator Port: This bit is set to zero when the Drive is the source port acting as a SAS target.
Protocol: this field is set to 001b to indicate SSP Protocol.
Features: this field is set to zero and ignored by the Drive per SAS 1.1.
Connection Rate: field should be set to 8h (1.5Gbps) or 9h (3Gbps), depending on requested link rate. Rate matc hing is
supported by the Drive, therefore if the Link to the drive is 3.0Gbps, and the Connection Rate is 1.5Gbps, the Drive will insert ALIGNs between DWords, to match the Connection Rate.
Initiator Connection Tag: The Drive will set this value to the last value received from this Initiator.
Destination SAS Address: field contains the port identifier of the SAS port to which a connection is being requested.
Source SAS Address: field contains the port identifier on the port that originated this frame (i.e. the drive’s port address).
Source Zone Group: This field is set to zero and ignored by the Drive per SAS 2.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
55
Page 72
Pathway Blocked Count: this field indicates the number of times the port has retried this connection requ est due to
receiving OPEN_REJECT (P ATHWAY BLOCKED). The Drive willl not increment the PATHWA Y BLOCKED COUNT value past FFh.
Arbitration Wait Time: this field indicates how long the port transmitting the OPEN address frame has been waiting for
a connection request to be accepted. For values from 0000h to 7FFFh, the Arbitration Wait Time timer increments in one microsecond steps. For values from 8000h to FFFFh, the Arbitration Wait Time timer increments in one millisecond step.
More Compatible Features: this field is set to zero and ignored by the Drive per SAS 1.1.

17.6.2 Link Layer Error Handling

This section defines the Link layer error handling of the drive.
Error Error Handling Procedure
IDENTIFY Timeout If IDENTIFY is not received before the IDENTIFY timer expires (1ms), firm-
ware is notified and the drive transmits a COMINIT to initiate a new link reset.
BREAK Received If BREAK is received while the drive has ACK/NAK balance, BREAK or
BREAK_REPLY is transmitted and a new connection may be opened if the drive still has frames to transmit. Firmware is not notified. If BREAK is received while the drive does NOT have ACK/NAK balance, BREAK or BREAK_REPLY is transmitted and the current command is aborted and will return Check Condition status with sense data indicating an ACK/NAK timeout.
NAK and ACK/NAK Timeout If a NAK is received on a RESPONSE frame, the RESPONSE frame is retrans-
mitted with the RETRANSMIT bit set to zero. If an ACK or NAK is not received for a RESPONSE frame within 1ms, the RESPONSE frame will be retransmitted with the RETRANSMIT bit set to one. The drive will retry send­ing a RESPONSE frame once.
Bad Frame CRC If a frame fails the CRC check, the frame is NAKed by the drive and discarded.
This is a link layer function. The command associated with a NAKed DATA or XFER_RDY frame is aborted with check condition status and sense data corre­sponding to DATA_PHASE_ERROR is returned. COMMAND frames that fail the CRC check are NAKed and discarded.
OPEN_REJECT OPEN_REJECT – Retryable Variations
OPEN_REJECT(RETRY) - Will be retried indefinitely by the drive. This case is considered to be occur when the initiator is temporarily not available to accept connections (for example when it is not able to extend R-Rdy credit at this time due to lack of buffers...), so the initiator will ask us to keep "RETRY"-ing, until it becomes available at a later time. Thus, we don't consider this an error condition, but part of normal behavior for the initiator.
OPEN_REJECT(RATE_NOT_SUPPORTED) – If this occurs, it must mean that a link between the drive and initiator renegotiated to a lower link rate after the command was received. In this case, we retry in a new connec­tion at 1.5Gbps. If this error is received for a 1.5Gbps connection, the com­mand is internally aborted.
OPEN_REJECT – (PATHWAY_BLOCKED)
OPEN_REJECT(BAD_DESTINATION), OPEN_REJECT(WRONG_DESTINATION), OPEN_REJECT(PROTOCOL_NOT_SUPPORTED) – If these OPEN_REJECTs are received, we internally abort the command.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
56
Page 73
Credit Timeout If credit is not received before the credit timer expires,
DONE(CREDIT_TIMEOUT) is sent to the Initiator.
DONE Timeout If credit is extended and the DONE timer expires, BREAK is sent by hardware
to tear down the connection.
CREDIT_BLOCKED If CREDIT BLOCKED is received and the drive has frames to send in the cur-
rent connection, DONE(CREDIT_TIMEOUT) is returned. Otherwise, DONE(NORMAL) is returned.
OPEN Frame Checking Reserved fields in the OPEN frame are not checked.
The Dest Address field is checked, and if it doesn’t match OPEN_REJECT(WRONG_DESTINATION) is returned.
The Protocol field is checked and if it isn’t set to SSP OPEN_REJECT(PROTOCOL_NOT_SUPPORTED) is returned.
If the Link Rate exceeds the physical link rate on that port, OPEN_REJECT(LINK_RATE_NOT_SUPPORTED) is returned.
The Initiator bit is not checked.
OPEN Response Timeout If AIP or OPEN_ACCEPT is not received before the OPEN Respon se ti mer
expires, the hardware transmits BREAK.
CLOSE Timeout If CLOSE is not received before the CLOSE timer expires, the hardware trans-
mits BREAK.
Phy Not Ready If Link Reset occurs outside of a connection, commands can execute normally
across the link reset. If a link reset occurs inside of a connection, the behavior is similar to BREAK in that it is treated as an abruptly closed connection. In cases where the command cannot be continued normally (e.g. a frame is corrupted by OOB signals, or we do not have ACK/NAK balance), the command is termi­nated with CHECK CONDITION status with sense data corresponding to ACK/ NAK TIMEOUT.
\
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
57
Page 74

17.7 Transport Layer

The Transport layer defines frame formats. The Transport layer is the interface between the application layer and port layer. It is responsible for constructing and parsing frame contents. For SSP, the transport layer only receives frames from the port layer that are going to be ACKed by the link layer. This section describes Transport Layer behaviors of the Drive. For a complete description of SAS Transport Layer, please see the ANSI specification, SAS 1.1.
The transport layer defines the frame format as follows.
Table 31: SAS Frame Format
Byte Bit
76543210
0Frame Type
1-3 Hashed Destination Address
4 Reserved 5-7 Hashed Source Address 8-9 Reserved
10 Reser v ed TLR Control = 00b Ret r y Dat a
Frames =0b
11 Reserved # of fill bytes
12-15 Reserved
Retransmit
Rsvd
16-17 Tag 18-19 Target Port Transfer Tag 20-23 Data Offset 24-m Info rma tion Unit
Fill Bytes (if Needed)
(n-3)-n CRC
FRAME TYPE field, which defines the format of the INFORMATION UNIT field as follows:
Code Name of Frame Information Unit Originator IU Size (bytes)
01h DATA Data Initiator or Target 1-1024 05h XFER_RDY Data T ransfer Ready Target 12 06h COMMAND Command Initiator 28-284 07h RESPONSE Response Target 24-1024 16h TASK Task Management
Initiator 28
Function
f0-ffh vendor specific
all others reserved
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
58
Page 75
• The HASHED DESTINATION SAS ADDRESS field contains the hashed value of the destination SAS address.
• The HASHED SOURCE SAS ADDRESS field contains the hashed value of the source SAS address.
•The TLR CONTROL field is not supported
•The RETRY DATA FRAMES is not supported
•The CHANGING DATA POINTER is not supported
• The NUMBER OF FILL BYTES field indicates the number of fill bytes between the INFORMATION UNIT field and the CRC field. The RETRANSMIT bit is set to one for RESPONSE fr ames when attemptin g to retransmit this frame due to receiving an error during the initial transmission. It shall be set to zero for all other frame types. The NUM- BER OF FILL BYTES field shall be set to zero for all frame types except DATA frames
•. The TAG field contains a value that allows the SSP port to establish a context for commands and task management func­tions.
• The TARGET PORT TRANSFER TAG field is set and used by the drive. The initiator should echo this field in out- bound data IU.
• The INFORMATION UNIT field contains the information unit, the format of which is defined by the FRAME TYPE field.
Fill bytes shall be included after the INFORMATION UNIT field so the CRC field is aligned on a four byte boundary.

17.7.1 Command Information Unit

The COMMAND frame is sent by an SSP initiator port to request that a command be processed by the drive.
Table 32: COMMAND Information Unit
Byte Bit
76543210
0-7 Logical Unit Number
8 Reserved 9 Disable
first
burst=0 10 Reserved 11 Additional CDB Length (in Dwords) Rsvd
12-27 CDB
28-n Additional CDB Bytes
• The LOGICAL UNIT NUMBER field contains the address of the logical unit. The drive only supports a LUN of 0’s.
• A DISABLE FIRST BURST bit is not supported by the drive
• The TASK ATTRIBUTE fi eld is defined as follows:
Value Attribute
Reserved
Task
Attribute
000b Simple_Q 001b Head_of_Q
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
59
Page 76
010b Ordered_Q 100b ACA_Q (not supported) 101b Reserved
• The ADDITIONAL CDB LENGTH field contains the length in dwords (four bytes) of the ADDITIONAL CDB field.
• The CDB and ADDITIONAL CDB BYTES fields together contain the CDB.

17.7.2 TASK Information Units

Table 33: TASK Information Unit
Byte Bit
76543210 0-7 Logical Unit Number 8-9 Reserved
10 Task Management Function
11 Reserved 12-13 Tag of Task to be Managed 14-27 Reserved
• The LOGICAL UNIT NUMBER field contains the address of the logical unit. The drive only supports a LUN of 0’s.
The TASK MANAGEMENT FUNCTION field is defined as follows:
Value Function
01h ABOR T TASK: The Drive shall perform the ABORT TASK associated with the value of the
TAG OF TASK TO BE MANAGED field
02h ABORT TASK SET: The Drive shall perform the ABORT TASK SET by aborting all out-
standing tasks for the Initiator that sent the TMF.
04h CLEAR TASK SET: This TMF causes the Drive to abort all tasks in the task set. The action
is equivalent to receiving a series of Abort Task requests from all Initiators. A unit attention condition shall be generated for all other Initiators with tasks in the task set.
The Additional Sense Code shall be Commands cleared by another Initiator.
08h LUN RESET: The LUN RESET causes the Target to execute a hard reset. This means:
1. Abort all tasks for all Initiators on either both ports.
2. Release any device reservation on either port.
3. Set a Unit Attention condition for all Initiators.
40h CLEAR ACA (not supported) 80h QUERY TASK: The drive shall return a response of FUNCTION SUCCEEDED if the spec-
ified task exists, or FUNCTION COMPLETE if the specified task does not exist.
81h QUERY TASK SET: The drive shall return a response of FUNCTION SUCCEEDED if
there is any task exist, or FUNCTION COMPLETE if there is no task exist.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
60
Page 77
82h QUERY ASYNCHRONOUS EVENT (formerly QUERY UNIT ATTENTION): The drive
shall return a response of FUNCTION SUCCEEDED if there is a unit attention or a deferred error pending, or FUNCTION COMPLETE if there is no unit attention or no deferred error pending.
others RESERVED: The Drive will return a RESPONSE frame with the
RESPONSE_DATA and its
RESPONSE CODE field set to TASK MANAGEMENT FUNC-
DATAPRES field set to
TION NOT SUPPORTED.
• If TMF is set to ABORT TASK or QUERY TASK, the TAG OF TASK TO BE MANAGED field specifies the TAG
value from the COMMAND frame that contained the task to be aborted or checked. For all other TMF’s, this field is ignored.
•If TMF is set to QUERY ASYNCHRONOUS EVENT, the Additional Response Information argument is set to 000000h for the response of FUNCTION COMPLETE. If the response is FUNCTION SUCCEED, the Additional Response Information argument is set as defined in table 34.
Table 34: Additi onal Response Information argument for Query Async Event
Byte Bit
76543210 0 RESERVED UADE DEPTH SENSE KEY 1 ADDITIONAL SENSE CODE 2 ADDITIONAL SENSE CODE QUALIFIER
The UADE DEPTH is the number of pending unit attention conditions or deferred errors. It is defined as in table Table 35:
The SENSE KEY field is the value of the SENSE KEY field in the highest-priority pending unit attention condition or deferred error.
The ADDITIONAL SENSE CODE field is the value of the ADDITIONAL SENSE CODE field in the highest-priority pend­ing unit attention condition or deferred error.
The ADDITIONAL SENSE CODE QUALIFIER field is the value of the ADDITIONAL SENSE CODE QUALIFIER field in the highest-priority pending unit attention condition or deferred error
Table 35: UADE DEPTH field
Code Description
00b The combined number of unit attention conditions and deferred errors is unknown 01b The combined number of unit attention conditions and deferred errors is one 10b The combined number of unit attention conditions and deferred errors is greater than one
11b Reserved
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
61
Page 78

17.7.3 XFER_RDY Information Units

The XFER_RDY frame is sent by the Drive to request write data (i.e. out bound data) from the initiator.
Table 36: XFER_RDY Information Unit
Byte Bit
76543210
0 - 3 REQUESTED OFFSET 4 - 7 WRITE DATA LENGTH
8 - 11 RESERVED
•The REQUESTED OFFS ET field contains the buffer of fset of the segment of write data the Initiator may transmit to the
Drive (using DATA frames). The requested offset shall be a multiple of four.
•The WRITE DATA LENGTH field contains the number of bytes of write data the Initiator may transmit to the Drive
(using DATA frames) from the requested offset.

17.7.4 DATA Information Units

The DATA frame is sent by the Drive to the Initiator (in bound data) or by the Initiator to the Drive (out bound data).
Table 37: DATA Information Unit
Byte Bit
76543210
0 - (n-1) DATA

17.7.5 RESPONSE Information Units

The RESPONSE frame is sent by the Drive to the Initiator (in bound data) or by the Initiator to the Drive (out bound data).
Table 38: Response Information Unit
Byte Bit
76543210
0-7 RESERVED 8-9 MSB RETRY DELAY TIMER LSB
10 RESERVED DataPres
11 STATUS 12 - 15 Reserved 16 - 19 SENSE DATA LENGTH (n bytes) 20 - 23 RESPONSE DATA LENGTH (m bytes)
24 - (24+m) RESPONSE DATA
(24+m) -
(23+m+n)
SENSE DATA
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
62
Page 79
•The RETRY DELAY TIMER field contains the retry delay timer code which is defined as follows:
Status Code Retry Delay Timer Code Description
0000h Same as normal busy
0001h-FFEFh The number of 100 milliseconds increments which Ini-
BUSY
tiator should wait before sending another command to
Drive
FFF0h-FFFDh RESERVED
FFEFh Initiator should stop sending commands to Drive
QUEUE FULL
FFFFh
0000h Same as normal busy
0001h-FFEFh Initiator should wait before sending another command
Drive is not able to accept the command
to the Drive until:
a) At least the number of 100 milliseconds increments
indicated in the RETRY DELAY TIMER CODE field
have elapse; or
b) A command addressed to the Drive completes.
RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED
GOOD
C H E C K C O N D I T I O N
CONDITION MET
R E S E R VA T I O N C O N F L I C T
ACA ACTIVE
TAS K AB ORT
FFF0h-FFFFh
0000h-FFFFh 0000h-FFFFh 0000h-FFFFh 0000h-FFFFh 0000h-FFFFh 0000h-FFFFh
•The DATAPRES field, which indicates the format and content of the STATUS field, SENSE DATA LENGTH field,
RESPONSE DATA LENGTH field, RESPONSE DATA field, and SENSE DATA field.
Value DATAPRES Description
00b NO DATA: no data present 01b RESPONSE_DATA: response data present 10b SENSE_DATA: sense data present 11b RESERVED
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
63
Page 80
Table 39: RESPONSE DATA
Byte Bit
76543210
0 - 2 RESERVED
3 RESPONSE CODE
RESPONSE CODES are defined as follows:
Value RESPONSE Code Description
00b T a sk Management Function complete 02b Invalid Frame 04b Task Management Function not supported 05b Task Management Function failed 08b Task Management Function succeeded 09b Invalid LUN
others RESERVED

17.7.6 Sequences of SSP Information Units

SSP Information Units are used in conjunction with one another to execute SCSI commands. This section provides a brief overview of SAS SSP Information Unit sequences, that would be required to complete a SCSI command.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
64
Page 81
Figure 1: SSP Information Unit Sequences
Initiator Target
Command IU
Data IU (s)
Response IU
Time Time
Read Type Command
IU Sequence
Initiator Target
Command IU
Data IU (s)
Response IU
Time Time
Write Type Command
IU Sequence
Xfr_Rdy IU

17.7.7 Transport Layer Error Handling

This section defines the Transport layer error handling by the drive.
Error Error Handling Procedure
SSP Header Field Checking Reserved fields in SSP frames are not checked.
Data Offset Error If a DATA frame with an invalid Data Offset is received, the command associ-
ated with the DATA frame is aborted with Check Condition status and sense data corresponding to a DATA OFFSET ERROR is returned
I_T NEXUS Loss Timeout If a connection cannot be established to an initiator before the I_T NEXUS
Initiator Response Timeout If DATA frames corresponding to an outstanding XFER_RDY frame are not
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
LOSS timer expires (Mode Page 0x19), all commands from the initiator are internally aborted. The first new command received from the affected Initiator results in a CHECK CONDITION with sense data corresponding to I_T NEXUS LOSS OCCURRED.
received before the Initiator Response timer expires (Mode Page 0x19), the command is aborted with CHECK CONDITION status and sense data corre­sponding to INITIATOR RESPONSE TIMEOUT is returned for the affected command.
65
Page 82
Data Overflow If more data is received than requested via an XFER_RDY frame, the affected
command is aborted with CHECK CONDITION status with sense data corre­sponding to TOO MUCH WRITE DATA is returned.
Invalid Target Port Transfer Tag If a DATA frame is received and the TPTT is not set to the value used in the cor-
responding XFER_RDY frame, the frame is discarded. If a COMMAND or TASK frame is received with the TPTT set to a value other than 0xFFFF, a RESPONSE frame with RESPONSE_DATA set to INVALID FRAME is returned.
Invalid Frame Length If a DATA frame is received with zero bytes of payload data, the frame is dis-
carded. This is not considered an error. If a COMMAND/TASK frame that is too short is received, RESPONSE data corresponding to INVALID FRAME is returned. The additional CDB length field of a COMMAND frame is not checked for correctness. If a DATA frame is received with a payload greater than 1024 bytes, the frame is discarded and the command is aborted with CHECK CONDITION status and sense data corresponding to DATA_PHASE_ERROR is returned.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
66
Page 83

18.0 SCSI Command Set

Summaries of the SCSI commands supported by the drive are listed below. O = optional, M = mandatory
Table 40: SCSI Commands Supported
Type Code Description
M 04h FORMAT UNIT (04), page 70 M 12h INQUIRY (12), page 78
O 4Ch LOG SELECT (4C), page 98 O 4Dh LOG SENSE (4D), page 101 O 15h MODE SELECT (15), page 134 O 55h MODE SELECT (55), page 135 O 1Ah MODE SENSE (1A), page 136 O 5Ah MODE SENSE (5A), page 176 O 5Eh PERSISTENT RESERVE IN (5E), page 177 O 5Fh PERSISTENT RESERVE OUT (5F), page 180 O 34h PRE-FETCH (34), page 185
O 90h PRE-FETCH (90), page 186 M 08h READ (6) - (08), page 187 M 28h READ (10) - (28), page 188
O A8h READ (12) - (A8), page 190
O 88h READ (16) - (88), page 191
O 7Fh/09h READ (32) - (7F/09), page 1 92
O 3Ch READ BUFFER (3C ), page 194 M 25h READ CAPACITY (10) - (25), page 198
O 9Eh/10h READ CAPACITY (16) (9E/10), page 200
O 37h READ DEFECT DA TA (37), page 201
O B7h READ DEFECT DATA (B7), page 205
O 3Eh READ LONG (3E), page 207
O 9Eh READ LONG (9E), page 208
O 07h REASSIGN BLOCKS (07), page209
O 1Ch RECEIVE DIAGNOSTICS RESULTS (1C), page 211 M 17h RELEASE (17), page 213
O 57h RELEASE (57), page 214
O A3h/05h REPORT DEVICE IDENTIFIER (A3/05), page 215
O A0h REPORT LUNS (A0), page 217
OA3h/0Ch
OA3h/0Dh M 03h REQUEST SENSE (03), page 225
M 16h RESERVE (16), page 226
O 56h RESERVE (56), page 227
O 01h REZERO UNIT (01), page 228 M 1Dh SEND DIAGNO STIC (1D), page 232
O A4h/06h SET DEVICE IDENTIFIER (A4/06), page 239
O 1Bh START STOP UNIT (1B), page 240
REPORT SUPPORTED OPERATION CODES (A3/0C),
page 218
REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS
(A3/0D), page 223
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
67
Page 84
O 35h SYNCHRONIZE CACHE (10) - (35), page 243
O 91h SYNCHRONIZE CACHE (16) - (91), page 244 M 00h TEST UNIT READY (00), page 2 45
O 2Fh VERIFY (10) - (2F), page 246
O AFh VERIFY (12) - (A F) , page 249
O AFh VERIFY (16) - (8F), page 250
O 7Fh/0Ah VERIFY (32) - (7F/0A), page 251 M 0Ah WRITE (6) - (0A), page 253 M 2Ah WRITE (10) - (2A), page 254
O AAh WRITE (12) - (AA), page 257
O 8Ah WRITE (16) - (8A), page 258
O 7Fh/0Bh WRITE (32) - (7F/0B), page 259
O 2Eh WRITE AND VERIFY (10) - (2E), page 261
O AEh WRITE AND VERIFY (12) - (AE), page 262
O 8Eh WRITE AND VERIFY (16) - (8E), page 263
O 7Fh/0Ch WRITE AND VERIFY (32) - (7F/0C), page 264
O 3Bh WRITE BUFFER (3B), page 265
O 3Fh WRITE LONG (10) (3F), page 269
O 9Fh WRITE LONG (16) (9F), page 271
O 41h WRITE SAME (10) - (41), page 272
O 93h WRITE SAME (16) - (93), page 273
O 7Fh/0Dh WRITE SAME (32) - (7F/0D), page 274
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
68
Page 85

18.1 SCSI Control Byte

The Control Byte is the last byte of every CDB. The format of this byte is shown below.
Table 41: SCSI Co ntrol Byte
BIT
7
VU = 0
VU
VU stands for Vendor Unique.
Note: * - The drive ignores the link bit and flag bit in the CDB.
6 5 4 3 2 1 0
Reserved = 0

18.2 Abbreviations

These abbreviations are used throughout the following sections:
LUN Logical Unit Number. An encoded three bit identifier for the logical unit. VU Vendor Unique bits LBA Logical Block Address RSVD Reserved MSB Most Significant Byte LSB Least Significant Byte

18.3 Byte ordering conventions

In this specification, where it is not explicitly stated, all multi-byte values are stored with the most significant byte first. For example, in a 4 byte field, byte 0 will contain the MSB and byte 3 the LSB.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
69
Page 86

18.4 FORMAT UNIT (04)

Table 42: FORMAT UNIT (04)
Byte BIT
7 6 543210
0 Command Code = 04h
1FMTPINFO
2VU = 0
3-4 Obsolete = 0
5 VU = 0 Reserved = 0 FLAG LINK
FMTPINFO (Format Protection Information) in combination with the Protection Field Usage field in the Parameter
List Header specifies whether or not the drive enables or disables the use of protecti on information (see table defined in the Parameter List Header section).
FmtData set to one specifies that a Data Out phase follows the Command phase. The Data Out phase consists of a
Parameter List header, optionally followed by an Initialization Pattern Descri ptor, optionally followed by a Defect List. If FmtData=0, the following defaults are assumed: DPRY=0, DCRT=1, STPF=1, IP=0, DSP=0, Immed=0.
CmpLst
• Set to one specifies that the Grown Defect List (GList) existing prior to the issuance of the Format Unit command be discarded. If provided, the DList then becomes the GList. Following these operations, the Drive will be formatted with the PList and GList.
• Set to zero specifies that the GList existing prior to the issuance of the Format Unit command is retained. If pro­vided, the DList is combined with the GList to become the new GList. Following these operations, the Drive will be formatted with the PList and GList.
Note: The drive manages two internal defect lists and one external. The Plist is created at time of manufacture. The Glist is built after manufacture by the Initiators’ use of the REASSIGN BLOCK command and the Automatic Reallocate functions. The Dlist is an external list. It is supplied by the Initiator in the Data Out phase of the FORMAT UNIT command.
Defect List Format specifies the format of the defect descriptor transferred to the Target when FmtData bit is set to one.
The Target supports the following three defect descriptor formats for the FORMAT UNIT command:
LONG LIST=0
FMT­DATA
CMPLIST Defect List Format
Format Description 000b Block format
100b Bytes From Ind e x format 101b Physical Sector format
If the FmtData bit is set to zero, this field must also be zero. Otherwise the command will complete with a CHECK CONDITION with a sense key of Illegal Request and an additional sense code of Invalid Field in CDB.
Notes:It is recommended that the MODE SELECT command be issued prior to the FORMAT UNIT command to specify
parameters that affect the formatting process.
The Block Length parameter of the Mode Select Parameter List’s Block Descriptor is used during formatting and is saved following a successful format operation. If a MODE SELECT command has not been issued since the last reset or start-up (bring-up) sequence, then the Block Length from the previous format operation is used.
Subsequent to receiving a FORMAT UNIT command, the Target responds to commands as follows:
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
70
Page 87
- All commands except REQUEST SENSE and INQUIRY return Check Condition status, while the format operation
is an active I/O process.
- When tagged queuing is enabled (DQue = 0), all commands except REQUEST SENSE and INQUIRY return
Queue Full status, while the FORMAT UNIT command is a queued I/O process.
- When tagged queuing is disabled (DQue = 1), all commands except REQUEST SENSE and INQUIRY return Busy
status, while the FORMAT UNIT command is a queued I/O process
- If a REQUEST SENSE command is received while a format operation is an active I/O process, the Target returns
Good status. The sense key is set to Not ready and the additional sense code and qualifier is set to Format In Prog­ress.
- If an INQUIRY command is received while a format operation is an active I/O process, the Target returns Good
status and Inquiry data as requested.
The format operation must complete successfully for the Drive to be usable. If the command is interrupted by a reset, power down, or an unrecoverable error, the Drive enters a degraded mode of operation in which reading and writing are prohibited. To exit the degraded mode, another FORMAT UNIT command must be sent by the Initiator and com­pleted successfully by the Target.
The FORMAT UNIT command sets the Unit Attention Condition for all Initiators except the one that issued the FOR­MAT UNIT command.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
71
Page 88

18.4.1 Parameter List Header

Following is the format of the Parameter List Header sent during the data out phase when FmtData is set to one.
Table 43: Format of the Short Parameter List Header
Byte
7654321 0
BIT
0 Reserved = 0 Protection Field Usage 1
FOV DPRY DCRT STPF =1 IP
Obsolete Immed Vendor-specific
2 -3 (MSB)Defect List Length (LSB)
4-n Initialization Pattern Descriptor
(n+1) - m Defect Descriptor
Table 44: Format of the Long Parameter List Header
Byte
7654321 0
BIT
0 Reserved = 0 Protection Field Usage 1
FOV DPRY DCRT STPF =1 IP
Obsolete Immed Vendor-specific 2 Reserved 3 P_I_INFORMATION = 0 PROTECTION INTERVAL EXPONENT = 0 4(MSB)
...
DEFECT LIST LENGTH
7
8-n Initialization Pattern Descriptor
(n+1) - m Defect Descriptor
(LSB)
• Protection Field Usage: in combination with the format protection information (FMTPINFO) field in the CDB specifies
whether or not the drive enables or disables the use of protection information:
FMTPINFO Protection Field Usage Description
00h 000h The drive will be formatted to type 0 protection 01h xxxh
Check Condition status will be returned with the sense key set to Illegal
Request and the additional sense code set to Invalid Field in the CDB. 10h 000h The drive will be formatted to type 1 protection 11h 000h The drive will be formatted to type 2 protection
Type 3 protection is not supported - Check Condition status will be 11h 001h
returned with the sense key set to Illegal Request and the additional
sense code set to Invalid Field in the Parameter List
All other combinations of FMTPINFO and Protection Field Usage will result in Check Condition status to be returned with the sense key set to Illegal Request and the additional sense code set to Invali d Field in the Parameter List.
T ype 0 protection specifies that the drive shall disable the use of protection information and format to the block size specified. Following a successful format, the PROT_EN bit in the READ CAPACITY (16) parameter data will indicate that protection information is disabled. T ype 1 and type 2 protection specifies that the drive shall enable the use of protection information and format to the block size specified + 8 (e.g., if the block length is 512, then the formatted block length is 520). See format of data below. When protec­tion information is written during a FORMA T UNIT command, protection information shall be written with a default value of
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
72
Page 89
all 0xFF's. Following a successful format, the PROT_EN bit in the READ CAPACITY (16) parameter data will indicate that protection information is enabled and the P_TYPE field in the READ CAP ACITY (16) parameter data will indicate the protec­tion type.
Byte
76543210
BIT
0... n User Data
n... n+1 Logical Block Guard n+2... n+3 Logical Block Application Tag n+4... n+7 Lo gical Block Reference Tag
The Logical Block Guard field contains a CRC that covers the preceding user data. This field is generated/checked per
the SBC standard.
The Logical Block Applica tion Tag field may be modified by the initiator if the A T O bit is set to zero in mode page 0x0A. If the ATO bit is set to one, then the initiator shall not mod ify the Logical Block Application Tag field. This field is generated/ checked per the SBC standard.
The Logical Block Reference Tag field is generated/checked depending on protection types. With Type 1 protection, the
Logical Block Reference Tag in the first logical block of the data transfer shall contain th e least significant four bytes of the LBA contained in the Logical Block Address field of the command. Subsequent blocks shall contain the previ­ous logical block reference tag plus one. With Type 2 protection, the Logical Block Reference Tag in the first logical block of the data transfer shall contain the value in the Expected Initial Logical Block Reference Tag field of the command. Subsequent blocks shall contain the previous logical block reference tag plus one.
FOV (Format Options Valid) bit set to zero indicates that the Target should use its default settings for the DPRY (0),
DCRT (1), STPF (1), IP (0), and DSP (1) bits. These bits must all be set to zero in the Parameter List Header when FOV=0, or the command will be terminated with Check Condition status, sense key of Illegal Request, and additional sense code of Invalid Field in Parameter List. FOV=1 indicates that the values set in DPRY, DCRT, STPF, IP, and DSP will be defined as specified below.
DPRY (Disable Primary) bit set to zero indicates that the Target does not use portions of the medium identified as defec-
tive in the primary defect Plist for Initiator addressable logical blocks. If the Tar get cannot locate the Plist or it cannot determine whether a Plist exists, the Target terminates the FORMAT UNIT command as described for STPF=1. A DPRY bit set to one indicates that the Target does not use the Plist to identify defective areas of the medium. The Plist is not deleted. DPRY must be set to 0 when DCRT is set to 0.
DCRT (Disable Certification) bit set to zero indicates that the Target performs a medium certification operation and gen-
erates a Certification List (Clist), and adds the Clist to the Glist. DPRY must be set to 0 when DCRT is set to 0. A DCRT bit of one indicates that the Target does not generate a Clist or perform a certification process.
Note: Since the DCRT bit is part of the Data Out phase that follows the FORMAT command, the FCERT bit in
Mode Page 0 is provided to control certification when the FORMAT command is issued with no Data Out phase. If a FORMAT comman d is issued with a Data Out phase then FCERT is ignored.
STPF (Stop Format) bit must be set to one. If one or both of the following conditions occurs, the Target terminates the
FORMAT UNIT command with Check Condition status. The sense key is set to Medium Error and the additional sense code is set to Defect List Not Found if the first condition occurred or to Defect List Error if the second condi­tion occurred.
• The Target cannot locate a required Dlist nor determine that the list exists.
•The Target encounters an unrecoverable error while accessing a required Dlist.
IP (Initialization Pattern) bit set to zero specifies that an initialization pattern descriptor is not included and all customer
data will be initialized to zeroes. An IP bit of one specifies that an Initialization Pattern Descriptor is included in the FORMAT UNIT parameter list following the parameter list header.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
73
Page 90

18.4.2 Initialization Pattern

Table 45: Initialization Pattern Descriptor:
BIT
Byte
0 IP Modifier = 0 S I Reserved = 0 1 Initia lization Pattern Type = 0 or 1
2 - 3 Initialization Pattern Length (n-3)
76543210
4
...
n
IP Modifier must be set to 0, indicating that the drive will not modify the initialization pattern.
SI (Security Initialize) bit set to one specifies that all customer data sectors, including those that have been previously
reassigned, will be initialized. SI set to zero specifies that only the current customer accessible sectors will be format­ted.
Initialization Pattern Type
- Type of 0 will use a default initialization pattern.
- Type of 1 specifies that the Initialization Pattern specified shall be repeated as required to fill each logical block.
Initialization Pattern Length specifies the number of bytes that follow in the Initialization Pattern field, and must be
less than or equal to the current block size, and non-zero.
- If Initialization Pattern Type is 0 and the Initialization Pattern Length is not set to 0, Check Condition status will be returned, with the sense key set to Illegal Request and the additional sense code set to Invalid Field in Parameter List
- If Initialization Pattern Type is 1 and the Initialization Pattern Length is set to 0, Check Condition status will be returned, with the sense key set to Illegal Request and the additional sense code set to Invalid Field in Parameter List.
DSP (Disable Saving Parameters) bit when zero indicates the target is to save all the current MODE SELECT saveable
parameters during the format operation. When the bit is one, the target is not to save the current MODE SELECT saveable parameters.
Immed (Immediate) bit set to zero requests that status be returned at the end of the format operation. An immediate bit
set to one requests that status be returned immediately following CDB validation and transfer of data in the Data Out phase. If the format operation, with the immediate bit set to one, terminates in error, DEFERRED ERROR SENSE data is generated.
Defect List Length field specifies the total length in bytes of the defect descriptors that foll ow (not including the Initial-
ization Pattern Descriptor, if any). Up to 1024 defect descriptors are allowed. The Defect List Length must be equal to four times the number of defect descriptors for BLOCK format, or eight times the number of defect descriptors for BYTES FROM INDEX and PHYSICAL SECTOR formats. Otherwise the command is terminated with Check Con­dition status with the sense key set to Illegal Request and the additional sense code set to Invalid Field in Parameter List.
Initialization Pattern
...
Initialization Pattern

18.4.3 Defect Descriptor

Three defect descriptor formats are supported. Entries are not required to be in ascending order. If an entry does not corre­spond to a valid user addressable media location, the command terminates with Check Condition status with the sense key set
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
74
Page 91
to Illegal Request and the additional sense code set to Invalid Field in Parameter List.
18.4.3.1 Block Format - 000b
Format of the Dlist sent during the data out phase when Dlist Format is Block format (000b) and FmtData is set to one.
Table 46: Defect Descriptor - Block Format (for n + 1 defects)
Byte BIT
7
6543210
(MSB)
Defective Logical Block Address
0 - 3
(LSB)
4n
4n+1
(MSB)
Defective Logical Block Address n 4n+2 4n+3
(LSB)
The Block format of the Dlist is the LBA of each defective sector. Note: If a Defective LBA entry, when converted to a physical sector, is equal to the physical sector of a Plist entry and
DPRY = 1, then the entry is not added to the Glist.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
75
Page 92
18.4.3.2 Bytes From Index Format - 100b
Format of the Dlist sent during the data out phase when Dlist Format is Bytes From Index format (100b) and FmtData is set to one.
Table 47: Defect Descriptor - Bytes From Index Format (for n = 1 defects)
BIT
Byte
76543210
(MSB)
0 - 2
3 Head Number of Defect
(MSB)
Cylinder Number of Defect
(LSB)
4 - 7
Defect Bytes from Index
(LSB)
8n 8n + 1 8n + 2
(MSB)
Cylinder Number of Defect n
(LSB) 8n + 3 Head Number of Defect n 8n + 4
(MSB)
8n + 5
Defect (n) Bytes from Index
8n + 6
(LSB) 8n + 7
Each defect descriptor for the Bytes From Index format specifies that the sector containing this byte be marked defective. The defect descriptor is comprised of the cylinder number of the defect, the head number of the defect, and the number of the defect byte relative to index.
Note: If a Byte From Index entry, when converted to a physical sector, is equal to the physical sector of a Plist entry and DPRY = 1, then the entry is not added to the Glist.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
76
Page 93
18.4.3.3 Physical Sector Format - 101b
Format of the Dlist sent during the data out phase when Dlist Format is Physical Sector format (101b) and FmtData is set to one.
Table 48: Defect Descriptor - Physical Sector Format (for n + 1 defects)
Byte
BIT
76543210
0 1
(MSB)
Cylinder Number of Defect
2 3 Head Number of Defect 4
(MSB)
5
Defect Sector Number
6 7
8n
8n + 1
(MSB)
Cylinder Number of Defect n
8n + 2 8n + 3 Head Number of Defect n 8n + 4
(MSB)
8n + 5
Defect (n) Sector Number
8n + 6 8n + 7
(LSB)
(LSB)
(LSB)
(LSB)
Each defect descriptor for the Physical Sector format specifies a defective sector. The def ect descript or is compri sed of the cyl­inder number of the defect, the head number of the defect, and the defect’s sector number.
Note: If a Physical Sector entry, when converted to a physical sector, is equal to the physical sector of a Plist entry and DPRY = 1, then the entry is not added to the Glist.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
77
Page 94

18.5 INQUIRY (12)

Table 49: INQUIRY (12)
Byte BIT
765432 1 0 0 Operation Code = 12h 1 Reserved = 0 CmdDt =0 EVPD 2 Page Code
3 - 4 Allocation Length
5 VU = 0 Reserved = 0 FLAG LINK
The INQUIRY command requests the parameters of the Target to be sent to the Initiator. An EVPD An EVPD bit of one specifies that the target return the vital product data page identified by the Page Code field in
the CDB The available VPD pages are defined in the addendum provided for each different drive model in the section entitled Inquiry Data Format.
The Page Code specifies which page of vital product data information the drive shall return.
Table 50: Page Code descriptions
EVPD
0 0 The Target returns the standard INQUIRY data.
0 Non Zero
1Non ZeroThe drive returns the vital product data of page code requested.
Allocation Length specifies the number of bytes that the Initiator has allocated for INQUIRY data to be returned. An alloca-
tion length of zero implies that no data is to be returned. The Target will terminate the DATA IN phase when all available INQUIRY data has been transferred or when allocation length bytes have been transferred, whichever is less.
Note: If an INQUIRY command is received from an Initiator with a pending unit attention condition (before the target reports Check Condition status), the Target processes the INQUIRY command. The unit attention condition is not cleared by this action.
Note: The INQUIRY command is a Priority command and is not queued. Note: The inquiry data is set at the time of manufacture and will not change, with the following exceptions:
• Product Revision Level (EVPD=0) can be changed when microcod e is downloaded with the Write Buffer command.
• The information returned for EVPD=1, Page Code = 3 is not fixed.
Note: The inquiry data returned when media is not available will not be complete. Byte 0 of the returned data on an INQUIRY command is the same no matter which page(s) is(are) returned. This description is
to be used for all the following page definitions. The Peripheral Qualifier field of zero (0) indicates that the peripheral device is currently connected to this logical unit. A
Peripheral Device Type field of zero (0) indicates that this device is a Direct Access Storage Device (DASD).
PAGE
CODE
Description
The drive returns Check Condition status with the sense key of Illegal Request and the additional sense code of Invalid Field in CDB.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
78
Page 95

18.5.1 Inquiry Data

Fields with a value shown inside quotes (e.g. Value =’xyz’) are character fields. A value not in quotes is a numeric value. Character fields are alphanumeric and represented in either ASCII.
18.5.1.1 Inquiry Data Format - EVPD = 0, Page Code = 0
Table 51: Inquiry Data- EVPD = 0
BIT
Byte
0 Qualifier = 0 Peripheral Device Type = 0 1 RMB = 0 Reserved=0 2 Version = 6
7654 3 2 1 0
3 Obsolete Obsolete
Norm
ACA=0
HiSup = 1 Response Data Format = 2
4 Additional Length = 159 (9Fh) 5 SCCS=0 ACC=0 TPGS=00b 3PC=0 Reserved = 0 Protect=1 6 Obsolete EncSer = 0 Port MultiP=1 Obsolete RSVD = 0 7 Obsolete Obsolete RSVD = 0 RSVD = 0 Obsolete Obsolete CmdQue= 1 RSVD = 0
8-15 Vendor ID = "HGST " (ASCII) 16-31 Product ID (ASCII) 32-35 Product Revision Level (ASCII) 36-43 Unit Serial Number (ASCII) 44-95 Reserved = 0
96-145 Copyright Notice (ASCII)
146-163 Reserved=0
Qualifier is set to zero to indicate that the LUN specified is currently supported. Qualifier is set to 011b when the LUN
specified is not present
1
Peripheral Device Type is set to zero to indicate that the device is a Direct-Access Peripheral Device.
Removal Media Bit (RMB) is always set to zero to indicate no removal media exists.
Version indicates the level of the ANSI standard that the product supports. The drive supports ANSI SPC-4.
NormACA (Normal ACA) field of 0 indicates the device server does not support set ting the NACA bit to one in the
Control Byte of the CDB as defined in the SAM.
HiSup bit of 1 indicates that the drive uses the hierarchical addressing model to assign LUNs to logical units.
Response Data Format is set to two to indicate that the INQUIRY Data Format as specified in the ANSI SCSI version 2
is supported by the Target.
Additional Length indicates the number of bytes of INQUIRY information that follows.
1.If an INVALID LUN is specified, a Check Condition status will be returned for all commands except INQUIRY and REQUEST SENSE.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
79
Page 96
SCCS bit of zero indicates that the device does not contain an embedded storage array controller component.
ACC bit of zero indicates that no access controls coordinator may be addressed through this logical unit.
TGPS field of zero indicates that the device does not support asymmetric logical unit access.
3PC bit of zero indicates that the devi ce does not support third-party copy commands.
Protect bit of one indicates that the drive supports protection information
EncSer(Enclosure Services) bit of 0 indicates that the Target does not contain an embedded enclosure services compo-
nent.
Port bit of 0 indicates that the drive received the Inquiry command on port A, while a Port bit of 1 indicates that the drive
received the Inquiry command on port B.
MultiP (MultiPort) bit of 1 indicates that the Target has multiple ports and implements multi-port requirements.
CmdQue is set to one to indicate that the drive supports command queuing.
Vendor ID is HGST padded with ASCII blanks.
Product ID is specified in Section 
Product Revision Level indicates the level of microcode.
Unit Serial Number contains the drive serial number.
18.5.1.2 Inquiry Data Format - EVPD = 1 - Page Code = 00h
Table 52: Inquiry Data - EVPD = 1 (Page Code = 00h)
BIT
Byte
76543210 0 Qualifier = 0 Peripheral Device Type = 0 1 Page Code = 00h 2 Reserved = 0 3 Page Length = 09h 4 Supported Page Code - 00h 5 Supported Page Code - 03h 6 Supported Page Code - 80h 7 Supported Page Code - 83h 8 Supported Page Code = 86h 9 Supported Page Code = 87h
10 Supported Page Code = 88h 11 Supported Page Code - 90h 12 Supported Page Code - D1h 13 Supported Page Code - D2h
Qualifier is set to zero to indicate that the LUN specified in the Command Block is currently supported.
Peripheral Device Type is set to zero to indicate that the device is Direct Access.
Page Code is set to 0, and this field contains the same value as in the page code field of the INQUIRY command descrip-
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
80
Page 97
tor block.
Page length specifies the length of the following page data.
Supported Page Code field contains the Page Codes supported by the Target. The list is in ascending order.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
81
Page 98
18.5.1.3 Inquiry Data Format - EVPD = 1, Page Code - 03h
Table 53: Inquiry Data - EVPD = 1 (Page Code = 03h)
BIT
Byte
0 Qualifier = 0 Peripheral Device Type = 0 1 Page Code = 03h 2 Reserved = 0 3 Page Length = 188 (BCh) 4 ASCII Fields Length = 00h
5-7 Reserved = 0
8-23 Reserved = 0 24-35 ASCII uCode Identifier 36-39 ASCII Servo P/N 40-41 Major Version 42-43 Minor Version
76543210
44-47 User Count 48-51 Build Number 52-83 Build Date String 84-91 Product ID 92-99 Interface ID
100-107 Code Type 108-119 User Name 120-135 Machine Name 136-167 Directory Name 168-171 Operating State 172-175 Functional Mode 176-179 Degraded Reason 180-183 Broken Reason 184-187 Code Mode 188-191 Flash Code Revision Level
Qualifier is set to zero to indicate that the LUN specified in the Command Block is currently supported.
Peripheral Device Type is set to zero to indicate that the device is Direct Access.
Page Code is set to the value of the page code field in the CDB.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
82
Page 99
Page Length field specifies the length (in bytes) of the vendor unique VPD information (bytes 4 - 163). If the allocation length of the
CDB is too small to transfer all the data, the Page Length field is not adjusted to reflect the truncation.
ASCII uCode Identifier contains the drive’s microcode identifier. The field is alphanumeric (ASCII), left aligned, and the unused
bytes are ASCII spaces (20h).
ASCII Servo P/N contains the part number of the Servo microcode installed on the drive. This field is hex numeric ASCII (i.e., the
characters will be in the set 0...9, A...F).
Major Version and Minor Version are version numbers of the code loaded on the drive.
User Count is the number of times the code has been built since the master build.
Build Number is the master build version numbe r.
Build Date String is the date the code on the drive was built, in an extended string format.
Product ID is the name of the product this code is for.
Interface ID is the interface type and serial interface speed (e.g. SAS 6Gbps or FCAL 4Gbps) of the code.
Code Type is the intended use of the this code. (e.g. local, released, test)
User Name is the username of the person who built this version of the code.
Machine Name is the workstation on which this version of the code was built.
Directory Name is the last 32 characters of the directory from where this code was built.
Operating State is the drive operating state. The least significant bit contains the following:
0 = OM_BROKEN We have detected a hardware failure. 1 = OM_DEGRADED We have a soft failure; i.e., incomplete format. Motor is still spinning. 2 = OM_INACCESSIBLE Drive is good but motor is stopped. 3 = OM_STARTING Motor is starting. 4 = OM_SPINNING Motor is started but reserved area is not loaded yet. 5 = OM_NORMAL Drive is spinning and ready to read/write. 6 = OM_POWERSAVE Drive is ready but has entered power save mode. 7 = OM_STOPPED Drive has come ready but now has been stopped. 8 = OM_NOTIFY Drive is good but NOTIFY has not arrived (SAS) 9 = OM_SUSPEND Similar to OM_STOPPED, but spin-up is automatic like OM_SLEEP 10 = OM_WAKEUP Similar to OM_STARTING, but LUN BECOMING READY during spinup is not
reported
11 = OM_NOTIFY_WAKEUP Similar to OM_NOTIFY, but next transition is to OM_WAKEUP
Functional Mode is the drive functional mode. The least significant byte (0x0000000n) contains the following:
0 = OM_NORMAL_MODE Not in special or recovery mode. 1 = OM_SPECIAL_CMD Special command mode on.
Degraded Reason (UECType) is why the file is in a degraded mode; i.e., how to exit this mode.
Bro ken Reason (UECType) is why the drive believes the hardware is broken.
Code Mode is the type of code the drive is running. The least significant bit contains the following:
- 0 = OM_FLASH Drive is running flash code
- 1 = OM_FLASH_OVERLAY Drive is running flash overlay code
- 2 = OM_DISK Drive is running code that has been loaded from disk
- 3 = OM_TRANSIENT Drive is running code that has been downloaded but not saved
Flash Code Revision Level is the revision level of the code in flash.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
83
Page 100
18.5.1.4 Inquiry Data Format - EVPD = 1, Page Code - 80h
Table 54: Inquiry Data - EVPD = 1 (Page Code = 80h)
BIT
Byte
76543210 0 Qualifier = 0 Peripheral Device Type = 0 1 Page Code = 80h 2 Reserved = 0 3 Page Length = 16 (10h)
4-19 Serial Number (ASCII)
Qualifier is set to zero to indicate that the LUN specified in the Command Block is currently supported.
Peripheral Device Type is set to zero to indicate that the device is Direct Access.
Page Code is set to the value of the page code field in the CDB.
Page Length is set to 16, and this field sp ecifies the length of the following page data.
Serial Number gives the drive serial number, right aligned.
HGST Ultrastar 7K4000 (SAS) Hard Disk Drive Specification
84
Loading...