Bug 116059
Summary: | Installing on an existing Volume group does not create /etc/lvmtab | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Forrest <forresttaylor2000> |
Component: | lvm2 | Assignee: | Alasdair Kergon <agk> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | sct |
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: | 2004-04-08 21:10:06 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: | |||
Bug Depends On: | |||
Bug Blocks: | 114961 |
Description
Forrest
2004-02-17 22:45:41 UTC
I knew that it was probably something easy...I just ran in rescue mode and found the lvm <command> feature. I rebooted and tried `lvm vgdisplay`, and that worked. We obviously need something in the release notes about this. I just tried `lvm lvreduce -L -8G /dev/Volume00/lvol0`, and it successfully reduced lvol0 by 8GB. (I actually tried /dev/mapper/Volume00-lvol0, but it said 'Volume group mapper doesn't exist') I installed FC2test1 on two clean discs, creating (among other things) an LVM2 volume group of two physical partitions, one from each disc. Setup as follows: PV: 100 gigs from hda, 40 gigs from hdc. LV: 120 gigs for OptLV on /opt, 20 gigs for VarLV on /var. On first boot, I'm dropped to a shell, since fsck fails. So I re-install, creating the exact same setup again. Same problem at first boot. Then I noticed that the /etc/lvm directory and subdirs has not been created. I then follow the LVM2 initialization steps in rc.sysinit manually (lines 352-362), which solves the problem and allows a clean boot. This may be an Anaconda problem. I'll add a .lvm1 suffix to all the LVM1 binaries - they're no use with a 2.6 kernel, but some people want them leaving around so they can reboot back to a 2.4 kernel. Then I'll update the lvm2 package to install the new versions of the tools so you don't have to prefix them all with 'lvm'. Packages updated as described, plus LVM2 tools will invoke the old LVM1 tools transparently on a 2.4 kernel if required. lvm2-2.00.11-1.3 lvm-1.0.3-19.0 Peter, the problem you report looks similar to one that's already been addressed in newer RPMs. (I think it was fixed in test2.) |