VMware Cloud Community
NikunjB
Contributor
Contributor

--compress=9 giving disks of larger size than original

Hi All,

I have an ovf package with only one vmdk file of soze 3.3GB. When I am using ovftool with compress=9 option. Its giving me "VMX" of size 5.3GB

{{{

C:\>ovftool --compress=9 MyVM.ovf C:\Users\

Opening OVF source: MyVM.ovf

The manifest validates

Opening VMX target: C:\Users\

Writing VMX file: C:\Users\MyVM\MyVM.vmx

Disk Transfer Completed

Completed successfully

}}}

The Directory C:\Users\MyVM\ contains a .VMX and .VMDK ( 5.3GB size )

Any ideas why this increased size and why .VMX instead of .OVF ?

Thanks

Nikunj

0 Kudos
1 Reply
admin
Immortal
Immortal

OVF is a transport format so the disk are compressed while VMX is a run-able format where workstation needs to open the disks. you could use the

--diskMode options to try to control the disk size but what you see is expected. The --compress option only works when going to OVF/OVA targets.

/eske

0 Kudos