Linus Torvalds wrote:
On Fri, 21 Apr 2006, Jeff Garzik wrote:
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
NOTE! Obviously don't do this before you've backed up the disk. Depending
on the filesystem, you might just have overwritten something important, or
just your pr0n collection ;)
Jeff, please be a little more careful about telling people commands like
that. Some people might cut-and-paste the command without realizing what
it's doing as a way to "fix" their problem.
Agreed, though the original poster had already done a 400GB dd from
/dev/zero...
Jeff
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html