Messages in this thread | | | Date | Fri, 21 Apr 2006 15:18:59 -0400 | From | Jeff Garzik <> | Subject | Re: LibPATA code issues / 2.6.16 (previously, 2.6.15.x) |
| |
Justin Piszcz wrote: > Yet a new problem, under 2.6.16, when I fill up the disk, smartmontools > reports this: > > Apr 21 14:24:20 p34 smartd[1443]: Device: /dev/sdc, 1 Currently unreadable > (pending) sectors > Apr 21 14:54:20 p34 smartd[1443]: Device: /dev/sdc, 1 Currently unreadable > (pending) sectors > Apr 21 14:54:20 p34 smartd[1443]: Device: /dev/sdc, 1 Offline uncorrectable > sectors > > What made it error under 2.6.16? > > $ time dd if=/dev/zero of=file.out > dd: writing to `file.out': No space left on device > 781118873+0 records in > 781118872+0 records out > 399932862464 bytes (400 GB) copied, 8873.06 seconds, 45.1 MB/s > > real 147m53.092s > user 8m1.395s > sys 42m4.500s > > $ > > Under 2.6.15.x, I did not see this behavior, is this going bad, or?
That's a disk-level problem. You've got bad sectors.
You can force the disk to replace the bad sectors by doing a disk-level write:
dd if=/dev/zero of=/dev/sda1 bs=4k
and then test the disk with
smartctl -d ata -t long /dev/sda
If sectors continue to die, the disk is toast.
Jeff
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |