[Bug 882197] Re: data loss in conversion to or from vpc
Scott Moser
smoser at canonical.com
Wed Oct 26 19:00:14 UTC 2011
Just to test whether it was reading or writing that was the error, I tried this:
$ qemu-img info /tmp/convtest.vpc
image: /tmp/convtest.vpc
file format: vpc
virtual size: 2.0G (2147991552 bytes)
disk size: 645M
The size there is incorrect, and identical to what the size of the
target is after converting back to raw.
Then, testing vboxmanage:
$ vboxmanage convertfromraw /tmp/convtest.raw /tmp/convtest.vpc.vboxmanage
$ qemu-img info /tmp/convtest.vpc.vboxmanage | grep "irtual size:"
virtual size: 2.0G (2147483648 bytes)
$ qemu-img convert -O raw /tmp/convtest.vpc.vboxmanage /tmp/convtest.raw.from-vbox-vpc
$ ls -l /tmp/convtest.raw.from-vbox-vpc
-rw-r--r-- 1 smoser smoser 2147483648 2011-10-26 14:58 /tmp/convtest.raw.from-vbox-vpc
$ md5sum /tmp/convtest.raw.from-vbox-vpc
c1f6e09e96361c4f56aea0b9ea845a36 /tmp/convtest.raw.from-vbox-vpc
So, it seems there is a bug writing the vpc format, while reading the
format as written by vboxmanage works fine.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/882197
Title:
data loss in conversion to or from vpc
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/882197/+subscriptions
More information about the Ubuntu-server-bugs
mailing list