From: Petro <petro@auctionwatch.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] multiple volumes..
Date: Tue Apr 9 19:28:02 2002 [thread overview]
Message-ID: <20020410002847.GE17367@auctionwatch.com> (raw)
In-Reply-To: <18044083656.20020409231800@tnonline.net>
On Tue, Apr 09, 2002 at 11:18:00PM +0200, Anders Widman wrote:
> I have a problem which I want to solve as efficiently as possible.
> The problem is that I have 13 drives os various sizes (30-120GB) which
> I want to combine into one (or a few) logical volumes with redundancy
> if one drive would fail.
> How would the smartest layout be? I was thinking about multiple
> partiontions and then combine them into several RAID 5 chains, and
> then use LVM to manage the logical volumes.
The problem (off the top of my head) is that (1) this will give
utter crap performance, and (2) If you're not *really* careful with
your layout you could wind up losing a lot of data in a crash and
(3) even if you don't loose data in a crash, a single drive fault
will still drag performance into the toilet.
> There is an expamle of my ideas at http://www.tnonline.net/raid-lvm.png
> As you can see there are 8 chains and about 50 GB unallocated data in
> this example. Can I minimize the loss even better?
Using MD to make some meta-devices on the raw drive do:
Stripe:
2x60 = 120
2x60 = 120
2x60 = 120
Raw:
120x1=120
Then layer these devices to become your initial RAID5 volume.
That leaves 2x75, 2x80, 1x30, and 1x40:
Linear mode the 30 and 40 to get 70, raid5 across these to get:
80
80
75
75
70 (30+40).
This loses you about 30 gig. (10+10+5+5). If you really wanted you
could recover that by working off partitions, but IMO it's just not
worth it.
--
Share and Enjoy.
prev parent reply other threads:[~2002-04-09 19:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-09 16:17 [linux-lvm] multiple volumes Anders Widman
2002-04-09 16:28 ` Steven Lembark
2002-04-09 17:01 ` Jon Bendtsen
2002-04-09 19:48 ` Adrian Head
2002-04-10 5:16 ` Anders Widman
2002-04-10 6:03 ` Jon Bendtsen
2002-04-10 8:47 ` AJ Lewis
2002-04-09 17:06 ` Jon Bendtsen
2002-04-09 19:28 ` Petro [this message]
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=20020410002847.GE17367@auctionwatch.com \
--to=petro@auctionwatch.com \
--cc=linux-lvm@sistina.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