RE: striping and mirroring with only two disks

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

 



The reason people stripe is performance.  The performance gain is by having
more disk heads working.  If you stripe a single disk (or 2 if mirrored), it
will thrash!  This will hurt/kill performance.  Just mirror.

Oh, you could do it if you want.  It will work.  Create a mirror (RAID1)
with each pair of chunks, 6 mirrors total (with your example).  Then stripe
the mirrors (RAID0).

-----Original Message-----
From: linux-raid-owner@vger.kernel.org
[mailto:linux-raid-owner@vger.kernel.org] On Behalf Of Keld Jørn Simonsen
Sent: Saturday, January 31, 2004 2:53 PM
To: linux-raid@vger.kernel.org
Subject: striping and mirroring with only two disks

Hi!

Is it possible to both do striping and mirroring if you only have 2 disks?

I was thinking of having the chunks organized on each disk so
that striping reads and writes could be done. Eg. by having 

disk1: chunk0 chunk2 chunk4 ......   chunk1 chunk3 chunk5
disk2: chunk1 chunk3 chunk5 ......   chunk0 chunk2 chunk4

Would such a layout of chunks allow for striped reading and writing?

Best regards
keld
-
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

-
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

[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