Getting the final disk size of a streamOptimized VMDK
Posted: 15. Mar 2017, 16:08
I have a *.vmdk:
Now i want to clone it to VDI so i can use it, but i need to know the final size (which is somewhere between the vmdk size and the maximum capacity).
The command:
just starts the conversion process without telling me how much diskspace is needed. Is there any way to read the information (doesn't have to be the exact size of the dynamic VDI, the size of the uncompressed MONOLITHIC_SPARSE VMDK is fine too) from the VMDK or do some sort of "dry run" to get the VDI size without actually using up disk space?
Code: Select all
>VBoxManage.exe showmediuminfo disk1.vmdk
...
State: created
Type: normal (base)
Location: disk1.vmdk
Storage format: VMDK
Format variant: dynamic streamOptimized
Capacity: 130048 MBytes
Size on disk: 20143 MBytes
Encryption: disabledThe command:
Code: Select all
VBoxManage clonemedium disk1.vmdk disk1.vdi --format VDI --variant Standard