VMware Cloud Community
nchoudhary
Contributor
Contributor
Jump to solution

VMDK files expanded

Hi there

I have a strange problem here. I have a Red Hat Linux box which is provisioned with 3 disks. HDD1(Thinly provisioned) holding root partition and allocated space on it is 10GB inside the OS but it is allocated 60GB at VMWare level. For some reason the VMDK file is grown up(provisioned) to 60 GB but inside the OS when I run df -h it is showing 3GB used out of 10GB.

I do not take any snapshot so there is no way it is because of that.

Can Linux OS can cause HDD1 to grown at VMWare level without affecting internal partition?

Please help

thanks in advance.

0 Kudos
1 Solution

Accepted Solutions
a_p_
Leadership
Leadership
Jump to solution

As mentioned by Tsjo,the "Size" is what's physically used by the VM and the "Provisioned Size" is the size you defined when you created the thin provisioned virtual disk. The "Provisioned Size" you see in the VM's Summary tab is the maximum size the VM could use on the datastore, not what it's currently using.

André

View solution in original post

0 Kudos
7 Replies
a_p_
Leadership
Leadership
Jump to solution

Welcome to the Community,

where do you see the 60GB? Please provide a screen shot of the Datastore Browser window showing all the VM's files with their sizes and time stamps.

André

0 Kudos
nchoudhary
Contributor
Contributor
Jump to solution

Hi Andre

Thanks for your reply. Please find the screenshot attached. It was allocated on SAN.

Thanks for your help

0 Kudos
Tsjo
Enthusiast
Enthusiast
Jump to solution

The disk has an additional 45G provisioned if the VM ever grows that large, but it's only using around 11G.

If you find this information useful, please award points for "correct" or "helpful".
a_p_
Leadership
Leadership
Jump to solution

As mentioned by Tsjo,the "Size" is what's physically used by the VM and the "Provisioned Size" is the size you defined when you created the thin provisioned virtual disk. The "Provisioned Size" you see in the VM's Summary tab is the maximum size the VM could use on the datastore, not what it's currently using.

André

0 Kudos
nchoudhary
Contributor
Contributor
Jump to solution

Thanks guys for your help. But checking records it was only assigned 10 GB. This provisioned space has come from no where. We noticed this because yesterday I received error that VMDK is out of space and it cannot start the virtual machine. We ran out of space on datastore and only HDD1 is showing provisioned space but internally it is 70% free on the partition.

0 Kudos
a_p_
Leadership
Leadership
Jump to solution

This provisioned space has come from no where.

The provisioned size  does not change automatically, but only manually. From the provisioned size of the first virtual disk (the one in question) it looks like this was created with 45GB and then someone decided to only use 10GB and create a second disk with 35GB!?

Unless this host is part of an HA cluster and memory is not overprovisioned, you could set a memory reservation for the VM. This will result in a reduced size for the .vswp file which is created when the VM is powered on, effectively freeing up disk space to be able to power on the VM.


André

nchoudhary
Contributor
Contributor
Jump to solution

Thanks Andre. You and Tsjo been helpful.

0 Kudos