Red Hat Bugzilla – Bug 116059
Installing on an existing Volume group does not create /etc/lvmtab
Last modified: 2007-11-30 17:10:36 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
I installed FC2 test1 on a machine that had previously been FC1.
During the installation of FC1, I created a LVM Volume group. During
the FC2 test1 installation, I created a new LVM partition for /.
After installation, I ran these:
vgdisplay -- ERROR: "/etc/lvmtab" doesn't exist; please run vgscan
vgscan -- LVM driver/module not loaded?
Thus I cannot change my LVM partitions.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install FC2 test1 on preexisting VG
2. Create new partition for FC2
3. Install as normal
4. Run vgdisplay after installation
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
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.
Peter, the problem you report looks similar to one that's already been
addressed in newer RPMs. (I think it was fixed in test2.)