On Tue, Sep 09, 2014 at 03:49:03PM +0300, Keresztes Péter-Zoltán wrote:
Hello,
is CoreOS supported by libguestfs?
libguestfs *inspection* doesn't yet recognize CoreOS instances
(patches to add this would be nice), however this doesn't affect
virt-resize.
I was trying to run several commands some were successful others
ended up with an error:
for example virt-df was OK
http://libguestfs.org/guestfs-faq.1.html#whats-the-deal-with-guestfish--i
but when I tried to do virt-resize I got the following error
message:
root@ny2proxd03:/var/lib/vz/images/100# virt-resize --expand /dev/sda3
vm-100-disk-1.qcow2 vm-100-disk-1.qcow2.resized
Examining vm-100-disk-1.qcow2 ...
100%
⟦▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧
--:--
Fatal error: exception Guestfs.Error("lvs: call launch before using this
function\n(in guestfish, don't forget to use the 'run' command)")
Please run virt-resize with the -v and -x options and let us know
the complete, unedited output.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org