Bug 64818 - Initialization of VG fails at boot time per default
Summary: Initialization of VG fails at boot time per default
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: lvm
Version: 7.2
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2002-05-13 06:52 UTC by Anders Norrbring
Modified: 2007-04-18 16:42 UTC (History)
0 users

Clone Of:
Last Closed: 2002-05-15 07:07:52 UTC

Attachments (Terms of Use)

Description Anders Norrbring 2002-05-13 06:52:27 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Description of problem:
The init of any and all volume groups will fail at boot time if the /usr file 
system is on its own partition.  This is due to that vgscan can't access the 
needed lib files at the point in rc.sysinit where init takes place as only the 
root file system is mounted.

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

How reproducible:

Steps to Reproduce:
1. Just reboot, it fails with errors about not being able to access lib files.

Expected Results:  I'd expect the rc.sysinit to init the volume groups.

Additional info:

After going through the rc.sysinit, I simply cut out the lvm init part and 
moved it downwards to just before quota init and added a line above it to 
mount /usr before the "Mount all local file systems" takes place. This works 
fine for me...  But maybe not everyone will find it.

If you have the /usr directory directly on the root volume I suspect the init 
will work as the lib files in /usr/libs will be accessible directly after the 
root remount, but it won't with /usr on its own partition.

Comment 1 Trond Eivind Glomsrxd 2002-05-14 22:13:32 UTC
Which version of lvm are you using? We didn't ship one in 7.2... and the one in
7.3 is only linked against libraries in /lib.

Comment 2 Anders Norrbring 2002-05-15 07:07:45 UTC
I'm using LVM v1.0.4, and it does install in /usr/lib and /sbin
Anyway, the problem is solved as I edited my rc.sysinit so I moved the LVM 
init downwards in the file (You've it put just below the /root remount per 
default) and I added a line to mount /usr (own partition) before LVM init, but 
before RAID init...

Comment 3 Trond Eivind Glomsrxd 2002-05-15 15:33:39 UTC
That package is not from us - I suggest you submit the bug to them.
(ours isn't 1.0.4, and doesn't have that problem)

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