VMware Cloud Community
tsvmware
Contributor
Contributor
Jump to solution

The Vmdk File Size

Hi.

I have an ESX 4.0.0 host and I created a new VM on it, to install WIN 2003.

When configure the virtual disk, I set Disk Size as 18GB and selected Allocate and commit space on demand (Thin Provisioing) option.

The following steps are fine and smooth. Installation is good and VM can be saved in the local HDD. It could run as I wish.

In the end, I logged into the ESX sever to make sure how size of VMDK file was generated.

Result as below.

$ ls -lh

total 9.7G

-rw------- 1 root root 1.0G May 31 10:43 vm-17412363.vswp

-rw------- 1 root root 17G May 31 17:51 vm1-flat.vmdk

-rw------- 1 root root 8.5K May 31 11:06 vm.nvram

-rw------- 1 root root 469 May 31 10:45 vm.vmdk

-rw------- 1 root root 0 May 31 10:40 vm.vmsd

-rwxr-xr-x 1 root root 2.9K May 31 10:43 vc01.vmx

-rw------- 1 root root 259 May 31 10:40 vm.vmxf

-rw-rr 1 root root 110K May 31 17:18 vmware.log

I felt it is wrong!

Why total size is 9.7 GB but vm1-flat.vmdk file is 17GB???

It is over the total size. It seems to strange....isn't it??

Then I was loggin to WIN2003(vm) and make sure how size of C drive.

C drive was total 16.9GB and available 8.44GB.....

Maybe C drive size is .flat size. It make sense.

but WHY total size is 9.7GB?? AND tell me the breakdown of this total file size.

Can anyone explain me??

Help me~~~

Thanks!

0 Kudos
1 Solution

Accepted Solutions
jussijaurola
Enthusiast
Enthusiast
Jump to solution

Hi!

vm1-flat.vmdk is sparesefile and it shows total maximum size of disk.

And total 9.7 is used diskspace + log-files + swap.

View solution in original post

0 Kudos
2 Replies
jussijaurola
Enthusiast
Enthusiast
Jump to solution

Hi!

vm1-flat.vmdk is sparesefile and it shows total maximum size of disk.

And total 9.7 is used diskspace + log-files + swap.

0 Kudos
tsvmware
Contributor
Contributor
Jump to solution

sparesefile!!

I didn't know that!

THANKS A LOT jussijaurola!

I got it!

0 Kudos