On Mon, Feb 9, 2009 at 7:15 PM, Jeff Garzik <jeff@xxxxxxxxxx> wrote: > Greg Freemyer wrote: > >> I'm hearing of people saying a 2 disk mirror (raid-1) is not safe >> enough. Go with either a 3 disk mirror or to raid-6. Even with >> raid-6 I personally would not let it have too many spindles. (Whatever >> too many means?) > > IMO, RAID-1 was never safe. With RAID-1, one must rely solely on "knowing" > which RAID component is bad. With a completely dead drive, this is obvious; > with slowly creeping bad sectors, far less obvious. > > Plus, the biggest crime, in my opinion, is the lack of checksumming or any > other method of actually verifying your data. > > I've been waiting for years for someone to write RAID-1f... RAID-1 with a > hash function that writes checksums in a special metadata area (just like > the other pre-existing RAID metadata... a RAID partition is really a just > simple filesystem anyway). > > That way you _know_ with 100% certainty that your data is OK (or not), even > if you only have a single drive. > > Jeff Jeff, I guess you know the scsi standard is in the process of getting expanded such that each sector can optionally have a well known hash. And that the hash can be provided by the kernel as part of the data write. In turn it can be read as part of the sector on a data read. Thus it will be possible to have true end-to-end reliability in a single disk environment. Who knows when hardware will start to show up. If anyone on this list has any influence on the T13 (ata) spec people, I think it would be a great addition to the ATA world as well as for the scsi world. You can google for "SCSI DIF/DIX extensions" The linux block layer, dm, and mdraid are all gaining support. Maybe you can figure out an efficient way to leverage that infrastructure and implement raid-1f via libata and normal drives!!! Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html