Error recovery control: Difference between revisions

Content deleted Content added
Western Digital Time Limit Error Recovery Utility - WDTLER.EXE: Unless we have a reference, this might be misleading
Line 54:
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>
These commands may not work on all HDs:hard disk drives because some manufacturers have changed their desktop drives not to stopinclude the support for the ERC parameter,<ref>{{cite web|url=http://www.spinics.net/lists/raid/msg38964.html|title=Re: md RAID with enterprise-class SATA or SAS drives|work=spinics.net}}</ref> purportedly to force sales of their more expensive RAID/enterprise models.
smartctl -l scterc /dev/sda
SCT Error Recovery Control:
Read: Disabled
Write: Disabled
</pre>
*Changing the setting:<pre>
smartctl -l scterc,200,200 /dev/sda
SCT Error Recovery Control:
Read: 200 (20.0 seconds)
Write: 200 (20.0 seconds)
</pre>
*Disabling TLER (allow unlimited time for recovery, for stand-alone drives not in a RAID array):<pre>
smartctl -l scterc,0,0 /dev/sda
SCT Error Recovery Control set to:
Read: Disabled
Write: Disabled
</pre>
These commands may not work on all HDs: some manufacturers have changed their desktop drives to stop support for the ERC parameter,<ref>{{cite web|url=http://www.spinics.net/lists/raid/msg38964.html|title=Re: md RAID with enterprise-class SATA or SAS drives|work=spinics.net}}</ref> purportedly to force sales of their more expensive RAID/enterprise models.
 
==RAID controllers==