* Re[2]: Concept problem with RAID1?
@ 2006-03-24 16:15 Jim Klimov
2006-03-24 16:39 ` John Rowe
0 siblings, 1 reply; 2+ messages in thread
From: Jim Klimov @ 2006-03-24 16:15 UTC (permalink / raw)
To: linux-raid
Hello PFC,
Friday, March 24, 2006, 7:07:04 PM, you wrote:
P> I think you would like something like this :
P> A LVM (or dm- device mapper) layer which sits between the RAID layer and
P> the physical disks. This layer computes checksums as data is written to
P> the physical disks, and checks read data against these checksums.
P> Problem is, where do you store the checksums ?
Why not store the checksums on the same device that stores the
blocks? For example, let a 64-kb (65536b) block of data store,
say, 65520 bytes of data and 16 bytes of checksum/digest and a
timestamp. If the hardware goes crazy and some bits (or more)
are mixed up, we can detect if the data is not trustworthy -
the checksum and/or data is screwed and they don't match each
other. A drawback is the impossibility to mount such a device
as-is, and some loss of performance in addressing/buffering
which I think is okay as a tradeoff for reliability.
A good thing (arguably) would be a capability of raid1 layer
to interact with this checksummed layer during rebuilds or even
casual work. If a block is found to be bad on one submirror,
it could be read (and re-written) from another, valid, copy
without remaking the whole metadevice.
--
Best regards,
Jim Klimov mailto:klimov@2ka.mipt.ru
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-24 16:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-24 16:15 Re[2]: Concept problem with RAID1? Jim Klimov
2006-03-24 16:39 ` John Rowe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox