VMware Cloud Community
MrVmware9423
Expert
Expert

Best Practice Minimum Free Space on Datastore (Prod and No-Prod VMs)

Dear Team,

I have two datastore on one esx host,Just want to know as a best practice  what will be the % of free space on datastore1 (stored Production VMs also performing backup activity) and Datastore2 (stored non-production VMs no backup activity).

regards

Mr VMware

0 Kudos
7 Replies
SureshKumarMuth
Commander
Commander

It depends on many parameters...number if virtual machine etc... check if the following article is helpful for you

VMware KB: Troubleshooting a datastore or VMFS volume that is full or near capacity

Regards,
Suresh
https://vconnectit.wordpress.com/
0 Kudos
a_p_
Leadership
Leadership

As mentioned before, it depends on several parameters. Once is certainly snapshotting as you already mentioned, another important one is whether the VMs are thin provisioned and the datastore is over-provisioned. The amount of free disk space also depends on disk write activity of the VMs while there are active snapshots. As a rule of thumb you should keep 15-20% free disk space for datastores with either thin provisioned virtual disks or snapshots. The percentage however may vary depending on the size of the datastore.

André

0 Kudos
MrVmware9423
Expert
Expert

Thanks Andre & Suresh,

We are using thick provisioned VMs in our environment. Is there any official VMware artical where we can check the same.

The percentage however may vary depending on the size of the datastore.


most of the datastore we have 250GB / 500 GB/ 800 / 1TB size datastore

regards

Mr VMware

0 Kudos
a_p_
Leadership
Leadership

I don't know whether there's an official documentation about how much disk space exactly you should reserve. The vCenter Alert for Datastore Usage is set to 75% (Warning) and 85% (Alarm), so this may be an indicator. However, it really depends on the individual VM's activity and of course the number of snapshots you keep and the time you keep them.

André

0 Kudos
TedH256
Expert
Expert

this http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=100341...

was I think quoted earlier by a respondent. It gives fairly clear guidelines:

ESX hosts store all files necessary for virtual machine operation in a VMware Virtual Machine File System (VMFS). Proper capacity management is critical because this file system is required for any operations related to a virtual machine. This document outlines potential issues related to a VMFS becoming full.

All VMFS (vmfs2, vmfs3, vmfs5) must retain a level of free space to ensure that the virtual machine functions properly. Ensure that these capacity thresholds are met:

  • 200 Megabyte Capacity: VMware suggests 200 MB as the threshold where ESX system administrators take action to resolve capacity issues. VMFS volumes vary widely in size and it is impossible to define a precise percentage, but the risk of unexpected problems become greater at this point.

  • 100 Megabyte Remaining: If left unchecked, a VMFS volume grows until only 100 MB of space remains, at which time issues may occur. 100 MB is defined as a critical threshold at which ESX system administrators must take immediate action to correct the issue because VMware VMFS stops growing at this point.

--

"I like flaws and feel more comfortable around people who have them. I myself am made entirely of flaws, stitched together with good intentions."

Augusten Burroughs

http://www.the-brights.net

http://xkcd.com/167

http://xkcd.com/836/

0 Kudos
SureshKumarMuth
Commander
Commander

I am not sure about the official document for this but each virtual machine has its own swap file which is going to be created when the VM is powered on which is equivalent to the size of the RAM allocated to VM and swap file is going to use the datastore space... so have atleast 10 -15% free space always to ensure smooth operations and again it depends on the number of virtual machines since all the VMs going to have its own swap file created. Since you have thick provisioned disk, do a calculation for memory overhead and take action accordinly. Hope this will help you. Cheers...

Regards,
Suresh
https://vconnectit.wordpress.com/
0 Kudos
Gotzu
Enthusiast
Enthusiast

On Any datastore there should be 13% free space always. Though this is may not be official but best practice.

Cheers!
Rajeev
0 Kudos