Re: Scsi errors with Megaraid 300-8x

From: Justin Piszcz
Date: Wed Aug 23 2006 - 11:56:26 EST

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.


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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at