From: Andreas Baier <andreas.baier@mindmatics.de>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] lvm on linux RAID5?
Date: Wed Oct 16 09:14:11 2002 [thread overview]
Message-ID: <3DAD6B1C.2050903@mindmatics.de> (raw)
In-Reply-To: 1034773372.1658.8.camel@frodo.xelin.se
Hi,
here´s the quick way
1. define your raid-partitions with fdisk by asgning them 0xfd
2. setup your /etc/raidtab
3. issuning raidstart -c /etc/raidtab should start your md-device
4. asume you just use one md device you would now have md0 as
your raid-device
5. Now you can pvcreate /dev/md0
6. than vgcreate whatevervgname /dev/md0
7. lvcreate what you like on that vg
for creating the raid5 have a look at that sample:
# Sample raid-5 configuration
raiddev /dev/md0
raid-level 5
nr-raid-disks 3
chunk-size 32
# Parity placement algorithm
#parity-algorithm left-asymmetric
parity-algorithm left-symmetric
#parity-algorithm right-asymmetric
#parity-algorithm right-symmetric
# Spare disks for hot reconstruction (not supported yet)
#nr-spare-disks 0
device /dev/hda1
raid-disk 0
device /dev/hdb1
raid-disk 1
device /dev/hdc1
raid-disk 2
Best regards
Anders Henriksson wrote:
> Hej,
>
> I have tried scanning the list archive and re-read the documentation but
> still....
>
> I want to run lvm over four linux raid5 devices, can I just treat the
> raid devices as discs? i.e. run pvcreate on them directly and go on from
> there.
>
> I am running a linux 7.3 server almost out of the box.
>
> /Anders
>
>
>
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
>
>
--
Andreas Baier
next prev parent reply other threads:[~2002-10-16 9:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-16 8:24 [linux-lvm] lvm on linux RAID5? Anders Henriksson
2002-10-16 8:57 ` Patrick Boutilier
2002-10-16 9:59 ` Anders Henriksson
2002-10-17 4:02 ` Jon Bendtsen
2002-10-17 6:06 ` Anders Henriksson
2002-10-16 9:14 ` Andreas Baier [this message]
2002-10-16 12:33 ` Goetz Bock
2002-10-17 4:06 ` Jon Bendtsen
2002-10-19 12:01 ` Steven Lembark
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=3DAD6B1C.2050903@mindmatics.de \
--to=andreas.baier@mindmatics.de \
--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