From: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Warren Togami <wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: initramfs <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: PATCH: Fix / on lvm
Date: Mon, 13 Jul 2009 09:04:19 +0200 [thread overview]
Message-ID: <4A5ADC73.5000509@redhat.com> (raw)
In-Reply-To: <4A5AA554.3000304-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Hi,
On 07/13/2009 05:09 AM, Warren Togami wrote:
> On 07/10/2009 12:49 PM, Hans de Goede wrote:
>> Hi,
>>
>> Currently / on lvm is not working because the udev rules test for
>> KERNEL="dm-*" which of course
>> will not be true for PV's, so PV's are not recognized and thus lvm does
>> not work.
>>
>> The attached patch fixes this.
>>
>> Regards,
>>
>> Hans
>
> Could you please describe in detail the type of setup needed to
> reproduce this failure? I have / on lvm here and dracut is working just
> fine.
>
Basically the default anaconda partitioning setup so /boot /dev/sda1
(sata disk) and / on an lv whose vg contains one (large) pv which is
/dev/sda2
But this isn't all that interesting, read the rules, they are there to
do: "lvm vgscan; lvm vgchange -ay" when a new PV gets added to the system,
yet they contain the line:
KERNEL!="dm-*", GOTO="lvm_end"
Before doing this, meaning that a PV on a regular scsi disk (instead of a
PV on top of device mapper) will not cause the
"lvm vgscan; lvm vgchange -ay" to get executed and thus my / to not be
found.
Maybe you are using a dmraid setup ? That would explain why these rules
are working for you.
Regards,
Hans
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-07-13 7:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-10 16:49 PATCH: Fix / on lvm Hans de Goede
[not found] ` <4A577113.2040804-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-07-13 3:09 ` Warren Togami
[not found] ` <4A5AA554.3000304-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-07-13 7:04 ` Hans de Goede [this message]
2009-07-13 12:56 ` Harald Hoyer
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=4A5ADC73.5000509@redhat.com \
--to=hdegoede-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.