* RE: SV: RAID-6 support in kernel?
@ 2002-06-03 19:03 Dale Stephenson
2002-06-04 12:59 ` Roy Sigurd Karlsbakk
0 siblings, 1 reply; 5+ messages in thread
From: Dale Stephenson @ 2002-06-03 19:03 UTC (permalink / raw)
To: 'Kasper Dupont', Roy Sigurd Karlsbakk
Cc: Christian Vik, linux-kernel, linux-raid
Kasper Dupont wrote:
> Roy Sigurd Karlsbakk wrote:
> >
> > Below is a (patented?)
>
> No problem for me I live in Europe.
>
> > version that works. This is from the linux-raid list
> >
> > > A1 A2 (P1) (PA)
> > > (P2) (PB) B2 B1
>
> Nice, looks like it works.
>
> > > C4 C3 (PC) (P3)
> > > (PD) (P4) D3 D4
>
> In this encoding the roles of disk one and two are
> switched, and three and four are also switched. Are
> there any reason for this?
>
I liked spreading the row-based and column-based parity across all disks.
Would that matter? It could, depending on implementation.
Consider an access pattern to the RAID which writes full stripes, and only
the first two lines (repeating) are used as an access pattern. This might
go something like this:
write A1 & A2 (Reads P1 & P2, calculates P1, PA, P2, writes A1, A2, P1, PA,
P2)
write B2 & B1 (Reads P1 & P2, calculates P1, P2, PB, writes P1, P2, PB, B2,
B1)
Repeat this a bunch of times, and you'll find you are writing twice as many
blocks to Drives 1 & 3 as you are to Drives 2 & 4. However, if you add the
C and D rows to the scheme, the full-stripe writes spread the column parity
writes evenly across all drives.
Of course, for a 4 drive setup there's no reason to use RAID 6 at all (RAID
10 will withstand any two drive failure if you only use 4 drives), but
that's the reasoning. I think the best way to deal with the read-modify
write problem for RAID 6 is to use a small chunk size and deal with NxN
chunks as a unit. But YMMV.
Dale Stephenson
steph@snapserver.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SV: RAID-6 support in kernel?
2002-06-03 19:03 SV: RAID-6 support in kernel? Dale Stephenson
@ 2002-06-04 12:59 ` Roy Sigurd Karlsbakk
0 siblings, 0 replies; 5+ messages in thread
From: Roy Sigurd Karlsbakk @ 2002-06-04 12:59 UTC (permalink / raw)
To: Dale Stephenson, 'Kasper Dupont'
Cc: Christian Vik, linux-kernel, linux-raid
> Of course, for a 4 drive setup there's no reason to use RAID 6 at all (RAID
> 10 will withstand any two drive failure if you only use 4 drives), but
> that's the reasoning. I think the best way to deal with the read-modify
> write problem for RAID 6 is to use a small chunk size and deal with NxN
> chunks as a unit. But YMMV.
RAID10 will _not_ withstand any two-drive fail in a 4-drive scenario. If D1
and D3 fail, you're fscked
D1 D2
D3 D4
--
Roy Sigurd Karlsbakk, Datavaktmester
Computers are like air conditioners.
They stop working when you open Windows.
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <A2C65A3296DA4A4FB30DB57A9A464A16436851@exchange.lan.vanadis.no>]
* Re: SV: RAID-6 support in kernel?
[not found] <A2C65A3296DA4A4FB30DB57A9A464A16436851@exchange.lan.vanadis.no>
@ 2002-06-03 9:59 ` Roy Sigurd Karlsbakk
2002-06-03 11:08 ` Kasper Dupont
0 siblings, 1 reply; 5+ messages in thread
From: Roy Sigurd Karlsbakk @ 2002-06-03 9:59 UTC (permalink / raw)
To: Christian Vik; +Cc: linux-kernel, Kasper Dupont, linux-raid, dstephenson
> > > > > RAID-6 layout: http://www.acnc.com/04_01_06.html
> > >
> > > If it is supposed to survive two arbitrary disk failures something is
> > > wrong with that figure. They store 12 logical sectors in 20 physical
> > > sectors across 4 drives. With two lost disks there are 10 physical
> > > sectors left from which we want to reconstruct 12 logical sectors.
> > > That is impossible.
> >
> > Might be the diagram is wrong.
> Could be the case, so until I find another description I will
> still not know how RAID-6 works.
Below is a (patented?) version that works. This is from the linux-raid list
> A1 A2 (P1) (PA)
> (P2) (PB) B2 B1
> C4 C3 (PC) (P3)
> (PD) (P4) D3 D4
>
> Disclaimer: I took that from Patent 6,353,895. If you look it up you'll see
> a lot of different schemes and discussion of XOR-based RAID 6, in language
> disguised as English. You'll also see that I'm listed as the inventor.
> That's four companies back for me, but my current employer unknowingly
> has some rights to it, so I hope it will see the light of day sometime.
>
> Dale Stephenson
> steph@snapserver.com
--
Roy Sigurd Karlsbakk, Datavaktmester
Computers are like air conditioners.
They stop working when you open Windows.
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: SV: RAID-6 support in kernel?
2002-06-03 9:59 ` Roy Sigurd Karlsbakk
@ 2002-06-03 11:08 ` Kasper Dupont
2002-06-03 13:28 ` Roy Sigurd Karlsbakk
0 siblings, 1 reply; 5+ messages in thread
From: Kasper Dupont @ 2002-06-03 11:08 UTC (permalink / raw)
To: Roy Sigurd Karlsbakk; +Cc: Christian Vik, linux-kernel, linux-raid, dstephenson
Roy Sigurd Karlsbakk wrote:
>
> Below is a (patented?)
No problem for me I live in Europe.
> version that works. This is from the linux-raid list
>
> > A1 A2 (P1) (PA)
> > (P2) (PB) B2 B1
Nice, looks like it works.
> > C4 C3 (PC) (P3)
> > (PD) (P4) D3 D4
In this encoding the roles of disk one and two are
switched, and three and four are also switched. Are
there any reason for this?
--
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:razor-report@daimi.au.dk
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-06-04 12:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-03 19:03 SV: RAID-6 support in kernel? Dale Stephenson
2002-06-04 12:59 ` Roy Sigurd Karlsbakk
[not found] <A2C65A3296DA4A4FB30DB57A9A464A16436851@exchange.lan.vanadis.no>
2002-06-03 9:59 ` Roy Sigurd Karlsbakk
2002-06-03 11:08 ` Kasper Dupont
2002-06-03 13:28 ` Roy Sigurd Karlsbakk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).