Error recovery control: Difference between revisions

Content deleted Content added
BG19bot (talk | contribs)
m Remove blank line(s) between list items per WP:LISTGAP to fix an accessibility issue for users of screen readers. Do WP:GENFIXES and cleanup if needed. Discuss this at Wikipedia talk:WikiProject Accessibility#LISTGAP
Remove blank line(s) between list items per WP:LISTGAP to fix an accessibility issue for users of screen readers. Discuss this at Wikipedia talk:WikiProject Accessibility#LISTGAP, typo(s) fixe using [[Project:AWB|AWB (11971)
Line 17:
In a stand-alone configuration TLER should be disabled. As the drive is not redundant, reporting segments as failed will only increase manual intervention. Without a hardware RAID controller or a software RAID implementation to drop the disk, normal (no TLER) recovery ability is most stable.
 
In a software RAID configuration whether or not TLER is helpful is dependent on the operating system. For example, in FreeBSD the ATA/CAM stack controls the timeouts, and is set to progressively increase the timeouts as they occur. Thus, if a desktop disk without TLER starts delaying a response to a sector read, FreeBSD will retry the read with successively longer timeouts to prevent prematurely dropping the disk out of the array.
 
{| class="wikitable"
Line 112:
On disks that fully implement the ATA-8<ref>[http://www.t13.org/documents/UploadedDocuments/docs2007/D1699r4a-ATA8-ACS.pdf AT Attachment 8 - ATA/ATAPI Command Set (ATA8-ACS) ]</ref> standard, the smartctl utility (part of the [http://smartmontools.sourceforge.net smartmontools] package) can be used<ref>[http://cgi.csc.liv.ac.uk/~greg/projects/er c/ Author's description of the original patch to smartctl that implemented that feature]</ref> to control the TLER behavior of many drives by setting the SCT Error Recovery
Control (scterc) parameter:
* Reading the current setting:<pre>
<pre>
smartctl -l scterc /dev/sda
SCT Error Recovery Control:
Line 119 ⟶ 118:
Write: Disabled
</pre>
*Changing the setting:<pre>
<pre>
smartctl -l scterc,200,200 /dev/sda
SCT Error Recovery Control:
Line 126 ⟶ 124:
Write: 200 (20.0 seconds)
</pre>
*Disabling TLER (allow unlimited time for recovery, for stand-alone drives not in a RAID array):<pre>
<pre>
smartctl -l scterc,0,0 /dev/sda
SCT Error Recovery Control set to: