p2v fails to create initramfs

Solution Verified - Updated -

Issue

  • p2v conversion fails to create initramfs with an error "No space left on device".
gzip: stdout: No space left on device
E: dracut: creation of /boot/initramfs-<kernel_version>.img failed                 <----------- Initramfs creation failed
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: umount /sysroot/sys
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: umount /sysroot/proc
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: umount /sysroot/dev/pts
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: umount /sysroot/dev
renaming /sysroot/etc/6hpexrl0 to /sysroot/etc/resolv.conf
guestfsd: error: I: Executing /sbin/dracut --verbose --add-drivers virtio virtio_ring virtio_blk virtio_scsi virtio_net virtio_pci /boot/initramfs-<kernel_version>.img <kernel_version>

Environment

  • Red Hat Enterprise Linux 5.x
  • Red Hat Enterprise Linux 6.x
  • Red Hat Enterprise Linus 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content