From mboxrd@z Thu Jan 1 00:00:00 1970 From: NeilBrown Subject: Re: What's the typical RAID10 setup? Date: Tue, 1 Feb 2011 09:50:30 +1100 Message-ID: <20110201095030.65e2349b@notabene.brown> References: <20110131152151.GD7861@cthulhu.home.robinhill.me.uk> <20110131192858.GD27952@www2.open-std.org> <4D4718E1.9040607@hardwarefreak.com> <20110131203725.GB2283@www2.open-std.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Roberto Spadim Cc: Jon Nelson , Mathias =?ISO-8859-1?B?QnVy6W4=?= , Keld =?ISO-8859-1?B?Svhybg==?= Simonsen , Stan Hoeppner , Denis , Linux-RAID List-Id: linux-raid.ids On Mon, 31 Jan 2011 19:51:32 -0200 Roberto Spadim wrote: > now, a question.... > > if raid1 is like raid10 (one disk = raid0) > why not only one raid1 (raid10) software implementation? > for example, if i have 4 disks and i want 4 mirrors. > why not work with only raid10? why the option since we have all > features of raid1 inside raid10? > is it to allow small source code (a small ARM rom)? memory usage? cpu > usage? easy to implement? It is mostly "historical reasons". RAID1 already existed. When I wrote RAID10 I wanted to keep it separate so as not to break RAID1. I have never had a good reason to merge the two implementations. And RAID1 does have some functionality that RAID10 doesn't, like write-behind. Also RAID1 doesn't have a chunk size. RAID10 does. NeilBrown