Re: AW: RAID1 and data safety?

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

 



On Tuesday March 22, Thomas.Schuett.extern@xxxxxxxxxxxxxxx wrote:
> >Neil Brown wrote:
> >>> Is there any way to tell MD to [...] and
> >>> read-from-all-disks on a RAID1 array?
> >
> >Not sure why a checksum of X data blocks should be cheaper
> >performance-wise than a comparison between X data blocks, but I can
> >see the point in that you only have to load the data once and check
> >the checksum.  Not quite the same security, but almost.
> 
> Still, if there is different data on the two disks due to a previous 
> power failure, the comparsion could really be the better choise, isn't it?
> 

What does a comparison of two blocks tell you?  That they are
different, not which one is "right".

A filesystem designed to handle these sort of problems wouldn't suffer
from data inconsistencies due to power off.  It would "know" where it
was up to and would either re-write or ignore any data that it doesn't
know to certainly be safe.

NeilBrown
-
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