﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Steve Jones / Article Discussions / Article Discussions by Author  / RAID 5 Parity / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 18 Jun 2013 20:15:43 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>[quote][b]happycat59 (3/25/2011)[/b][hr]I believe that the data is actually stored on 3 disks...2 have the actual data and the 3rd has the exclusive OR of the other 2 disks.  Using this, if you loose any one of the 3 disks that store the data you are after, the other 2 have enough information to give to retrieve the data.  This basic pattern is used regardless of the number of disks in the array.  When there are more than 3 disks, each chunk of data is still stored on 3 of the disks.  The controller manages the allocation of disk space to ensure that all disks on the array are utilised.[/quote]No chunk of data is ever stored on 3 discs.  In a 3 disc array each bit is stored on one disc, and the XOR of each even numbered bit and the next following bit is stored on whichever disc neither of those bits was stored on.I think anyone guilty of describing your remarkable multi-disc arrangement as with 3-way parity no matter how many drives are used either is thinking of RAID 05 (RAID 0+5) (a really imbecile arrangement, dreamt up by a gentleman who didn't understand what RAID 50 was) or isn't thinking at all.</description><pubDate>Sat, 26 Mar 2011 13:20:10 GMT</pubDate><dc:creator>L' Eomot Inversé</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>[quote][b]UMG Developer (3/25/2011)[/b][hr][quote][b]happycat59 (3/25/2011)[/b][hr]Steve - whilst you may not have heard of checksum (Vs parity) in relation to RAID 5 , try searching google for "RAID 5 checksum".  I do agree that you can view this as a "parity" but I am one of them dinosaurs who have been around since the days of punch cards, paper tape and magnetic tape.  Parity back then was more to do with detecting error.[/quote]Isn't that still what the parity/checksum in RAID5 is for to detect and correct errors?[/quote]No, it's never used for detection, only for correction.Incidentally, I suspect that I'm a much older dinosaur that happycat58 and for me "parity" has always meant "an extra bit that tells you whether the rest of the bits have an even number or odd number of 1s" which is exactly what parity on a RAID5 array is; you could use that for detecting error, yes, and on paper tape and cards longitudinal parity was often used for that (and was close to useless, since common hardware problems tended to produce error patterns that that wouldn't detect); but of course you couldn't use horizontal parity (which would have been rather less useless) if the number of bits on your horizontal line was the number of data bits you needed, which it almost always was for binary data. On a single unit medium like cards or tape horizontal parity (which I'm sure is what happycat59 was thinking of, there was a reference to byte parity somewhere) was useless for error correction, because if you detected an error it could be that the parity bit or any of the data bits was wrong; in RAID5 horizontal parity is fine for error correction, because the error detected is that a drive has packed up - so we know which bits are OK and which or wrong.  And if you have 9 drives, you can think of RAID5 parity as being just like byte parity on a 9 channel tape - exceptthat (a) which channel is the parity swaps at regular intervals and (b) when you do recovery you know which of the bits in each row is the failed one.BTW, don't take my explaining RAID5 as a sensible use of parity means I approve of the thing - if data reliability and integrity mean more to you than a couple of per cent on your hardware budget eschew RAID 5 and use RAID 10.</description><pubDate>Sat, 26 Mar 2011 13:07:17 GMT</pubDate><dc:creator>L' Eomot Inversé</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>[quote][b]happycat59 (3/25/2011)[/b][hr]I believe that the data is actually stored on 3 disks...2 have the actual data and the 3rd has the exclusive OR of the other 2 disks.  Using this, if you loose any one of the 3 disks that store the data you are after, the other 2 have enough information to give to retrieve the data.  This basic pattern is used regardless of the number of disks in the array.  When there are more than 3 disks, each chunk of data is still stored on 3 of the disks.  The controller manages the allocation of disk space to ensure that all disks on the array are utilised.[/quote]I can tell you for sure that using EMC technology and I believe it was HP configuration manager (don't quote me on that, it's been about 6 years since I worked at this specific company) that the RAID 5 does NOT work in chunks of 3 but stripes across all 14 of the spindles if you so choose.  Also, one drive is not the dedicated parity, but it definately chunked it out across the array, a little here, a little there.Now, others might do it differently and a single parity drive makes more sense (to me) then playing whack-a-mole with the parity locations, but I didn't get to design it. :-)... The amount of research you end up doing while watching two transactional replications rebuild their snapshot on a 2 tera system because you lost two drives in the RAID 5 to decide if you should shoot your networking team is amazing...</description><pubDate>Sat, 26 Mar 2011 13:05:10 GMT</pubDate><dc:creator>Evil Kraig F</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>I learned some thing form this question.I referred : http://download.oracle.com/docs/cd/E19494-01/820-1260-15/appendixf.html#50548797_98008</description><pubDate>Sat, 26 Mar 2011 02:04:44 GMT</pubDate><dc:creator>Gobikannan</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>Good one :)</description><pubDate>Fri, 25 Mar 2011 22:29:56 GMT</pubDate><dc:creator>mohammed moinudheen</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>[quote][b]happycat59 (3/25/2011)[/b][hr]Steve - whilst you may not have heard of checksum (Vs parity) in relation to RAID 5 , try searching google for "RAID 5 checksum".  I do agree that you can view this as a "parity" but I am one of them dinosaurs who have been around since the days of punch cards, paper tape and magnetic tape.  Parity back then was more to do with detecting error.[/quote]Isn't that still what the parity/checksum in RAID5 is for to detect and correct errors?</description><pubDate>Fri, 25 Mar 2011 12:15:33 GMT</pubDate><dc:creator>UMG Developer</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>[quote][b]Duncan Pryde (3/25/2011)[/b][hr]Thanks for the question. Reading the article, I now understand RAID 2, 3 and 4 as well.But won't we all be using [url=http://en.wikipedia.org/wiki/ZFS]ZFS[/url] in a few years anyway? ;-)[/quote]Thanks for the link, this is interesting.</description><pubDate>Fri, 25 Mar 2011 07:44:40 GMT</pubDate><dc:creator>Cliff Jones</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>Nice question.  Love these easy harware quesitons, used to make money and impress friends with good knowledge about RAID and how the differant levels performed and why. These days I am more interested in the default block size used when writing and reading data to the Disk Volume.</description><pubDate>Fri, 25 Mar 2011 07:42:19 GMT</pubDate><dc:creator>SanDroid</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>[quote][b]Craig Farrell (3/24/2011)[/b][hr]Cat, it's for both, and same purpose.  In a RAID 5, for each section of disk (I forget the break out) in say a 4 disk array, 3 have data, one has a parity to make sure the other three stay intact.  Because of that parity, you can assume the data on the 'lost' disk while it's replaced, and rebuild it, due to reverse construction of the bit/bytes.  Same concept, expanded further.Lose two drives and it's game over though, as most folks are well aware. :)[/quote]I believe that the data is actually stored on 3 disks...2 have the actual data and the 3rd has the exclusive OR of the other 2 disks.  Using this, if you loose any one of the 3 disks that store the data you are after, the other 2 have enough information to give to retrieve the data.  This basic pattern is used regardless of the number of disks in the array.  When there are more than 3 disks, each chunk of data is still stored on 3 of the disks.  The controller manages the allocation of disk space to ensure that all disks on the array are utilised.Steve - whilst you may not have heard of checksum (Vs parity) in relation to RAID 5 , try searching google for "RAID 5 checksum".  I do agree that you can view this as a "parity" but I am one of them dinosaurs who have been around since the days of punch cards, paper tape and magnetic tape.  Parity back then was more to do with detecting error.</description><pubDate>Fri, 25 Mar 2011 03:46:37 GMT</pubDate><dc:creator>happycat59</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>Thanks for the question. Reading the article, I now understand RAID 2, 3 and 4 as well.But won't we all be using [url=http://en.wikipedia.org/wiki/ZFS]ZFS[/url] in a few years anyway? ;-)</description><pubDate>Fri, 25 Mar 2011 03:40:20 GMT</pubDate><dc:creator>Duncan Pryde</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>Nice question, thanks.Luckily I had the Wikipedia page for RAID bookmarked, in case new QotD featuring RAID would arrise :-)</description><pubDate>Fri, 25 Mar 2011 02:46:42 GMT</pubDate><dc:creator>Koen Verbeeck</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>Thanks for the question.</description><pubDate>Fri, 25 Mar 2011 02:05:29 GMT</pubDate><dc:creator>Stewart "Arturius" Campbell</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>Thanks for the question Steve!</description><pubDate>Fri, 25 Mar 2011 00:42:36 GMT</pubDate><dc:creator>UMG Developer</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>Thanks for the question.Here is another explanation that makes some sense.[url]http://riceball.com/d/content/raid-5-parity-what-it-and-how-does-it-work[/url]</description><pubDate>Thu, 24 Mar 2011 23:40:16 GMT</pubDate><dc:creator>SQLRNNR</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>Cat, it's for both, and same purpose.  In a RAID 5, for each section of disk (I forget the break out) in say a 4 disk array, 3 have data, one has a parity to make sure the other three stay intact.  Because of that parity, you can assume the data on the 'lost' disk while it's replaced, and rebuild it, due to reverse construction of the bit/bytes.  Same concept, expanded further.Lose two drives and it's game over though, as most folks are well aware. :)</description><pubDate>Thu, 24 Mar 2011 20:56:03 GMT</pubDate><dc:creator>Evil Kraig F</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>A Better reference: [url]http://technet.microsoft.com/en-us/library/cc938485.aspx[/url]Checksum isn't a term I've seen associate with RAID. Almost always things are listed as parity calculations.</description><pubDate>Thu, 24 Mar 2011 20:51:52 GMT</pubDate><dc:creator>Steve Jones - SSC Editor</dc:creator></item><item><title>RE: RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>Mmm, terminology is getting in my way for this one.  My definition for parity (rightly or wrongly) applies at the byte level (Parity Bit).  For RAID 5, I have normally used the term "checksum" which is the value stored on 1 of the 3 disks required to store a single value,</description><pubDate>Thu, 24 Mar 2011 20:44:07 GMT</pubDate><dc:creator>happycat59</dc:creator></item><item><title>RAID 5 Parity</title><link>http://www.sqlservercentral.com/Forums/Topic1083711-32-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/questions/Hardware/72203/"&gt;RAID 5 Parity&lt;/A&gt;[/B]</description><pubDate>Thu, 24 Mar 2011 20:06:42 GMT</pubDate><dc:creator>Steve Jones - SSC Editor</dc:creator></item></channel></rss>