Re: Scsi errors with Megaraid 300-8x

Justin Piszcz
2006-08-23T15:59:08Z

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?