Troubleshooting ESXi datastore or VMFS volume that is full or near capacity
search cancel

Troubleshooting ESXi datastore or VMFS volume that is full or near capacity

book

Article ID: 318856

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Capacity Guidelines

ESXi hosts store all files necessary for virtual machine operation in a VMware Virtual Machine File System (VMFS). Proper capacity management is critical as this file system is required for any operations related to virtual machines.

This document outlines potential issues related to a VMFS file system becoming full.

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

200 Megabyte Capacity VMware suggests 200 MB as the threshold where ESXi system administrators should 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 becomes greater at this capacity.
100 Megabyte Remaining 100 MB is defined as a critical threshold at which ESXi system administrators must take immediate action to correct the issue.


For more information, see Increase VMFS Datastore Capacity, and Unable to grow or expand a VMFS volume or datastore.

Potential Issues

This is a list of some potential issues that may affect virtual machines residing on a VMFS that is full:

Virtual machine startup failure ESXi hosts are able to provide more RAM space than is available in the total physical RAM installed in the server. This is termed overcommitment. ESXi hosts create a .vswp files for any virtual machine that has allocated memory greater than the physical RAM that is available to the virtual machine. The <VMName>.vswp file is created when the virtual machine is started. Without sufficient space, this file cannot be created, and the virtual machine is unable to start.

VMotion failures ESXi hosts that are in a cluster that have VMware HA/DRS enabled may encounter failures when VMotion attempts to move a virtual machine from one host to another. It is possible for this failure to occur when it may not be immediately identified as a failure because VMware DRS can be configured to VMotion virtual machines without interaction from an administrator.
Snapshot creation/commit When a snapshot is taken or committed to the virtual machine, data is written to the VMFS file system. If the file system is unable to accommodate the additional data, the snapshot does not grow, does not get written, or is not committed.
Poor performance

File copy, ls commands and a variety of Linux-level functions perform poorly when the VMFS file system is full. Though less likely to affect virtual machine availability, these issues impact ESXi system administrators and must be resolved.

Note: Journaling filesystems (like VMFS) are generally capable of maintaining proper performance when at nearly full capacity. However, the probability of performance problems is greatly increased when the filesystem becomes 100% full.

Unpredictability It is difficult to predict precisely how a full filesystem may create issues because VMFS is a core element of the ESXi host. To ensure more efficient troubleshooting and system operation, keep VMFS below the thresholds defined above.
 

Note: This is not a comprehensive list of all possible issues, but it identifies important issues that have been reported in past instances of a full VMFS file system.

Environment

VMware vSphere ESXi 6.5.x
VMware vSphere ESXi 6.7.x
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
VMware vSphere ESXi 9.x

Resolution

What to do about a full VMware VMFS file system

When a VMFS is full, there are several courses of action:

  • Increase capacity: A VMFS file system may be stored on an external storage array. Depending on the features of the storage array, it may be possible to extend the external storage.
  • Storage vMotion virtual machines to other storage: If you cannot increase the storage available on the existing VMware VMFS datastore, but another datastore disk is accessible, it is possible to move virtual machines to the other datastore.
For more information on moving virtual machines, see Moving or copying a virtual machine within a VMware environment (1000936).
  • Add additional datastores: ESXi hosts are able to maintain up to 1024 datastores. If there is no existing free space where the virtual machine can be stored, additional storage may be added. 
     
  • Remove old snapshots: It is possible that additional space can be reclaimed by either committing or removing snapshots because old snapshots. 
  • Clean up VMware VMFS: VMware strongly recommends that any files be backed up prior to being deleted from a VMFS datastore. Note: If the datastore is thin-provisioned, deleting files may not increase free space, as space reclamation on the array may not function when space usage is above a certain threshold.

Additional Information