On Wed, 23 Aug 2006, Johan Groth wrote:
Justin Piszcz wrote:
Nope, r+w will write over everything on the disk, but I have found -the-
most effective way to see if a disk is good or not. I'd rather have the
disk die to that test rather than using it in production and finding it
dies with my data on it.
Hmm, we both should read the man page of badblocks a bit better :).
I found this:
-n Use non-destructive read-write mode. By default only a
non-destructive read-only test is done. This option must not be combined with
the -w option, as they are mutually exclusive.
Cheers,
Johan
I have not tested that option. I wonder if it is as good as a real R+W
mode. What does smartctl -a /dev/sda say on the disk that you are having
problems with?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]