From: Brad Dameron <brad@seatab.com>
To: linux-raid@vger.kernel.org
Subject: Software RAID 0+1 with mdadm.
Date: Tue, 25 Jan 2005 14:28:21 -0800 [thread overview]
Message-ID: <1106692101.15355.16.camel@serpent> (raw)
Been trying for days to get a software RAID 0+1 setup. This is on SuSe
9.2 with kernel 2.6.8-24.11-smp x86_64.
I am trying to setup a RAID 0+1 with 4 250gb SATA drives. I do the
following:
mdadm --create /dev/md1 --level=0 --chunk=4 --raid-devices=2 /dev/sdb1
/dev/sdc1
mdadm --create /dev/md2 --level=0 --chunk=4 --raid-devices=2 /dev/sdd1
/dev/sde1
mdadm --create /dev/md0 --level=1 --chunk=4 --raid-devices=2 /dev/md1
/dev/md2
This all works fine and I can mkreiserfs /dev/md0 and mount it. If I am
then to reboot /dev/md1 and /dev/md2 will show up in the /proc/mdstat
but not /dev/md0. So I create a /etc/mdadm.conf like so to see if this
will work:
DEVICE partitions
DEVICE /dev/md*
ARRAY /dev/md2 level=raid0 num-devices=2
UUID=5e6efe7d:6f5de80b:82ef7843:148cd518
devices=/dev/sdd1,/dev/sde1
ARRAY /dev/md1 level=raid0 num-devices=2
UUID=e81e74f9:1cf84f87:7747c1c9:b3f08a81
devices=/dev/sdb1,/dev/sdc1
ARRAY /dev/md0 level=raid1 num-devices=2 devices=/dev/md2,/dev/md1
Everything seems ok after boot. But again no /dev/md0 in /proc/mdstat.
But then if I do a mdadm --assemble --scan it will then load /dev/md0.
Also do I need to create partitions? Or can I setup the whole drives as
the array?
I have since upgraded to mdadm 1.8 and setup a RAID10. However I need
something that is production worthy. Is a RAID10 something I could rely
on as well? Also under a RAID10 how do you tell it which drives you want
mirrored?
Any help appreciated.
Thank you,
Brad Dameron
SeaTab Software
www.seatab.com
next reply other threads:[~2005-01-25 22:28 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-25 22:28 Brad Dameron [this message]
2005-01-25 23:04 ` Software RAID 0+1 with mdadm Guy
2005-01-26 20:32 ` Brad Dameron
2005-01-27 5:02 ` Guy
2005-01-26 15:17 ` Luca Berra
2005-01-26 22:14 ` J. Ryan Earl
2005-01-27 5:24 ` Neil Brown
2005-01-27 16:01 ` Luca Berra
2005-01-27 17:02 ` Brad Dameron
2005-01-27 5:30 ` Neil Brown
2005-01-27 8:13 ` Holger Kiehl
2005-01-27 15:50 ` Guy
2005-01-27 16:19 ` RAID-10 with odd number of disks (was Re: Software RAID 0+1 with mdadm.) Andy Smith
2005-01-27 17:16 ` Guy
2005-01-27 17:27 ` Andy Smith
2005-01-27 17:42 ` Andy Smith
2005-01-27 18:30 ` Guy
2005-01-27 22:31 ` berk walker
-- strict thread matches above, loose matches on Subject: below --
2005-02-08 14:32 Software RAID 0+1 with mdadm linux
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=1106692101.15355.16.camel@serpent \
--to=brad@seatab.com \
--cc=linux-raid@vger.kernel.org \
/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).