|
How interesting. I had thought that the RAID-5 protection method was based upon parity instead of XOR. -----Original Message----- From: Leif Svalgaard [mailto:leif@leif.org] Sent: Tuesday, August 27, 2002 8:19 AM To: mi400@midrange.com Subject: Re: [MI400] Reverse of XOR. From: Walden H. Leverich <WaldenL@TechSoftInc.com> > >From: James H. H. Lampert [mailto:jamesl@hb.quik.com] > >This, by the way, is why XOR operations are often used for graphics > And more relevant to the iSeries, XOR is the basis for RAID-5 disk > subsystems. Given three drives: > > Bit Drive1 Drive2 Drive3 > 1 1 1 0 > 2 1 0 1 > 3 0 0 1 > 4 0 1 1 > > Etc. Remove (crash) any one of those drives and you can recover the data on > it by XOR-ing the data on the other two drives. > for this to work the disks have to written correctly. You example is not too good. Remove Drive3 and try to recover it (fails for bit 3) _______________________________________________ This is the MI Programming on the AS400 / iSeries (MI400) mailing list To post a message email: MI400@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/mi400 or email: MI400-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/mi400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.