14 Apr
2017
14 Apr
'17
13:59
On 2017-04-14 15:52, Dave Plater wrote:
On 12/04/2017 15:28, Anton Aylward wrote:
'smartctl -h /dev/sda' just says "PASSED" which is nice but not detailed. 'smartctl --all /dev/sda' tells me a lot but doesn't seem to tell me what I'm looking for. smartctl -t long /dev/sdX is the command that tests all sectors, if it reports an error send it back. I've successfully extended the life of drives with uncorrectable sectors by using the hdparm --write-sector command on the sector output in smartctl -l selftest.
How do you get the list of bad sectors from smartctl? -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)