<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">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.<div><br><div apple-content-edited="true">
Keresztes Péter-Zoltán<br><a href="mailto:zozo@z0z0.tk">zozo@z0z0.tk</a><br>I haven’t lost my mind, I know exactly where I left it.
</div>
<br><div><div>On 01 Jul 2014, at 18:19, Richard W.M. Jones <<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On Tue, Jul 01, 2014 at 05:17:04PM +0300, Keresztes Péter-Zoltán wrote:<br><blockquote type="cite">Hello,<br><br>I have an issue with virt-resize on the newest version of proxmox which is running on debian wheezy.<br>when I run the virt-resize on a windows 2008 qemu image I got an error. Here is the last part of the debug message:<br><br>Copying /dev/sda1 ...<br>libguestfs: trace: copy_device_to_device "/dev/sda1" "/dev/sdb1" "size:32210026496"<br>100% ⟦▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧ 00:00<br>libguestfs: trace: copy_device_to_device = 0<br>libguestfs: trace: part_set_bootable "/dev/sdb" 1 true<br>libguestfs: trace: part_set_bootable = 0<br>libguestfs: trace: part_set_mbr_id "/dev/sdb" 1 7<br>libguestfs: trace: part_set_mbr_id = 0<br>libguestfs: trace: shutdown<br>libguestfs: trace: internal_autosync<br>libguestfs: trace: internal_autosync = 0<br>libguestfs: trace: shutdown = 0<br>libguestfs: trace: close<br>libguestfs: trace: add_drive "vm-2000-disk-1.qcow2.out" "readonly:false"<br>libguestfs: trace: add_drive = 0<br>libguestfs: trace: launch<br>libguestfs: trace: get_tmpdir<br>libguestfs: trace: get_tmpdir = "/tmp"<br>libguestfs: trace: get_cachedir<br>libguestfs: trace: get_cachedir = "/var/tmp"<br>100% ⟦▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧ 00:00<br>libguestfs: trace: launch = 0<br>Expanding /dev/sda1 using the 'ntfsresize' method ...<br>libguestfs: trace: ntfsresize "/dev/sda1" "force:false"<br>libguestfs: trace: ntfsresize = -1 (error)<br>Fatal error: exception Guestfs.Error("ntfsresize: /dev/sda1: ")<br></blockquote><br>The `ntfsresize' tool is broken somehow, or it is possible that the<br>underlying first partition on the disk is broken.  Unfortunately the<br>error message got truncated somehow.<br><br>To find out more, set the following environment variable before<br>running virt-resize:<br><br> export LIBGUESTFS_DEBUG=1<br><br>This will display the complete output from ntfsresize, to stdout &<br>stderr, and should hopefully give you more information.<br><br>Another thing you can try is:<br><br> virt-rescue --ro -a vm-2000-disk-1.qcow2.out<br><blockquote type="cite"><fs> ntfsresize --check /dev/sda1<br></blockquote><br>Rich.<br><br>--<span class="Apple-converted-space"> </span><br>Richard Jones, Virtualization Group, Red Hat<span class="Apple-converted-space"> </span><a href="http://people.redhat.com/~rjones">http://people.redhat.com/~rjones</a><br>Read my programming and virtualization blog:<span class="Apple-converted-space"> </span><a href="http://rwmj.wordpress.com/">http://rwmj.wordpress.com</a><br>virt-p2v converts physical machines to virtual machines.  Boot with a<br>live CD or over the network (PXE) and turn machines into KVM guests.<br><a href="http://libguestfs.org/virt-v2v">http://libguestfs.org/virt-v2v</a></div></blockquote></div><br></div></body></html>