From: Brian Parish <bmp@univexsystems.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Creating RAID devices - udev question
Date: Sat, 19 Nov 2005 16:19:53 +1100 [thread overview]
Message-ID: <200511191619.53151.bmp@univexsystems.com> (raw)
In-Reply-To: <200511131733.11290.bmp@univexsystems.com>
On Sunday 13 November 2005 17:33, Brian Parish wrote:
> On Sunday 13 November 2005 17:23, Richard Fish wrote:
> > On 11/12/05, Mike Williams <mike@gaima.co.uk> wrote:
> > > On Sunday 13 November 2005 01:49, Brian Parish wrote:
> > > > I am trying to add a software RAID 5 disk set to an existing machine
> > > > installed using genkernel. All the RAID support is compiled into the
> > > > kernel, but no /dev/md? device files exist. I can create these using
> > > > mknod and make the RAID, but they don't survive a reboot. How do I
> > > > tell udev to create these files as persistant devices?
> > >
> > > All partitions in the RAID set need to be set to partition type fd
> > > (Linux raid autodetect), then the kernel will build the arrays during
> > > startup.
> >
> > FYI, this is only true if the raid drivers are compiled into the
> > kernel (no modules), and you do _not_ use an initramfs to boot the
> > system. If you use an initramfs, the kernel skips the autodetection
> > of raid arrays.
> >
> > -Richard
>
> I did and it does (skip that is). Thanks again Richard.
>
> Brian
Removing the initramfs seemed like the line of least resistance here, so being
basically lazy, that's what I did. /dev/md0 is now created and I can create
my RAID array happily enough.
This still doesn't survive a reboot though. i.e. I have to run the mdadm
--create command again. I assumed that this required something in
mdadm.conf, so I updated that with all the magic numbers shown by mdadm -D.
No change though. Is this an rc-update issue, or something?
Thanks yet again
Brian
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-11-19 5:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-13 1:49 [gentoo-user] Creating RAID devices - udev question Brian Parish
2005-11-13 2:25 ` Richard Fish
2005-11-13 5:44 ` Mike Williams
2005-11-13 6:23 ` Richard Fish
2005-11-13 6:33 ` Brian Parish
2005-11-19 5:19 ` Brian Parish [this message]
2005-11-19 14:15 ` Brian Parish
2005-11-19 14:35 ` Mike Williams
2005-11-19 15:30 ` A. Khattri
2005-11-21 15:32 ` Neil Bothwick
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=200511191619.53151.bmp@univexsystems.com \
--to=bmp@univexsystems.com \
--cc=gentoo-user@lists.gentoo.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