Hitachi 7K250 Specifications - Page 202

S.M.A.R.T. Write Log Sector subcommand D6h

Page 202 highlights

host within two seconds after receipt of the new command. After servicing the interrupting command, the device will resume its routine automatically or not start its routine depending on the interrupting command. Captive mode: When executing self-test in captive mode, the device sets BSY to one and executes the specified self-test routine after receipt of the command. At the end of the routine the device sets the execution result in the Self-test execution status byte (see Table 117: "Device Attribute Data Structure" on page 190) and ATA registers as defined below and then executes the command completion. Status Error Cyl Low Cyl High Set ERR to one when the self-test has failed Set ABRT to one when the self-test has failed Set to F4h when the self-test has failed Set to 2Ch when the self-test has failed 12.42.1.6 S.M.A.R.T. Read Log Sector (subcommand D5h) This command returns the specified log sector contents to the host. The 512 bytes of data are returned at a command and the Sector Count value shall be set to one. The Sector Number shall be set to specify the log sector address. Log sector address Content 00h 01h 03h 06h 07h 80h-9Fh Log directory S.M.A.R.T. Error Log Extended Comprehensive SMART Error Log S.M.A.R.T. Self-test Log Extended Self-test Log Host vendor specific Type Read Only Read Only See note Read Only See note Read/Write Note: Log addresses 03h and 07h are used by the Read Log Ext and Write Log Ext commands. If these log addresses are used with the SMART Read Log Sector command, the device shall return command aborted. 12.42.1.7 S.M.A.R.T. Write Log Sector (subcommand D6h) This command writes 512 bytes of data to the specified log sector. The 512 bytes of data are transferred at a command and the Sector Count value shall be set to one. The Sector Number shall be set to specify the log sector address as shown above. If a Read Only log sector is specified, the device returns ABRT error. 12.42.1.8 S.M.A.R.T. Enable Operations (subcommand D8h) This subcommand enables access to all S.M.A.R.T. capabilities within the device. Prior to receipt of a S.M.A.R.T. Enable Operations subcommand, Attribute Values are neither monitored nor saved by the device. The state of S.M.A.R.T.-either enabled or disabled-will be preserved by the device across power cycles. When enabled, the receipt of subsequent S.M.A.R.T. Enable Operations subcommands will not affect any of the Attribute Values. Upon receipt of the SMART Enable Operations subcommand from the host the device enables S.M.A.R.T. capabilities and functions and then saves any updated Attribute Values to the Attribute Data sector. 12.42.1.9 S.M.A.R.T. Disable Operations (subcommand D9h) This subcommand disables all S.M.A.R.T. capabilities within the device including the attribute Autosave feature of the device. After receipt of this subcommand the device disables all S.M.A.R.T. operations. Non self-preserved Attribute Values will no longer be monitored. The state of S.M.A.R.T.-either enabled or disabled-is preserved by the device across power cycles. Deskstar 7K250 Hard Disk Drive Specification 188

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241

Deskstar 7K250 Hard Disk Drive Specification
188
host within two seconds after receipt of the new command. After servicing the interrupting command, the device
will resume its routine automatically or not start its routine depending on the interrupting command.
Captive mode:
When executing self-test in captive mode, the device sets BSY to one and executes the specified
self-test routine after receipt of the command. At the end of the routine the device sets the execution result in the
Self-test execution status byte (see Table 117: “Device Attribute Data Structure” on page 190) and ATA registers
as defined below and then executes the command completion.
12.42.1.6
S.M.A.R.T. Read Log Sector (subcommand D5h)
This command returns the specified log sector contents to the host.
The 512 bytes of data are returned at a command and the Sector Count value shall be set to one. The Sector Num-
ber shall be set to specify the log sector address.
Note:
Log addresses 03h and 07h are used by the Read Log Ext and Write Log Ext commands. If these log
addresses are used with the SMART Read Log Sector command, the device shall return command aborted.
12.42.1.7
S.M.A.R.T. Write Log Sector (subcommand D6h)
This command writes 512 bytes of data to the specified log sector.
The 512 bytes of data are transferred at a command and the Sector Count value shall be set to one. The Sector
Number shall be set to specify the log sector address as shown above. If a Read Only log sector is specified, the
device returns ABRT error.
12.42.1.8
S.M.A.R.T. Enable Operations (subcommand D8h)
This subcommand enables access to all S.M.A.R.T. capabilities within the device. Prior to receipt of a S.M.A.R.T.
Enable Operations subcommand, Attribute Values are neither monitored nor saved by the device. The state of
S.M.A.R.T.—either enabled or disabled—will be preserved by the device across power cycles. When enabled, the
receipt of subsequent S.M.A.R.T. Enable Operations subcommands will not affect any of the Attribute Values.
Upon receipt of the SMART Enable Operations subcommand from the host the device enables S.M.A.R.T. capabil-
ities and functions and then saves any updated Attribute Values to the Attribute Data sector.
12.42.1.9
S.M.A.R.T. Disable Operations (subcommand D9h)
This subcommand disables all S.M.A.R.T. capabilities within the device including the attribute Autosave feature of
the device. After receipt of this subcommand the device disables all S.M.A.R.T. operations. Non self-preserved
Attribute Values will no longer be monitored. The state of S.M.A.R.T.—either enabled or disabled—is preserved
by the device across power cycles.
Status
Set ERR to one when the self-test has failed
Error
Set ABRT to one when the self-test has failed
Cyl Low
Set to F4h when the self-test has failed
Cyl High
Set to 2Ch when the self-test has failed
Log sector address
Content
Type
00h
Log directory
Read Only
01h
S.M.A.R.T. Error Log
Read Only
03h
Extended Comprehensive SMART Error Log
See note
06h
S.M.A.R.T. Self-test Log
Read Only
07h
Extended Self-test Log
See note
80h-9Fh
Host vendor specific
Read/Write