From: Peter Humphrey <peter@prh.myzen.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] boot problems
Date: Sat, 03 May 2014 21:50:13 +0100 [thread overview]
Message-ID: <4058636.hablKfVxr7@wstn> (raw)
In-Reply-To: <2834223.fuPElFHo4d@andromeda>
On Saturday 03 May 2014 20:40:47 J. Roeleveld wrote:
> On Saturday, May 03, 2014 06:09:21 PM Peter Humphrey wrote:
> > Hope I'm not butting in here, but...
> >
> > Although I don't run systemd nor do I have an initramfs, the grub.conf
> > entry for my LVM2 setup is just these two lines:
> >
> > title=Gentoo Linux 3.12.13
> > kernel /boot/kernel-x86_64-3.12.13-gentoo root=/dev/md5
> > net.ifnames=0
>
> That works with metadata=0.9 when creating the raid-1 device and not having
> " / " on LVM.
Yes, I should have added that I have /boot on straight ext2 on /dev/sda1 (sdb1
is ready in case I decide to raid it). The file-system root is on raid1 and
everything else is in LVs on /dev/md7, also raid1. I did it that way to keep
booting simple. And I've used 0.9 metadata throughout.
> I only have /boot on a raid-1 with metadata=0.9.
> All the other partitions are LVs with the lvm layer ontop of a raid-0.
> (no important data is stored locally on the desktop machines)
I wanted the little extra safety of raid1 because this is where I keep all my
data.
> > I've noticed several times (often much to my annoyance before I discovered
> > what to do about it*) that starting of the raid arrays is automatic,
> > apparently done by the kernel though I could be wrong about that. In fact
> > I was astonished to find not long ago that I'd been running for a year or
> > two with neither lvm2 nor mdraid installed!
>
> Something must have handled the LVM part. Afaik, there is no kernel auto-
> detect for LVM.
Yes, that's why I mentioned it. If it's not the kernel I don't know what else
it could have been. Udev? I don't see anything relevant under /etc/udev.
> > * SystemRescueCD and the Gentoo minimal installation CD both start any
> > raid
> > arrays they find and apply their own names to them. It is then impossible,
> > or so I thought, to resume an interrupted installation process. Of course,
> > all I had to do was "mdadm --stop /dev/md127" etc.
>
> Yes, I noticed that annoyance myself. I would much prefer it to default to
> more logical names.
If the docs had included that little snippet I'd have saved myself many a
frustrating hour. I'll only look stupid if I tell you how many ;-)
Anyway, I don't want to hijack the thread. I just wanted to point out that
raid arrays don't need lvm2 or mdraid present to auto-start, at least not on
my openrc box which also has no initramfs.
--
Regards
Peter
next prev parent reply other threads:[~2014-05-03 20:50 UTC|newest]
Thread overview: 129+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-03 10:12 [gentoo-user] boot problems Stefan G. Weichinger
2014-05-03 10:27 ` J. Roeleveld
2014-05-03 10:33 ` Stefan G. Weichinger
2014-05-03 10:54 ` J. Roeleveld
2014-05-03 11:06 ` Stefan G. Weichinger
2014-05-03 11:14 ` J. Roeleveld
2014-05-03 10:28 ` Stefan G. Weichinger
2014-05-03 10:49 ` J. Roeleveld
2014-05-03 10:56 ` Stefan G. Weichinger
2014-05-03 11:05 ` J. Roeleveld
2014-05-03 11:12 ` Stefan G. Weichinger
2014-05-03 11:19 ` J. Roeleveld
2014-05-03 11:26 ` Stefan G. Weichinger
2014-05-03 11:37 ` J. Roeleveld
2014-05-03 13:46 ` Canek Peláez Valdés
2014-05-03 13:48 ` Stefan G. Weichinger
2014-05-03 13:59 ` Canek Peláez Valdés
2014-05-03 14:29 ` Stefan G. Weichinger
2014-05-03 15:08 ` J. Roeleveld
2014-05-03 15:10 ` Canek Peláez Valdés
2014-05-03 15:07 ` J. Roeleveld
2014-05-03 11:39 ` Stefan G. Weichinger
2014-05-03 12:03 ` J. Roeleveld
2014-05-03 12:09 ` Stefan G. Weichinger
2014-05-03 12:19 ` J. Roeleveld
2014-05-03 12:38 ` Stefan G. Weichinger
2014-05-03 18:43 ` J. Roeleveld
2014-05-03 12:08 ` Stefan G. Weichinger
2014-05-03 12:17 ` Todd Goodman
2014-05-03 12:23 ` J. Roeleveld
2014-05-03 13:08 ` Todd Goodman
2014-05-03 13:24 ` Stefan G. Weichinger
2014-05-03 12:27 ` Stefan G. Weichinger
2014-05-03 12:17 ` J. Roeleveld
2014-05-03 12:43 ` Stefan G. Weichinger
2014-05-03 12:52 ` J. Roeleveld
2014-05-03 12:55 ` Stefan G. Weichinger
2014-05-03 13:50 ` Canek Peláez Valdés
2014-05-03 13:57 ` Stefan G. Weichinger
2014-05-03 16:40 ` Stefan G. Weichinger
2014-05-03 16:51 ` Stefan G. Weichinger
2014-05-03 17:00 ` Stefan G. Weichinger
2014-05-03 17:25 ` Canek Peláez Valdés
2014-05-03 17:49 ` Stefan G. Weichinger
2014-05-03 18:30 ` Stefan G. Weichinger
2014-05-03 18:33 ` Canek Peláez Valdés
2014-05-03 18:37 ` Stefan G. Weichinger
2014-05-03 18:47 ` J. Roeleveld
2014-05-03 18:51 ` Stefan G. Weichinger
2014-05-03 18:56 ` J. Roeleveld
2014-05-03 19:00 ` Stefan G. Weichinger
2014-05-03 19:37 ` Canek Peláez Valdés
2014-05-03 18:30 ` Canek Peláez Valdés
2014-05-03 18:35 ` J. Roeleveld
2014-05-03 19:33 ` Canek Peláez Valdés
2014-05-03 19:38 ` Stefan G. Weichinger
2014-05-03 19:41 ` Canek Peláez Valdés
2014-05-03 19:53 ` Stefan G. Weichinger
2014-05-03 20:23 ` Stefan G. Weichinger
2014-05-03 20:46 ` Stefan G. Weichinger
2014-05-05 5:09 ` Canek Peláez Valdés
2014-05-05 6:18 ` Stefan G. Weichinger
2014-05-05 6:40 ` Canek Peláez Valdés
2014-05-15 6:21 ` Canek Peláez Valdés
2014-05-15 6:49 ` Canek Peláez Valdés
2014-05-15 7:08 ` Stefan G. Weichinger
2014-05-15 9:14 ` Stefan G. Weichinger
2014-05-15 9:58 ` covici
2014-05-15 10:00 ` Stefan G. Weichinger
2014-05-15 18:05 ` Canek Peláez Valdés
2014-05-15 18:27 ` Stefan G. Weichinger
2014-05-15 18:28 ` Stefan G. Weichinger
2014-05-15 18:33 ` Canek Peláez Valdés
2014-05-16 9:46 ` Stefan G. Weichinger
2014-05-16 10:04 ` Canek Peláez Valdés
2014-05-16 11:06 ` Alan McKinnon
2014-05-16 11:14 ` covici
2014-05-16 12:03 ` Neil Bothwick
2014-05-16 12:35 ` Stefan G. Weichinger
2014-05-16 12:43 ` Neil Bothwick
2014-05-16 13:03 ` Stefan G. Weichinger
2014-05-16 19:40 ` Neil Bothwick
2014-05-16 12:54 ` covici
2014-05-16 13:05 ` Stefan G. Weichinger
2014-05-16 14:01 ` covici
2014-05-16 12:13 ` Alan McKinnon
2014-05-16 20:01 ` Marc Joliet
2014-05-16 12:52 ` [gentoo-user] Re: LVM Stefan G. Weichinger
2014-05-16 19:50 ` [gentoo-user] boot problems Marc Joliet
2014-05-18 0:18 ` Walter Dnes
2014-05-19 10:54 ` Tanstaafl
2014-05-16 11:56 ` Bruce Schultz
2014-05-16 12:10 ` Stefan G. Weichinger
2014-05-16 17:09 ` Canek Peláez Valdés
2014-05-03 17:09 ` Peter Humphrey
2014-05-03 18:40 ` J. Roeleveld
2014-05-03 20:50 ` Peter Humphrey [this message]
2014-05-03 21:04 ` Stefan G. Weichinger
2014-05-04 8:53 ` Peter Humphrey
2014-05-04 9:15 ` Stefan G. Weichinger
2014-05-04 10:49 ` J. Roeleveld
2014-05-04 13:07 ` Stefan G. Weichinger
2014-05-04 18:40 ` J. Roeleveld
2014-05-04 19:03 ` Stefan G. Weichinger
2014-05-04 19:22 ` J. Roeleveld
2014-05-05 6:10 ` Stefan G. Weichinger
2014-05-05 6:52 ` J. Roeleveld
2014-05-05 7:09 ` J. Roeleveld
2014-05-05 7:48 ` Stefan G. Weichinger
2014-05-05 9:14 ` J. Roeleveld
2014-05-05 11:25 ` Stefan G. Weichinger
2014-05-05 12:27 ` J. Roeleveld
2014-05-05 14:12 ` [gentoo-user] Re: Qemu/KVM Stefan G. Weichinger
2014-05-05 19:20 ` J. Roeleveld
2014-05-05 7:50 ` [gentoo-user] boot problems Stefan G. Weichinger
2014-05-04 10:37 ` J. Roeleveld
2014-05-04 13:22 ` Peter Humphrey
2014-05-04 18:44 ` J. Roeleveld
2014-05-04 12:15 ` Neil Bothwick
2014-05-04 18:48 ` J. Roeleveld
2014-05-04 20:09 ` Neil Bothwick
2014-05-05 6:14 ` Stefan G. Weichinger
2014-05-05 6:54 ` J. Roeleveld
2014-05-05 9:02 ` Neil Bothwick
2014-05-05 8:54 ` Tom H
2014-05-03 12:52 ` Tom H
2014-05-03 13:26 ` Stefan G. Weichinger
2014-05-04 1:56 ` Mark Pariente
2014-05-04 9:01 ` Stefan G. Weichinger
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=4058636.hablKfVxr7@wstn \
--to=peter@prh.myzen.co.uk \
--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