From: Duncan <1i5t5.duncan@cox.net>
To: gentoo-amd64@lists.gentoo.org
Subject: [gentoo-amd64] Re: SATA mdraid woes
Date: Thu, 28 Dec 2006 20:34:17 +0000 (UTC) [thread overview]
Message-ID: <en19o9$kqk$1@sea.gmane.org> (raw)
In-Reply-To: 20061228180653.40B4A2B8ADF@smtp.nildram.co.uk
"Peter Humphrey" <prh@gotadsl.co.uk> posted
20061228180653.40B4A2B8ADF@smtp.nildram.co.uk, excerpted below, on Thu,
28 Dec 2006 18:06:48 +0000:
[snipped]
> md: linear personality registered for level -1
> md: raid0 personality registered for level 0
> md: raid1 personality registered for level 1
> [so I've got mdraid compiled in]
> ...
> Activating mdev
> Detected real_root as a md device. Setting up the device node
> Determining root device...
> Mounting root...
> ...
> The root block device is unspecified or not detected.
> --
> [end of transcript]
> Then I'm invited to specify another device, or enter a shell. I use the
> shell to say "ls -l /dev/md2", which shows the block device I expect to see,
> but "cat /dev/md2" returns an empty result. If I do that from the
> installation CD I get a dump of the contents of the md disk, so it seems
> that the node exists but it isn't connected to the array /dev/md2.
>
> All I can think of is that I've made an error in creating the RAID-1 arrays,
> but can anyone point me to what that might be?
>From what I've seen, there aren't a lot of folks on this list doing RAID,
and some of the ones that are, are using the DM-RAID firmware-RAID stuff,
rather than md-RAID.
I'm doing RAID, but RAID-only, no non-RAID boot and no initramfs, so that
aspect of it I'm unfamiliar with and that seems to be the problem, so I'll
be of limited help. I'm /guessing/ the most likely list to have real RAID
experts on it is going to be the gentoo-server list, which I've never
subscribed to so I can't say for sure /what/ they call topical there.
FWIW tho I don't see that it's going to help you presently, unless you
decide to rework to do something similar, I'm setup using md RAID-0, -1,
and -6 on four identically partitioned SATA drives. RAID-0 for /boot since
GRUB can work with it. Partitioned RAID-6 for my main system, with root
(including everything portage writes to, so much of /var and /usr, on
root, keeping portage in sync with what's on the partition) and a backup
root image on two of the RAID-6 partitions (I'd go with a second backup
image if I redid it) and an LVM2 managed RAID-6 partition as well for
data. The RAID-0 covers all the temp and redownloadable stuff such as the
portage tree.
Critically, my root and backup root partitions are directly on the
partitioned RAID-6, not on LVM2, so I don't need an initramfs. md-RAID is
built-in and can be configured on the kernel command line from GRUB, while
LVM2 requires userspace configuration, thus an initramfs, which I can
avoid by placing my root and backup directly on partitioned RAID-6
partitions.
Thus, in the event of motherboard/SATA-chipset hardware failure, all
that's needed to get going again is a new mobo and the ability to compile
a kernel with the appropriate standard SATA drivers for the new chipset.
The kernel is pointed at the correct root from its command line directly,
no initramfs or the like needed, and lvm2 loads from the main root and
only manages non-system data, so I have a fully working root complete with
all the usual binaries to work with if I have lvm2 issues.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
--
gentoo-amd64@gentoo.org mailing list
next prev parent reply other threads:[~2006-12-28 20:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-28 18:06 [gentoo-amd64] SATA mdraid woes Peter Humphrey
2006-12-28 18:17 ` Antoine Martin
2006-12-28 20:34 ` Duncan [this message]
2006-12-29 4:04 ` [gentoo-amd64] " Mike Doty
2006-12-28 22:11 ` [gentoo-amd64] " Boyd Stephen Smith Jr.
2006-12-29 22:48 ` Thomas Rösner
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='en19o9$kqk$1@sea.gmane.org' \
--to=1i5t5.duncan@cox.net \
--cc=gentoo-amd64@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