Bug 78745 - Add option to skip lvm scan
Summary: Add option to skip lvm scan
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 8.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Michael Fulbright
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2002-11-28 15:24 UTC by Robert Armstrong
Modified: 2007-04-18 16:48 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-05-25 14:54:35 UTC

Attachments (Terms of Use)

Description Robert Armstrong 2002-11-28 15:24:09 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.0.1) Gecko/20020823

Description of problem:
While installing Redhat 8.0 from hard drive, I get messages saying the partition
table is "inconsistent."  If I ignore the messages and continue, the installer
crashes and tells me "vgscan failed."  I partitioned my harddrive using FIPS.  I
am booting from a floppy drive, using the boot.img file I obtained from a Redhat
7.3 distribution I purchased in China.  I cannot boot directly from the CDs that
came with that distribution, and when I try to boot from a floppy and then
install from the CD, the installer tells me it cannot find the images.  So I
downloaded the 8.0 iso images from the website. 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Attempt to install Redhat Linux booting from floppy.

Additional info:

Traceback (most recent call last):
  File "/usr/bin/anaconda", line 694, in ?
    intf.run(id, dispatch, configFileData)
  File "/usr/src/build/148651-i386/install//usr/lib/anaconda/text.py", line 446,
in run
  File "/usr/src/build/148651-i386/install//usr/lib/anaconda/dispatch.py", line
150, in gotoNext
  File "/usr/src/build/148651-i386/install//usr/lib/anaconda/dispatch.py", line
215, in moveStep
  File "/usr/src/build/148651-i386/install//usr/lib/anaconda/partitioning.py",
line 57, in partitionObjectsInitialize
  File "/usr/src/build/148651-i386/install//usr/lib/anaconda/partitions.py",
line 184, in setFromDisk
  File "/usr/src/build/148651-i386/install//usr/lib/anaconda/lvm.py", line 38,
in vgscan
SystemError: vgscan failed

Local variables in innermost frame:
rc: 24320

Dispatcher instance, containing members:
method: HardDriveInstallMethod instance, containing members:
  messageWindow: <bound method InstallInterface.messageWindow of
<text.InstallInterface instance at 0x85240f4>>
  discImages: {1: psyche-i386-disc1.iso}
  fnames: {}
  isoDir: /tmp/isodir/
  tree: None
  rootPath: /mnt/sysimage
  fstype: vfat
  device: hda5
  mediaIsMounted: 0
  isoDirIsMounted: 0

Comment 1 Michael Fulbright 2002-12-02 16:04:35 UTC
Have you ever used LVM on these drives?

Comment 2 Robert Armstrong 2002-12-02 23:28:25 UTC
I don't think so.  What is "LVM?"

Comment 3 Michael Fulbright 2003-01-03 02:42:38 UTC
LVM stands for 'Logical Volume Manager'.

The vgscan command looks for existing LVM installations.  Apparently the command
is failing on your system because it is confused by your current partitioning.

Comment 4 Michael Fulbright 2003-01-03 02:43:13 UTC
Noting we should add a option to skip this scan since it seems unrealiable on
certain systems.

Comment 5 Jeremy Katz 2003-01-10 06:56:03 UTC
Instead added code so that if vgscan fails, we just disable lvm.

Comment 6 Brent Fox 2003-05-25 14:54:35 UTC
I'm going through Bugzilla closing some bugs that have been marked as Modified
for some period of time.  I believe that most of these issues have been fixed,
so I'm resolving these bugs as Rawhide.  If the bug you are seeing still exists,
please reopen this report and mark it as Reopened.

Note You need to log in before you can comment on or make changes to this bug.