linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: hansbkk@gmail.com
Cc: "Keld Jørn Simonsen" <keld@keldix.com>,
	"Leslie Rhorer" <lrhorer@satx.rr.com>,
	linux-raid@vger.kernel.org
Subject: Re: LVM over RAID, or plain disks? A:"Yes" = best of both worlds?
Date: Tue, 30 Nov 2010 17:47:01 +1100	[thread overview]
Message-ID: <20101130174701.047b30a0@notabene.brown> (raw)
In-Reply-To: <AANLkTimbFpDaUZ-VAHOpALDXyYzJJOV_szjr7EeB7Qxd@mail.gmail.com>

On Tue, 30 Nov 2010 12:35:56 +0700 hansbkk@gmail.com wrote:

> On Tue, Nov 30, 2010 at 7:42 AM, Neil Brown <neilb@suse.de> 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.
> 
> 
> Thanks Neil.
> 
> 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 still not
possible to recovery anything reliably without all of the data.


> 
> 
> 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 Knoppix
>  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.

> 
> 
> 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 sometimes
survive 3 failures, and sometimes not survive 2.

NeilBrown



> 
> 
> > On Mon, 29 Nov 2010 23:00:19 +0700 hansbkk@gmail.com wrote:
> >
> >> 2010/11/29 Keld Jørn Simonsen <keld@keldix.com>:
> >> >> I can see how RAID6 is simpler than RAID10, but compared to RAID1?
> >> >
> >> > Hmm, does not compute by me. RAID1 and RAID10 are the same in complexity,
> >> > RAID10 is just a modern RAID1, and should actually have been called
> >> > 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 simple
> >> in that I can take either one of the pair and mount it on any normal
> >> machine and get at the data without doing anything special.
> >>
> >> However, if I have my six disks configured as a single RAID10 array, I
> >> believe this is no longer true - the data from (at least the larger
> >> of) the files has been distributed over all six disks, correct?
> >>
> >> Now compare putting LVM on top of this array, compared to three RAID1
> >> 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" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-11-30  6:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-28 15:30 Q: LVM over RAID, or plain disks? A:"Yes" = best of both worlds? hansbkk
2010-11-28 18:34 ` Leslie Rhorer
2010-11-29 11:01   ` hansbkk
2010-11-29 15:29     ` Keld Jørn Simonsen
2010-11-29 16:00       ` hansbkk
2010-11-30  0:42         ` Neil Brown
2010-11-30  5:35           ` hansbkk
2010-11-30  6:47             ` Neil Brown [this message]
     [not found] ` <AANLkTimGkMJGiJC+7L+Pu3+yf-J_s0Ex3hM2-g-0+UqQ@mail.gmail.com>
     [not found]   ` <4CF3F7A0.2080108@rjl.com>
2010-11-30  5:20     ` [linux-lvm] Q: " hansbkk
     [not found]       ` <4CF4A472.20107@rjl.com>
2010-11-30  7:34         ` hansbkk
2010-11-30 13:13           ` Phil Turmel
2010-11-30 15:39             ` hansbkk
2010-11-30 16:56               ` Phil Turmel
2010-12-01  4:45                 ` hansbkk
2010-12-01 12:50                   ` Phil Turmel
2010-12-01 19:47                     ` hansbkk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101130174701.047b30a0@notabene.brown \
    --to=neilb@suse.de \
    --cc=hansbkk@gmail.com \
    --cc=keld@keldix.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=lrhorer@satx.rr.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).