From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Brown Subject: Re: LVM over RAID, or plain disks? A:"Yes" = best of both worlds? Date: Tue, 30 Nov 2010 17:47:01 +1100 Message-ID: <20101130174701.047b30a0@notabene.brown> References: <2D.98.07087.690A2FC4@cdptpa-omtalb.mail.rr.com> <20101129152916.GB13310@www2.open-std.org> <20101130114257.01134d62@notabene.brown> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: hansbkk@gmail.com Cc: Keld =?ISO-8859-1?B?Svhybg==?= Simonsen , Leslie Rhorer , linux-raid@vger.kernel.org List-Id: linux-raid.ids On Tue, 30 Nov 2010 12:35:56 +0700 hansbkk@gmail.com wrote: > On Tue, Nov 30, 2010 at 7:42 AM, Neil Brown wrote: > > If you are comparing recovering after some sort of problem with > > a RAID10 over 6 devices compared with LVM over 2 2-device RAID1s, = then the > > former is certainly easier. This is simply because there are less = layers of > > complexity where something could go wrong. > > > > In both cases, your data will be spread across multiple disks, and = any one > > disk or even any two disks would be of no use to you. >=20 >=20 > Thanks Neil. >=20 > Still true with LVM on top of the 6-drive set in either case? Yes. LVM will spread the data around in a different way, but it is sti= ll not possible to recovery anything reliably without all of the data. >=20 >=20 > Scenario being > All the drives are together and OK (generic SATA2, cleanly > disconnected) - but everything else is gone > Not practical to rebuild the whole set of hosts, just want to get at= key data > Mount the disks on a new machine, boot from SystemRescueCD or Knoppi= x > and copy the key data off. There should be no difficulty doing that in either case. But there is = more room for things to go wrong if you use LVM+MD than if you just use MD. So certainly use LVM if you need any of its features, but otherwise don= 't. >=20 >=20 > And between RAID6 and RAID10? I think this has already been answered. RAID10 tends to be faster, but with 5 or more devices, RAID6 makes more= space available. RAID6 can survive any 2 devices failing. RAID10 over 6 devices can som= etimes survive 3 failures, and sometimes not survive 2. NeilBrown >=20 >=20 > > On Mon, 29 Nov 2010 23:00:19 +0700 hansbkk@gmail.com wrote: > > > >> 2010/11/29 Keld J=F8rn Simonsen : > >> >> I can see how RAID6 is simpler than RAID10, but compared to RAI= D1? > >> > > >> > Hmm, does not compute by me. RAID1 and RAID10 are the same in co= mplexity, > >> > RAID10 is just a modern RAID1, and should actually have been cal= led > >> > RAID1. > >> > >> My understanding is that if I use RAID10 on a single pair of disks > >> then that is literally the same as RAID1. These to me are very sim= ple > >> in that I can take either one of the pair and mount it on any norm= al > >> machine and get at the data without doing anything special. > >> > >> However, if I have my six disks configured as a single RAID10 arra= y, I > >> believe this is no longer true - the data from (at least the large= r > >> of) the files has been distributed over all six disks, correct? > >> > >> Now compare putting LVM on top of this array, compared to three RA= ID1 > >> pairs on the one hand and a RAID6 array on the other (third) hand = :) > >> > >> If I were trying to recover the data using the latest version of a > >> LiveCD - say Fedora or Knoppix, which would be easier? > >> > >> I'm not trying to score any points, it's a genuine question. -- To unsubscribe from this list: send the line "unsubscribe linux-raid" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html