Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Input/Output error trying to build ramdisk on Fedora

I have built a new Fedora server to build Ironic ramdisk, however when I run create-disk-image command, it fails with the error "Input/output error", anyone else running into this issue with diskimage-builder 2.27.1 (tried older versions 2.17.0 that i know worked previously)?

Failed build (diskimage-builder 2.27.1)

2019-09-20 03:26:24.091 | cpio: Read error at byte 12288 in file ./var/log/grubby, padding with zeros 2019-09-20 03:26:24.094 | cpio: Read error at byte 0 in file ./var/lib/rhsm/cache/syspurpose.json, padding with zeros 2019-09-20 03:26:24.094 | cpio: Read error at byte 0 in file ./var/lib/rhsm/repo_server_val/redhat.repo, padding with zeros 2019-09-20 03:26:27.661 | cpio: Read error at byte 8192 in file ./var/lib/rpm/Installtid, padding with zeros 2019-09-20 03:26:27.689 | find: './var/lib/yum/history/2019-09-19/9': Input/output error 2019-09-20 03:26:27.714 | cpio: Read error at byte 0 in file ./var/lib/yum/rpmdb-indexes/pkgtups-checksums, padding with zeros 2019-09-20 03:26:27.715 | cpio: Read error at byte 0 in file ./var/lib/yum/rpmdb-indexes/conflicts, padding with zeros 2019-09-20 03:26:27.716 | cpio: Read error at byte 0 in file ./var/lib/yum/rpmdb-indexes/file-requires, padding with zeros 2019-09-20 03:26:27.728 | 2482745 blocks

Successful build (diskimage-builder 2.17.0)

2019-09-20 07:33:08.564 | ++ diskimage_builder/lib/common-functions:tmpfs_check:26 : awk '/^MemTotal/ { print $2 }' /proc/meminfo 2019-09-20 07:33:08.568 | + diskimage_builder/lib/common-functions:tmpfs_check:26 : total_kB=4524752 2019-09-20 07:33:08.571 | + diskimage_builder/lib/common-functions:tmpfs_check:29 : RAM_NEEDED=4 2019-09-20 07:33:08.574 | + diskimage_builder/lib/common-functions:tmpfs_check:30 : '[' 4524752 -lt 4194304 ']' 2019-09-20 07:33:08.576 | + diskimage_builder/lib/common-functions:tmpfs_check:30 : return 0 2019-09-20 07:33:08.578 | + diskimage_builder/lib/common-functions:cleanup_image_dir:228 : timeout 120 sh -c 'while ! sudo umount -f /tmp/dib_image.AtWRig6a; do sleep 1; done' 2019-09-20 07:33:08.802 | + diskimage_builder/lib/common-functions:cleanup_image_dir:233 : rm -rf --one-file-system /tmp/dib_image.AtWRig6a 2019-09-20 07:33:08.807 | Build completed successfully