Hello,
Windows host to Opennebula (some kind of p2v) convertion.
Disk image of drive C has been created with Disk2vhd tool:
$ du -sh WINHOST.VHDX
48G WINHOST.VHDX
Image has been converted to qcow2 format:
$ qemu-img convert -p -f vhdx -O qcow2 WINHOST.VHDX winhost.qcow2
$ du -sh winhost.qcow2
48G winhost.qcow2
Converted image has been uploaded to opennebula datastore:
$ oneimage create --name winhost --path winhost.qcow2 --driver qcow2 --datastore default
And Opennebula see it as 930GB:
$ oneimage show 95
IMAGE 95 INFORMATION
ID : 95
NAME : winhost
USER : oneadmin
GROUP : oneadmin
LOCK : None
DATASTORE : default
TYPE : OS
REGISTER TIME : 08/08 14:32:14
PERSISTENT : No
SOURCE : /var/lib/one//datastores/...
PATH : /var/lib/one/datastores/100/...
SIZE : 930.4G
STATE : rdy
RUNNING_VMS : 0
How could it be?
Versions of the related components and OS (frontend, hypervisors, VMs):
Installed Packages
Name : opennebula
Arch : x86_64
Version : 5.8.1
Release : 1
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.6.1810 (Core)
Release: 7.6.1810
Codename: Core