Hitachi HTS541680J9SA00 Specifications - Page 136

S.M.A.R.T. Read Log Sector Subcommand D5h, 40.1.7, S.M.A.R.T. Write Log Sector Subcommand

Page 136 highlights

Travelstar 5K160 (SATA) Hard Disk Drive Specification proceed to do an off-line read scan through all areas not included in the test spans. This off-line read scan shall completed as rapidly as possible, no pauses between block reads, and any errors encountered shall not be reported to the host. Instead error locations may be logged for future reallocation. If the device is powered-down before the off-line scan is completed, the off-line scan shall resume when the device is again powered up. From power-up, the resumption of the scan shall be delayed the time indicated in the Selective self-test pending time field in the Selective self-test log. During this delay time the pending flag shall be set to one and the active flag shall be set to zero in the Selective self-test log. Once the time expires, the active flag shall be set to one, and the off-line scan shall resume. When the entire media has been scanned, the off-line scan shall terminate, both the pending and active flags shall be cleared to zero, and the off-line data collection status in the S.M.A.R.T. READ DATA response shall be set to 02h indicating completion. During execution of the Selective self-test, the self-test executions time byte in the Device S.M.A.R.T. Data Structure may be updated but the accuracy may not be exact because of the nature of the test span segments. For this reason, the time to complete off-line testing and the self-test polling times are not valid. Progress through the test spans is indicated in the selective self-test log. A COMRESET or software reset shall abort the Selective self-test except when the pending bit is set to one in the Selective self-test log (see 7.39.7). The receipt of a S.M.A.R.T. EXECUTE OFF-LINE IMMEDIATE command with 0Fh, Abort off-line test routine, in the LBA Low register shall abort Selective self-test regardless of where the device is in the execution of the command. If a second self-test is issued while a selective self-test is in progress, the selective self-test is aborted and the newly requested self-test is executed. 14.40.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 data are returned at a command and the Sector Count value shall be set to one. The LBA Low shall be set to specify the log sector address. Log sector address 00h 01h 06h 09h 80h-9Fh Figure 82 Log sector addresses Content Log Directory S.M.A.R.T. Error Log S.M.A.R.T. Self-test Log Selective self-test log Host vendor specific Type Read Only Read Only Read Only Read/Write Read/Write 14.40.1.7 S.M.A.R.T. Write Log Sector (Subcommand D6h) This command writes 512 bytes data to the specified log sector. The 512 bytes data are transferred at a command and the Sector Count value shall be set to one. The LBA Low shall be set to specify the log sector address (Figure 89). If Read Only log sector is specified, the device returns ABRT error. 14.40.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. Once 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 S.M.A.R.T. Enable Operations subcommand from the host, the device enables S.M.A.R.T. capabilities and functions. 136/167

  • 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

Travelstar 5K160 (SATA) Hard Disk Drive Specification
136/167
proceed to do an off-line read scan through all areas not included in the test spans. This off-line read
scan shall completed as rapidly as possible, no pauses between block reads, and any errors
encountered shall not be reported to the host. Instead error locations may be logged for future
reallocation. If the device is powered-down before the off-line scan is completed, the off-line scan
shall resume when the device is again powered up. From power-up, the resumption of the scan shall
be delayed the time indicated in the Selective self-test pending time field in the Selective self-test
log. During this delay time the pending flag shall be set to one and the active flag shall be set to zero
in the Selective self-test log. Once the time expires, the active flag shall be set to one, and the off-line
scan shall resume. When the entire media has been scanned, the off-line scan shall terminate, both
the pending and active flags shall be cleared to zero, and the off-line data collection status in the
S.M.A.R.T. READ DATA response shall be set to 02h indicating completion.
During execution of the Selective self-test, the self-test executions time byte in the Device S.M.A.R.T.
Data Structure may be updated but the accuracy may not be exact because of the nature of the test
span segments. For this reason, the time to complete off-line testing and the self-test polling times
are not valid. Progress through the test spans is indicated in the selective self-test log.
A COMRESET or software reset shall abort the Selective self-test except when the pending bit is set
to one in the Selective self-test log (see 7.39.7). The receipt of a S.M.A.R.T. EXECUTE OFF-LINE
IMMEDIATE command with 0Fh, Abort off-line test routine, in the LBA Low register shall abort
Selective self-test regardless of where the device is in the execution of the command. If a second
self-test is issued while a selective self-test is in progress, the selective self-test is aborted and the
newly requested self-test is executed.
14.40.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 data are returned at a command and the Sector Count value shall be set to one. The
LBA Low shall be set to specify the log sector address.
Log sector address
Content
Type
00h
Log Directory
Read Only
01h
S.M.A.R.T. Error Log
Read Only
06h
S.M.A.R.T. Self-test Log
Read Only
09h
Selective self-test log
Read/Write
80h-9Fh
Host vendor specific
Read/Write
Figure 82 Log sector addresses
14.40.1.7
S.M.A.R.T. Write Log Sector (Subcommand D6h)
This command writes 512 bytes data to the specified log sector.
The 512 bytes data are transferred at a command and the Sector Count value shall be set to one. The
LBA Low shall be set to specify the log sector address (Figure 89). If Read Only log sector is specified,
the device returns ABRT error.
14.40.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. Once 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 S.M.A.R.T. Enable Operations subcommand from the host, the device enables
S.M.A.R.T. capabilities and functions.