From: "Stamper, Brian P. (ARC-D)[Stinger Ghaffarian Technologies Inc. (SGT Inc.)]" <brian.p.stamper@nasa.gov>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Fedora 15 lvm root device not found
Date: Wed, 29 Jun 2011 14:47:13 -0500 [thread overview]
Message-ID: <CA30CF51.11CAC%brian.p.stamper@nasa.gov> (raw)
In-Reply-To: <CA30349F.11C2A%brian.p.stamper@nasa.gov>
[-- Attachment #1: Type: text/plain, Size: 3377 bytes --]
I was able to boot this system by taking an initramfs from another Fedora 15 test system and putting it in /boot and referencing it in grub.conf. However, I need to find out why an initramfs I build on the system is unable to boot.
When I'm in dracut, I was able to do some checking. Using the lvm commands, I was able to activate and deactivate the vg, display the lvs, but not use them. I would get "device not found", and in /dev/mapper, the lvm devices were not there. There were other lvm devices there, but not from my primary system lvm. The only thing that stands out about it is that it is ext4, not ext3.
Comparing the decompiled initrds, there's no modules that stand out. Sas.out is a listing of the WORKING initrd, tfs.out is the NOT WORKING initrd.
[root@testfs ramdisks]# diff sas.out tfs.out
718d717
< ./lib/firmware/ql2500_fw.bin
1248,1249d1246
< ./etc/ld.so.conf.d/openmotif-64.conf
< ./etc/ld.so.conf.d/kernel-2.6.38.7-30.fc15.x86_64.conf
1252c1249
< ./etc/ld.so.conf.d/kernel-2.6.34.8-68.fc13.x86_64.conf
---
> ./etc/ld.so.conf.d/qt-x86_64.conf
1262d1258
< ./etc/modprobe.d/openfwwf.conf
1278a1275
> ./etc/udev/rules.d/40-multipath.rules
1317a1315
> ./lib64/libcryptsetup.so.1.2.0
1322a1321
> ./lib64/libcap.so
1407d1405
< ./lib64/libcryptsetup.so.1.1.0
1419a1418
> ./lib64/libnss_files-2.12.2.so
1480a1480
> ./usr/bin/checkisomd5
1491d1490
< ./usr/lib64/libnss_files.so
1517a1517
> ./usr/share/plymouth/themes/default.plymouth
Nothing there looks relevant. Libcryptsetup needs updating on the test system I pulled the initrd from. The q-logic firmware is irrelevant. There are a couple of older kernels on the test system. Libcap.so is a dependency of legato backup software. Libnss_files should have nothing to do with accessing an LVM.
So I'm stuck. My system is up, but only if I build an initrd on another system and copy it over, meaning next time I update the kernel it will not boot. Nothing's jumping out at me as obviously missing modules from the broken initrd. Where else can I look?
-Brian
On 6/29/11 1:47 AM, "Brian Stamper" <brian.p.stamper@nasa.gov> wrote:
I just upgraded a Fedora system from 13 to 15, and now I can't get it to boot. I'm getting dumped to a dracut shell and getting the error dm-linear device lookup failed. In the dracut output with debug on, I see dracut scan my drives, and I see it find my 3 LVs, but it then tries to do something with them, I get the error, and it then fails out with root device not found and drops me into dracut.
Here's the odd thing, booting off the rescue dvd my volumes are fine. The LVM can be mounted no problem.
This makes me think that there's something missing from the kernel or initrd. I can't really figure out what though. I've gone through the output of lsmod when running from the rescue dvd. I've even build a few ramdisks including all the modules that I thought might be related (dm, lvm, mdraid, dmraid, multipath). I tried building them with mkinitrd -with=module, and I tried again with dracut -add=modules. No change in results.
I'm not sure where to go from here. I feel like the system can be rescued, but I don't know how to work backward through dracut to find out why it's unable to find my root volume. Any help would be appreciated. Cross-posting to dm-devel.
Thanks,
-Brian
[-- Attachment #2: Type: text/html, Size: 4258 bytes --]
next prev parent reply other threads:[~2011-06-29 19:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-16 21:45 [linux-lvm] Help to mount ext3 boot partiton which reports it's LVM2_member when I try to mount it Lee Gold
2011-06-17 4:11 ` Stuart D. Gathman
2011-06-17 15:59 ` Lee Gold
2011-06-17 16:36 ` Ray Morris
2011-06-21 15:35 ` Phillip Susi
2011-06-29 8:47 ` [linux-lvm] Fedora 15 lvm root device not found Stamper, Brian P. (ARC-D)[Stinger Ghaffarian Technologies Inc. (SGT Inc.)]
2011-06-29 19:47 ` Stamper, Brian P. (ARC-D)[Stinger Ghaffarian Technologies Inc. (SGT Inc.)] [this message]
2011-07-01 15:05 ` Stuart D. Gathman
2011-07-19 19:13 ` [linux-lvm] Mail etiquette ( was: Fedora 15 lvm root device not found ) Phillip Susi
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=CA30CF51.11CAC%brian.p.stamper@nasa.gov \
--to=brian.p.stamper@nasa.gov \
--cc=linux-lvm@redhat.com \
/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).