Re: SATA hdd refuses to reallocate a sector?
From: Marcus Overhagen
Date: Sun Jun 23 2013 - 09:17:00 EST
On Sun, Jun 23, 2013 at 1:21 PM, Pavel Machek <pavel@xxxxxx> wrote:
> ...Ok, lets try with dd.
> root@amd:~# dd if=/dev/sda4 of=/dev/zero bs=1 skip=8958947328
> dd: reading `/dev/sda4': Input/output error
> 0+0 records in
> 0+0 records out
> 0 bytes (0 B) copied, 5.05805 s, 0.0 kB/s
I once noticed a similar problem. The trouble is that the kernel
always seems to be doing a larger read access that failes for this
sector, and the write is never executed.
You can try: hdparam --write-sector 961237188 /dev/sda
Hope that helps,
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/