Bug 142737
Summary: | lvm2-related boot failure | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Stromberg <strombrg> |
Component: | lvm2 | Assignee: | Alasdair Kergon <agk> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | katzj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-01-05 16:09:41 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dan Stromberg
2004-12-13 15:48:15 UTC
What finally fixed it was: On FC3's rescue disk, what I actually did was: 1) Do startup network interfaces 2) Don't try to automatically mount the filesystems - not even readonly 3) lvm vgchange --ignorelockingfailure -P -a y 4) fdisk -l, and guess which partition is which based on size: the small one was /boot, and the large one was / 5) mkdir /mnt/boot 6) mount /dev/hda1 /mnt/boot 7) Look up the device node for the root filesystem in /mnt/boot/grub/grub.conf 8) A first tentative step, to see if things are working: fsck -n /dev/VolGroup00/LogVol00 9) Dive in: fsck -f -y /dev/VolGroup00/LogVol00 10) Wait a while... Be patient. Don't interrupt it 11) Reboot So you now think fsck was hanging? I can't do much more than guess, since there's no strace on the FC3 recovery cd image. However, the fact that LVM2 came right up using the steps above, and the problem was corrected by an fsck, does seem to suggest an ext3 problem. It's worth noting that LVM2 obfuscated the filesystem in such a way that the usual ext2 recovery tools were confused. > fsck'ing /dev/hda2 (which is /) is getting me no where though
As you discovered, you needed to run fsck on the logical volume not
the raw device. This probably needs documenting somewhere - but I'm
not sure where.
I've tried various things with recent CD images and I can't reproduce this problem: the automatic recovery/rescue mode works fine for me, so I'm going to assume the cause of this has since been fixed. |