Bug 101443 - lvmcreate_initrd
Summary: lvmcreate_initrd
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: lvm
Version: 9
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Heinz Mauelshagen
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-08-01 01:54 UTC by Eric Moret
Modified: 2007-03-27 04:08 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-07-07 13:38:52 UTC
Embargoed:


Attachments (Terms of Use)
Fix surious kernel dependencies messages (415 bytes, patch)
2003-10-19 12:10 UTC, Francois-Xavier 'FiX' KOWALSKI
no flags Details | Diff

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.


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