On Thu, Jul 02, 2015 at 12:47:38AM -0400, Deepti Navale wrote:
Hi,
I'm trying to manually create a rhel7 image using the qemu-img
and
virt-install commands. I'm re-testing a procedure I previously wrote
with the new grub commands that a customer suggested we add in. This
procedure is available at:
[...]
libguestfs: [00402ms] run supermin
libguestfs: command: run: /usr/bin/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /var/tmp/.guestfs-1000/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d
libguestfs: command: run: \ -o /var/tmp/.guestfs-1000/appliance.d
supermin: version: 5.1.9
supermin: rpm: detected RPM version 4.11
supermin: package handler: fedora/rpm
supermin: acquiring lock on /var/tmp/.guestfs-1000/lock
supermin: build: /usr/lib64/guestfs/supermin.d
supermin: build: visiting /usr/lib64/guestfs/supermin.d/base.tar.gz type gzip base image
(tar)
tar: ./etc/tcsd.conf: Cannot write: No space left on device
tar: ./etc/aliases: Cannot write: No space left on device
tar: ./etc/bashrc: Cannot write: No space left on device
tar: ./etc/csh.cshrc: Cannot write: No space left on device
tar: ./etc/csh.login: Cannot write: No space left on device
tar: ./etc/filesystems: Cannot write: No space left on device
There is a bug about this somewhere, and I cannot find it at the
moment. It was fixed in newer versions of Fedora.
Try running the following command and attach all of the output. It
will give us much more information about what's going wrong:
/usr/bin/supermin --build -v -v -v --copy-kernel -f ext2 --host-cpu x86_64
/usr/lib64/guestfs/supermin.d -o /tmp/appliance.d
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/