On Fri, Apr 14, 2017 at 11:15 AM, Dave Plater <dplater.list@gmail.com> wrote:
using "smartctl -l selftest" it gives you the first failed sector. It's a long process if you have many bad sectors. In my case I only had four that I suspect came from a defective sata cable. You don't get a list.
?? How does a bad cable cause a bad sector? The drive electronics themselves take 512 bytes (or whatever the sector size is) of data and generate an appropriate header/footer incuding the ECC info. A correctable read error means the data was only slightly corrupt and the ECC data allowed the data to be corrected. A bad sector means the contents of the sector are corrupted such that the ECC info isn't sufficient to correct the sector data. The sata cable is not involved in the ECC generation process, nor the low level read/verify process. Greg -- Greg Freemyer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org