Linux RAID subsystem development
 help / color / mirror / Atom feed
From: rich turner <rich@storix.com>
To: linux-raid@vger.kernel.org
Subject: raid 0+1 and 1+0 with mdadm
Date: Thu, 30 Sep 2004 10:56:03 -0700	[thread overview]
Message-ID: <1096566962.3539.15.camel@rich> (raw)

my 0+1 and 1+0 raid devices are not getting started on system boot. i
realize this could be fixed through the sysinit scripts but mdadm -As
should be able to handle this.

here is my mdadm.conf

DEVICE /dev/hdb1 /dev/hdb2 /dev/hdb3 /dev/hda5 /dev/hda6 /dev/hda7
/dev/hdb5 /dev/hdb6 /dev/hdb7 /dev/hda8 /dev/hda9 /dev/hda10 /dev/md3
/dev/md4  /dev/md6 /dev/md7

ARRAY /dev/md3 level=0 num-devices=3
devices=/dev/hdb1,/dev/hdb2,/dev/hdb3

ARRAY /dev/md4 level=0 num-devices=3
devices=/dev/hda5,/dev/hda6,/dev/hda7

ARRAY /dev/md6 level=1 num-devices=2
devices=/dev/hdb5,/dev/hdb6,/dev/hdb7

ARRAY /dev/md7 level=1 num-devices=2
devices=/dev/hda8,/dev/hda9,/dev/hda10

ARRAY /dev/md5 level=1 num-devices=2 devices=/dev/md3,/dev/md4

ARRAY /dev/md8 level=0 num-devices=2 devices=/dev/md6,/dev/md7

as you can see /dev/md5 is built on /dev/md3 and /dev/md4 and /dev/md8
is built on /dev/md6 and md7.

when I run "mdadm -As" i get the following output:
mdadm: /dev/md3 has been started with 3 drives.
mdadm: /dev/md4 has been started with 3 drives.
mdadm: /dev/md6 has been started with 2 drives and 1 spare.
mdadm: /dev/md7 has been started with 2 drives and 1 spare.
mdadm: no devices found for /dev/md5
mdadm: no devices found for /dev/md8

if i then immediately run "mdadm -As" again it starts /dev/md5 and
/dev/md8.

why do i have to run it twice and why does it not start all devices the
first time?



             reply	other threads:[~2004-09-30 17:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-30 17:56 rich turner [this message]
2004-09-30 18:26 ` raid 0+1 and 1+0 with mdadm aboster
2004-10-01 20:55 ` Luca Berra

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=1096566962.3539.15.camel@rich \
    --to=rich@storix.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