FG
💻 Software

How to change hdd read error timeout?

Fresh5 days ago
Mar 15, 20267967 views
Confidence Score0%
0%

Problem

I'm recovering data from an hdd using . With "retry" disabled, it takes roughly 30 seconds for every unreadable sector. The hdd has tens of thousands of bad sectors and the process is taking forever. Can I shorten the read error timeout to, say, 3 seconds? Perhaps with ATA commands? Kernel options?…

Error Output

Device Model:     Hitachi HTS542525K9A300
Firmware Version: BBFOC3EP
User Capacity:    250,059,350,016 bytes
ATA Version is:   8
ATA Standard is:  AT…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to change hdd read error timeout?

Low Risk

On linux, (such as ) is the timeout setting in seconds, which currently defaults to 30. In the same directory, there is a value which is used for the SCSI commands and , so isn't what you're looking for. As root, will change the timeout to 1 second.…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment