Re: data corruption: ext3/lvm2/md/mptsas/vitesse/seagate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-03-10 at 20:02 +0100, Janek Kozicki wrote:
> James Bottomley said:     (by the date of Mon, 10 Mar 2008 10:36:26 -0500)
> 
> 
> > I'm afraid the only way to confirm this theory definitively will be with
> > the destructive disktest
> 
> you can try this destructive test:
> 
>   badblocks -c 10240 -s -w -t random -v /dev/sdc
> 
> or use smaller value for -c if you wish.

No, you can't (at least not to prove what I think the problem is).

That test is looking for media failure and uses special write patterns
to try to find it.  We're looking for head misplacement.

The reason for using the disktest test is that it specifically writes
the block number into the block ... and it compares it back on read.
The test will definitively pick up any misplaced sector write errors
done by the disk.

James


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux