From: Lucas Barbuto <lucas@qk.com.au>
To: Linux RAID Mailing List <linux-raid@vger.kernel.org>
Subject: Re: Problems mounting root file system with software RAID-1
Date: Wed, 29 Jan 2003 10:13:59 +1100 [thread overview]
Message-ID: <20030128231359.GC26920@qk.com.au> (raw)
In-Reply-To: <3E363B5B.5000105@ratnet.stw.uni-erlangen.de>
Hi Norman,
On Tue, Jan 28, 2003 at 09:12:11AM +0100, Norman Schmidt wrote:
> The kernel booting from a /boot md device doesn?t really boot off
> /dev/md1 but off one of the bootblocks of /dev/hde and /dev/hdg (which
> is perfectly good). The kernel doesn?t need /dev/md1 (=/boot) to boot,
> but only one of the bootblocks to find the kernel image, which is
> possible on both hde and hdg. The kernel panic occurs as soon as the
> kernel wants to mount the / filesystem the first time. The reason for
> this is that at that point, the raid devices (i.e. at least /dev/md2,
> the others can be assembled later) are not assembled yet.
Ah! This makes sense!
> You have two options: The older one is to make the underlying partitions
> of /dev/md1 (you didn?t give their name) autodetectable (change
> partition type to fd).
Yep, I did this. The underlying partitions for md1 were hde1 and hdg1,
their types were 0xfd. Same goes for md2 (the root partition).
Actually all the partitions on the system disks were set to 0xfd.
> The newer option is to tell the kernel at boot time how to assemble the
> needed devices, which you do by inserting the following into the "image"
> section of your booting kernel in /etc/lilo.conf:
> append = "md=2,/dev/hde3,/dev/hdg3"
> Change the partitions to those that build up /dev/md2.
> The kernel then can assemble its raid, since you compiled at least raid1
> into it.
I'll give this a try.
> By the way: The most importatnt thing missing in your mail is
> /etc/raidtab or /etc/mdadm/mdadm.conf.
I'll be sure to include this next time.
Thanks for your help.
Regards,
Lucas
next prev parent reply other threads:[~2003-01-28 23:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-28 1:30 Problems mounting root file system with software RAID-1 Lucas Barbuto
2003-01-28 8:12 ` Norman Schmidt
2003-01-28 23:13 ` Lucas Barbuto [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-28 7:15 AW: " Dambacher, Ulf
2003-01-28 23:01 ` Lucas Barbuto
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=20030128231359.GC26920@qk.com.au \
--to=lucas@qk.com.au \
--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).