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
The Red Hat mkinitrd should deal with LVM properly anyway; does the problem persist if you use that instead?
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.
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.
Reassigning documentation/packaging suggestion.