All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Goryachev <mailinglists@websitemanagers.com.au>
To: Jivko Sabev <jsabev@nicmus.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Cannot auto assemble a raid1 array on boot
Date: Thu, 18 Oct 2012 14:14:48 +1100	[thread overview]
Message-ID: <507F7428.6030003@websitemanagers.com.au> (raw)
In-Reply-To: <CAG9W8wBsh_i_jtqKFhEVywCk92hef41T0t+6J9saZD3CFT7V9A@mail.gmail.com>

On 18/10/12 13:35, Jivko Sabev wrote:
> Greetings,
>
> I have a RAID1 array setup of the following
>
> /dev/md0 [linear raid array consisting of two 500GB SATA drives]
> /dev/md1  [RAID1 array consisting of /dev/md0 and one 1TB SATA drive]
>
> here is my /proc/mdstat
>
> --------
>
> Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]
> [raid4] [raid10]
> md1 : active raid1 md0[0] sde1[2]
>       976639296 blocks super 1.2 [2/2] [UU]
>
> md0 : active linear sdb1[0] sdc1[1]
>       976770537 blocks super 1.2 0k rounding
>
> unused devices: <none>
>
>
> --------
>
> However, on every reboot, the md1 array is in degraded mode and I get
> dumped to a intramfs shell. I can then assemble the said array - i.e.
> mdadm --assemble /dev/md1 /dev/md0 /dev/sde1 and everything is fine.
> Is it possible to have such an array auto assembled and how?
>

Maybe you need to update the mdadm.conf within the initrd image ?

Regards,
Adam

-- 
Adam Goryachev
Website Managers
www.websitemanagers.com.au


  reply	other threads:[~2012-10-18  3:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-18  2:35 Cannot auto assemble a raid1 array on boot Jivko Sabev
2012-10-18  3:14 ` Adam Goryachev [this message]
2012-10-18 15:19   ` Jivko Sabev
2012-10-18 23:11     ` Adam Goryachev
2012-10-23 15:43       ` Jivko Sabev
2012-10-23 22:18         ` Adam Goryachev
2012-10-24  1:33     ` NeilBrown
2012-10-25 14:37       ` Jivko Sabev
2012-10-23 18:44 ` John Robinson

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=507F7428.6030003@websitemanagers.com.au \
    --to=mailinglists@websitemanagers.com.au \
    --cc=jsabev@nicmus.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 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.