On Tue, Jul 01, 2014 at 07:01:43PM +0300, Keresztes Péter-Zoltán wrote:
Unfortunately I cannot use the latest version of libguestfs therefore I am stuck with the 1.20 since the newest versions need augeas 1.0.0 where debian wheezy has only 0.7 in it’s repository. But I will try to compile the ocaml 4.01 and see what is the result.
You shouldn't need to compile or upgrade anything. The commands below will work with the 1.20 version.
The `ntfsresize' tool is broken somehow, or it is possible that the underlying first partition on the disk is broken. Unfortunately the error message got truncated somehow.
To find out more, set the following environment variable before running virt-resize:
export LIBGUESTFS_DEBUG=1
This will display the complete output from ntfsresize, to stdout & stderr, and should hopefully give you more information.
Another thing you can try is:
virt-rescue --ro -a vm-2000-disk-1.qcow2.out
<fs> ntfsresize --check /dev/sda1
Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html