Bug 101443

Summary: lvmcreate_initrd
Product: [Retired] Red Hat Linux Reporter: Eric Moret <eric.moret>
Component: lvmAssignee: Heinz Mauelshagen <heinzm>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: low    
Version: 9CC: francois-xavier.kowalski, sct
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-07 13:38:52 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:
Attachments:
Description Flags
Fix surious kernel dependencies messages none

Description Eric Moret 2003-08-01 01:54:56 UTC
Description of problem:
Running stock RH 2.4.20-19.9smp kernel on an smp machine and migrating a root 
partition to lvm.  when running lvmcreate_initrd, I get error no space left on 
device when cpio files from /dev. To fix the issue I had to manually edit 
the /sbin/lvmcreate_initrd script, uncomment line INITRDSIZE= and type 8000. 
Obviously the script does not estimate the size of the ramdisk properly.

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

How reproducible:
Every time

Comment 1 Stephen Tweedie 2003-08-04 12:16:05 UTC
The Red Hat mkinitrd should deal with LVM properly anyway; does the problem
persist if you use that instead?

Comment 2 Francois-Xavier 'FiX' KOWALSKI 2003-10-19 12:10:41 UTC
Created attachment 95295 [details]
Fix surious kernel dependencies messages

despite its man page, lvmcreate_initrd is unable to regenerate module
dependencies for a non-running kernel.

Comment 3 Francois-Xavier 'FiX' KOWALSKI 2003-10-19 12:11:14 UTC
plain mkinitrd fixes the issue, provided the bug below is also fixed (patch
enclosed).

<https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=107490>

Also not that lvmcreate_mkinitrd -- appart from its unability to create an
initrd -- also issues a lot of suprious messages.  Patch enclosed in this PR
fixes the spurious messages.

IMO, lvmcreate_initrd should simply no longer be delivered & its man-page should
reference mkinitrd, that does the proper job.

Comment 4 Stephen Tweedie 2004-03-11 10:46:30 UTC
Reassigning documentation/packaging suggestion.