Linux RAID subsystem development
 help / color / mirror / Atom feed
From: "John Reeves" <john.reeves@mailc.net>
To: Henrik Holst <henrik.holst@idgmail.se>
Cc: linux-raid@vger.kernel.org
Subject: Re: Ubuntu - RAID Array not "assembling" on boot.
Date: Tue, 21 Nov 2006 22:26:35 +0000	[thread overview]
Message-ID: <1164147995.26591.276873647@webmail.messagingengine.com> (raw)
In-Reply-To: <45635DCC.3010500@idgmail.se>


On Tue, 21 Nov 2006 21:13:00 +0100, "Henrik Holst"
<henrik.holst@idgmail.se> said:
> > Having a great deal of difficulty getting my 3 disk RAID 5 array to
> > reappear on restart, Ubuntu 6.10.  
... < snip > ...
> > the only way I can get
> > the RAID Array to assemble is to issue the following:
> > 
> > mknod -m 0660 /dev/md0 b 9 0
> > mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1

> Try "dpkg-reconfigure mdadm" as root. Under Debian this will give you
> the chance to configure the startup configuration for all software raids
> in the system. Under any cirtumstances you should not have to use mknod.
> Instead try adding the --auto=yes switch to mdadm. Then mdadm will
> create the node itself.

That's the one!  Blowing away my current mdadm.conf and issuing a
dpkg-reconfigure mdadm bought my raid online with the subsequent reboot
- I am very greatful!  Now I guess I would like to know where I go wrong
:)

I created the raid in the first place by issuing a:

# sudo mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 \
/dev/sda1 /dev/sdb1 /dev/sdc1

After this, no mdadm.conf file was created for me, so I made by own by
issuing:

# mdadm --detail --scan >> /etc/mdadm/mdadm.conf

And thats when the whole "assemble" on boot problem came from.  I
presume that the above command (--detail --scan)  is not the correct way
to make the mdadm.conf file - how should it be made?

Finally, on a side note, I have formatted this array (/dev/md0) with
ext3, I planned to exapand the array in the future by adding extra disks
- I presume I can do this with 'mdadm --grow' (and some extra research!
:)  Am I correct on this assumption?

Thanks again
John.

  reply	other threads:[~2006-11-21 22:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-21 20:06 Ubuntu - RAID Array not "assembling" on boot John Reeves
2006-11-21 20:13 ` Henrik Holst
2006-11-21 22:26   ` John Reeves [this message]
2006-11-22  7:43     ` dean gaudet
2006-11-22 15:41     ` Gabor Gombas
2006-11-21 20:25 ` dean gaudet

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=1164147995.26591.276873647@webmail.messagingengine.com \
    --to=john.reeves@mailc.net \
    --cc=henrik.holst@idgmail.se \
    --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