Hi Rich,
I'm not sure how far this helps as it mostly says 'No space left on device',
but here's the output of the command you asked me to run:
➜ tmp /usr/bin/supermin --build -v -v -v --copy-kernel -f ext2 --host-cpu x86_64
/usr/lib64/guestfs/supermin.d -o /tmp/appliance.d
supermin: version: 5.1.9
supermin: rpm: detected RPM version 4.11
supermin: package handler: fedora/rpm
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/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
tar: ./etc/group: Cannot write: No space left on device
tar: ./etc/host.conf: Cannot write: No space left on device
tar: ./etc/hosts: Cannot write: No space left on device
tar: ./etc/hosts.allow: Cannot write: No space left on device
tar: ./etc/hosts.deny: Cannot write: No space left on device
tar: ./etc/inputrc: Cannot write: No space left on device
tar: ./etc/passwd: Cannot write: No space left on device
tar: ./etc/printcap: Cannot write: No space left on device
tar: ./etc/profile: Cannot write: No space left on device
tar: ./etc/protocols: Cannot write: No space left on device
tar: ./etc/securetty: Cannot write: No space left on device
tar: ./etc/services: Cannot write: No space left on device
tar: ./etc/shells: Cannot write: No space left on device
tar: ./etc/pki/nssdb/cert8.db: Cannot write: No space left on device
tar: ./etc/pki/nssdb/cert9.db: Cannot write: No space left on device
tar: ./etc/pki/nssdb/key3.db: Cannot write: No space left on device
tar: ./etc/pki/nssdb/key4.db: Cannot write: No space left on device
tar: ./etc/pki/nssdb/pkcs11.txt: Cannot write: No space left on device
tar: ./etc/pki/nssdb/secmod.db: Cannot write: No space left on device
tar: ./etc/selinux/semanage.conf: Cannot write: No space left on device
tar: ./etc/pki/ca-trust/ca-legacy.conf: Cannot write: No space left on device
tar: ./etc/default/useradd: Cannot write: No space left on device
tar: ./etc/login.defs: Cannot write: No space left on device
tar: ./etc/pam.d/config-util: Cannot write: No space left on device
tar: ./etc/pam.d/fingerprint-auth: Cannot write: No space left on device
tar: ./etc/pam.d/other: Cannot write: No space left on device
tar: ./etc/pam.d/password-auth: Cannot write: No space left on device
tar: ./etc/pam.d/postlogin: Cannot write: No space left on device
tar: ./etc/pam.d/smartcard-auth: Cannot write: No space left on device
tar: ./etc/pam.d/system-auth: Cannot write: No space left on device
tar: ./etc/security/access.conf: Cannot write: No space left on device
tar: ./etc/security/chroot.conf: Cannot write: No space left on device
tar: ./etc/security/console.handlers: Cannot write: No space left on device
tar: ./etc/security/console.perms: Cannot write: No space left on device
tar: ./etc/security/group.conf: Cannot write: No space left on device
tar: ./etc/security/limits.conf: Cannot write: No space left on device
tar: ./etc/security/limits.d/90-nproc.conf: Cannot write: No space left on device
tar: ./etc/security/namespace.conf: Cannot write: No space left on device
tar: ./etc/security/namespace.init: Cannot write: No space left on device
tar: ./etc/security/pam_env.conf: Cannot write: No space left on device
tar: ./etc/security/sepermit.conf: Cannot write: No space left on device
tar: ./etc/security/time.conf: Cannot write: No space left on device
tar: ./etc/pki/tls/openssl.cnf: Cannot write: No space left on device
tar: ./etc/ssh/moduli: Cannot write: No space left on device
tar: ./etc/openldap/ldap.conf: Cannot write: No space left on device
tar: ./etc/mtools.conf: Cannot write: No space left on device
tar: ./etc/libuser.conf: Cannot write: No space left on device
tar: ./etc/security/pwquality.conf: Cannot write: No space left on device
tar: ./etc/krb5.conf: Cannot write: No space left on device
tar: ./etc/sysconfig/ip6tables-config: Cannot write: No space left on device
tar: ./etc/sysconfig/iptables-config: Cannot write: No space left on device
tar: ./etc/xtables/connlabel.conf: Cannot write: No space left on device
tar: ./usr/share/info/dir: Cannot write: No space left on device
tar: ./etc/groff/site-tmac/man.local: Cannot write: No space left on device
tar: ./etc/groff/site-tmac/mdoc.local: Cannot write: No space left on device
tar: ./etc/default/nss: Cannot write: No space left on device
tar: ./etc/ld.so.conf: Cannot write: No space left on device
tar: ./etc/nsswitch.conf: Cannot write: No space left on device
tar: ./etc/rpc: Cannot write: No space left on device
tar: ./usr/lib64/gconv/gconv-modules: Cannot write: No space left on device
tar: ./etc/fuse.conf: Cannot write: No space left on device
tar: ./etc/dracut.conf: Cannot write: No space left on device
tar: ./etc/dbus-1/session.conf: Cannot write: No space left on device
tar: ./etc/dbus-1/system.conf: Cannot write: No space left on device
tar: ./etc/libaudit.conf: Cannot write: No space left on device
tar: ./etc/pam.d/chfn: Cannot write: No space left on device
tar: ./etc/pam.d/chsh: Cannot write: No space left on device
tar: ./etc/pam.d/login: Cannot write: No space left on device
tar: ./etc/pam.d/remote: Cannot write: No space left on device
tar: ./etc/pam.d/runuser: Cannot write: No space left on device
tar: ./etc/pam.d/runuser-l: Cannot write: No space left on device
tar: ./etc/pam.d/su: Cannot write: No space left on device
tar: ./etc/pam.d/su-l: Cannot write: No space left on device
tar: ./usr/lib/udev/rules.d/60-raw.rules: Cannot write: No space left on device
tar: ./etc/rsyncd.conf: Cannot write: No space left on device
tar: ./etc/sysconfig/rsyncd: Cannot write: No space left on device
tar: ./etc/cron.d/raid-check: Cannot write: No space left on device
tar: ./etc/sysconfig/raid-check: Cannot write: No space left on device
tar: ./usr/lib/tmpfiles.d/mdadm.conf: Cannot write: No space left on device
tar: ./etc/lvm/lvm.conf: Cannot write: No space left on device
tar: ./etc/GREP_COLORS: Cannot write: No space left on device
tar: ./etc/profile.d/colorgrep.csh: Cannot write: No space left on device
tar: ./etc/profile.d/colorgrep.sh: Cannot write: No space left on device
tar: ./etc/magic: Cannot write: No space left on device
tar: ./etc/DIR_COLORS: Cannot write: No space left on device
tar: ./etc/DIR_COLORS.256color: Cannot write: No space left on device
tar: ./etc/DIR_COLORS.lightbgcolor: Cannot write: No space left on device
tar: ./etc/profile.d/colorls.csh: Cannot write: No space left on device
tar: ./etc/profile.d/colorls.sh: Cannot write: No space left on device
tar: ./etc/skel/.bash_logout: Cannot write: No space left on device
tar: ./etc/skel/.bash_profile: Cannot write: No space left on device
tar: ./etc/skel/.bashrc: Cannot write: No space left on device
tar: ./etc/sysconfig/zfs-fuse: Cannot write: No space left on device
tar: ./etc/virc: Cannot write: No space left on device
tar: ./etc/dbus-1/system.d/org.freedesktop.hostname1.conf: Cannot write: No space left on
device
tar: ./etc/dbus-1/system.d/org.freedesktop.locale1.conf: Cannot write: No space left on
device
tar: ./etc/dbus-1/system.d/org.freedesktop.login1.conf: Cannot write: No space left on
device
tar: ./etc/dbus-1/system.d/org.freedesktop.machine1.conf: Cannot write: No space left on
device
tar: ./etc/dbus-1/system.d/org.freedesktop.systemd1.conf: Cannot write: No space left on
device
tar: ./etc/dbus-1/system.d/org.freedesktop.timedate1.conf: Cannot write: No space left on
device
tar: ./etc/pam.d/systemd-user: Cannot write: No space left on device
tar: ./etc/rsyslog.d/listen.conf: Cannot write: No space left on device
tar: ./etc/systemd/bootchart.conf: Cannot write: No space left on device
tar: ./etc/systemd/journald.conf: Cannot write: No space left on device
tar: ./etc/systemd/logind.conf: Cannot write: No space left on device
tar: ./etc/systemd/system.conf: Cannot write: No space left on device
tar: ./etc/systemd/user.conf: Cannot write: No space left on device
tar: ./etc/udev/udev.conf: Cannot write: No space left on device
tar: ./etc/yum/protected.d/systemd.conf: Cannot write: No space left on device
tar: ./etc/ssh/ssh_config: Cannot write: No space left on device
tar: ./etc/nilfs_cleanerd.conf: Cannot write: No space left on device
tar: ./etc/sysconfig/rdisc: Cannot write: No space left on device
tar: ./etc/iproute2/ematch_map: Cannot write: No space left on device
tar: ./etc/iproute2/group: Cannot write: No space left on device
tar: ./etc/iproute2/rt_dsfield: Cannot write: No space left on device
tar: ./etc/iproute2/rt_protos: Cannot write: No space left on device
tar: ./etc/iproute2/rt_realms: Cannot write: No space left on device
tar: ./etc/iproute2/rt_scopes: Cannot write: No space left on device
tar: ./etc/iproute2/rt_tables: Cannot write: No space left on device
tar: ./etc/sysconfig/cbq/avpkt: Cannot write: No space left on device
tar: ./etc/sysconfig/cbq/cbq-0000.example: Cannot write: No space left on device
tar: ./etc/e2fsck.conf: Cannot write: No space left on device
tar: ./etc/mke2fs.conf: Cannot write: No space left on device
tar: Exiting with failure status due to previous errors
supermin: zcat '/usr/lib64/guestfs/supermin.d/base.tar.gz' | tar -C
'/tmp/supermind80093.tmpdir/base.d' -xf -: command failed, see earlier errors
Thanks,
Deepti
--
Deepti Navale
Content Author, Red Hat OpenStack
Customer Content Services
Red Hat Asia Pacific
Sydney, Australia
dnavale(a)redhat.com
----- Original Message -----
From: "Richard W.M. Jones" <rjones(a)redhat.com>
To: "Deepti Navale" <dnavale(a)redhat.com>
Cc: libguestfs(a)redhat.com
Sent: Thursday, July 2, 2015 6:17:16 PM
Subject: Re: [Libguestfs] libguestfs error: need help troubleshooting
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/