Discussion:
[virt-tools-list] virt-sparsify TMP full
Evaggelos Balaskas
2012-08-31 20:22:50 UTC
Permalink
it seems that when TMP is full (i use tmpfs)

virt-sparsify doesnt exist with an error but it freezes


my last test is this:

Fill free space in /dev/vg_centos63/lv_root with zero ...
libguestfs: send_to_daemon: 52 bytes: 00 00 00 30 | 20 00 f5 f5 | 00
00 00 04 | 00 00 01 37 | 00 00 00 00 | ...

guestfsd: main_loop: new request, len 0x30
random filename: /sysroot//3x23hphk.zhd
◑ 8% ⟦▓▓▓▓▓▓▓▓▓▓══════════════════════════════════════════════════════════════════════════════════════════════════════════════════⟧
01:49
--
Evaggelos Balaskas - Unix System Engineer
http://gr.linkedin.com/in/evaggelosbalaskas
Evaggelos Balaskas
2012-08-31 20:24:31 UTC
Permalink
i am sorry for the spam,

i forgot to mention that i use TMPDIR to change the tmp dir

export -p TMPDIR=/vm/tmp

so that virt-sparsify do its magic, but i could be great if could
inform me that TMP is full and exit to console.
--
Evaggelos Balaskas - Unix System Engineer
http://gr.linkedin.com/in/evaggelosbalaskas
Richard W.M. Jones
2012-09-02 18:46:41 UTC
Permalink
Post by Evaggelos Balaskas
i am sorry for the spam,
i forgot to mention that i use TMPDIR to change the tmp dir
export -p TMPDIR=/vm/tmp
so that virt-sparsify do its magic, but i could be great if could
inform me that TMP is full and exit to console.
This is actually a bug that goes across qemu and the kernel:

https://bugzilla.redhat.com/show_bug.cgi?id=745576

It's unfortunately not very simple to work around. When the libvirt
back end is working we'll be able to handle this case better.

Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
Loading...