Re: [RFE] Please, add optional RAID1 feature (= chunk checksums) to make it more robust

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

 



yeah, i think this data corruption could/should be implemented as badblocks...
do you have a disk that read blocks with wrong data like you told?
if yes, could you check if it have bad blocks? (via some software,
since i don´t know if linux kernel will report it as badblock on dmesg
or something else)
some disk manufacturers have MSDOS compatible program to check disk
badblocks and others features... check if it´s a real bad block, or a
disk problem (controller/data comunication)


2012/7/18 Jaromir Capik <jcapik@xxxxxxxxxx>
>
> > > Hello.
> > >
> > > I'd like to ask you to implement the following ...
> > >
> > > The current RAID1 solution is not robust enough to protect the data
> > > against random data corruptions. Such corruptions usually happen
> > > when an unreadable sector is found by the drive's electronics
> > > and when the drive's trying to reallocate the sector to the spare
> > > area.
> > > There's no guarantee that the reallocated data will always match
> > > the original stored data since the drive sometimes can't read the
> > > data
> > > correctly even with several retries. That unfortunately completely
> > > masks
> > > the issue, because the sector can be read by the OS without
> > > problems
> > > even if it doesn't contain correct data. Would it be possible
> > > to implement chunk checksums to avoid such data corruptions?
> > > If a corrupted chunk is encountered, it would be taken from the
> > > second
> > > drive and immediately synced back. This would have a small
> > > performance
> > > and capacity impact (1 sector per chunk to minimize performance
> > > impact
> > > caused by unaligned granularity = 0.78% of the capacity with 64k
> > > chunks).
> > >
> > > Please, let me know if you find my request reasonable or not.
> >
> > I believe alternative to that is implemented via the Linux RAID MD
> > badblock feature.
>
> Hello keld ...
>
> I couldn't find any info about that feature.  Could you please give
> me more info about that?
>
> Thanks in advance.
>
> Regards,
> Jaromir.
>
> >
> > best regards
> > keld
> >
> --
> 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




--
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
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