All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jose Luis Domingo Lopez <linux-lvm@24x7linux.com>
To: Linux-LVM@sistina.com
Subject: Re: [linux-lvm] help using LVM & md for RAID10
Date: Sat May 10 12:56:02 2003	[thread overview]
Message-ID: <20030510175708.GA3353@localhost> (raw)
In-Reply-To: <3EB07551.87856170@kasenna.com>

On Wednesday, 30 April 2003, at 18:16:02 -0700,
Alberto wrote:

> # cat /proc/mdstat
> Personalities : [linear] [raid0] [raid1] [raid5] [multipath]
> read_ahead 1024 sectors
> md4 : active raid0 md3[3] md2[2] md1[1] md0[0]
>       143372288 blocks 512k chunks
> md3 : active raid1 sdi[1] sdh[0]
>       35843584 blocks [2/2] [UU]
> md2 : active raid1 sdg[1] sdf[0]
>       35843584 blocks [2/2] [UU]
> md1 : active raid1 sde[1] sdd[0]
>       35843584 blocks [2/2] [UU]
> md0 : active raid1 sdc[1] sdb[0]
>       35843584 blocks [2/2] [UU]
> unused devices: <none>
> 
> # pvcreate /dev/md0
> # pvcreate /dev/md1
> # pvcreate /dev/md2
> # pvcreate /dev/md3
> # vgcreate vg01 /dev/md[0-3]
>
In short, you set up a RAID1+0, four RAID1 devices bounded together in
one big RAID0 (md4). But next, you configure md[0-3] as PVs, instead of
just creating a PV from md4, the higher level RAID device.

You should just do:
# pvcreate /dev/md4
# vgcreate vg01 /dev/md4

And then create LV from this new VG (vg01). Should work, and you get
high performance (RAID0 md4), protection agains physical disk failures
(between one and four disk crashes, depends on luck), and the ability to
hot create, modify and destroy "partitions" (LVM).

Hope it helps.

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.5.69)

      reply	other threads:[~2003-05-10 12:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-10  8:37 [linux-lvm] help using LVM & md for RAID10 Alberto
2003-05-10 12:56 ` Jose Luis Domingo Lopez [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=20030510175708.GA3353@localhost \
    --to=linux-lvm@24x7linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.