Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 119975

Summary: LVM2 is not setup after installation
Product: [Fedora] Fedora Reporter: Ronny Buchmann <ronny-rhbugzilla>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: frederic, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 7.50-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-16 07:28:59 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: 114963    
Attachments:
Description Flags
fix for rc.sysinit none

Description Ronny Buchmann 2004-04-04 13:30:09 UTC
Description of problem:
- anaconda doens't create /etc/lvm (which is OK, I think)
- rc.sysinit doesn't setup LVM2 if /etc/lvm not present (IMO not OK)
- lvm vgscan --mknodes exits with code 5

Detailed error messages are in bug 118787 and bug 119964.

Version-Release number of selected component (if applicable):
initscripts-7.49-1
lvm2-2.00.08-5

How reproducible:
always after fresh-install and no manual intervention

Steps to Reproduce:
1. do a fresh install using LVM
2. start system
  
Actual results:
errors fully posted in bug 118787 and bug 119964


Expected results:
startup without errors

Solution:
vgmknodes should be called after vgchange -a y, not together with vgscan.
/etc/lvm shouldn't be a prerequisite (if we have lvm2 installed, why
shouldn't we try to run it?)

Comment 1 Ronny Buchmann 2004-04-04 13:34:11 UTC
Created attachment 99096 [details]
fix for rc.sysinit

Comment 2 Bill Nottingham 2004-04-16 07:28:59 UTC
lvm2 actually contains /etc/lvm these days.

added in 7.50-1 , thanks!

Comment 3 Jeremy Katz 2004-05-06 21:43:35 UTC
*** Bug 118787 has been marked as a duplicate of this bug. ***