Bug 443728 - Problems with vgimport if you specify 'vgnamePV_EXP' instead of just 'vgname'
Summary: Problems with vgimport if you specify 'vgnamePV_EXP' instead of just 'vgname'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: lvm
Version: 3.9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: LVM and device-mapper development team
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-23 02:13 UTC by Mark Huth
Modified: 2009-06-19 13:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-19 13:44:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mark Huth 2008-04-23 02:13:29 UTC
It seems there is a bug with vgimport if you import the volume group with the
'vgnamePV_EXP' name instead of just the original 'vgname' name.  I was able to
replicate this bug like so:

Create a volume group called, say, vgname.  Then ...
vgchange -an vgname
vgexport vgname
vgscan
- displays vgnamePV_EXP
vgimport vgnamePV_EXP <physical_volume>   <---- this is where the bug is
vgscan
- displays vgnamePV_EXP instead of vgname
pvscan
- still reports that the PVs are 'in EXPORTED VG "vgname"'

However if I use:
vgimport vgname <physical_volume>
vgscan
- displays vgname
pvscan
- shows normal/expected vgname information

Solution to the mess created:
vgrename vgnamePV_EXP vgname
... vgscan and pvscan show consistent information again.

Lesson learnt:
There is a bug in RHEL3 lvm if you use 'vgimport vgnamePV_EXP <physical_volume>'
instead of 'vgimport vgname <physical_volume>'

Comment 1 Dave Wysochanski 2009-06-19 13:44:35 UTC
Rhel3 is in maintenance phase and only security bugs will be fixed.

Upstream LVM does not have this bug, neither does RHEL4 or RHEL5.


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