How to adjust TLER value on hard disk (for data recovery)

In case the hard disk itself is taking too long to respond, some operations will fail and can cause the controller (software or hardware) to drop the disk out of the RAID.
Even when no RAID is used, the hard disk itself can still spend too much time retrying a (failing) read, causing unwanted delays and possible further damage.

To alleviate this, you can try to use a feature called TLER (Time Limited Error Recovery) or CCTL (Command Completion Time Limit).