Use this when VMFS datastores are full, locked or inaccessible.
VMFS · VMware Storage
VMFS is VMware's clustered file system for block storage. It lets many ESXi hosts share the same LUN as a datastore, using locking so each VM's files are opened by only one host.
1. VMFS6: clustered filesystem with ATS locking and auto UNMAP.
2. One VMFS per LUN.
3. Upgrade by creating new VMFS6 and Storage vMotion.
4. Avoid extents spanning LUNs.
5. Check path health.
VMDK → VMFS6 → LUN
Context & applicabilityCommon mistakes · platform/version boundaries
- Extents spanning several LUNs — losing one extent can take the whole datastore down.
- Datastores mounted on some hosts only.
- Running out of space because swap files (
.vswp) equal to VM memory were not planned. - Deleting LUNs on the array before unmounting and detaching in ESXi (APD/PDL events).
Operational reference
Fast context before you go deeper.
esxcli storage vmfs extent listVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
esxcli storage vmfs extent list
esxcli storage filesystem list
vmkfstools -Ph -v10 /vmfs/volumes/datastore1
VMFS 6 supports automatic UNMAP (space reclamation) and 4K-native devices. Lock problems ("Failed to lock the file") usually mean another host or a backup proxy still holds the VMDK open. Keep datastores below about 80 % used, leaving room for snapshots and swap files.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- VMFS is a clustered file system for shared LUNs.
- Locks ensure one host opens a VM's files.
- Grow VMFS by expanding the LUN, then the datastore.
esxcli storage vmfs extent list— VMFS and devicesvmkfstools -Ph /vmfs/volumes/<ds>— version/capacityesxcli storage vmfs reclaim config get -l <ds>— UNMAP settings
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
VMFS 6 basics for operations:
esxcli storage vmfs extent list # datastore → device
esxcli storage vmfs unmap -l datastore1 # manual reclaim (VMFS 5)
esxcli storage vmfs reclaim config get -l datastore1 # automatic reclaim settings (VMFS 6)
vmkfstools --growfs /vmfs/devices/disks/naa.xxx:1 /vmfs/devices/disks/naa.xxx:1
Grow a datastore by expanding its LUN on the array, rescanning and increasing the datastore in vCenter — avoid adding extents from other LUNs, because losing any extent takes the whole datastore offline.
VMFS facts
| Item | VMFS 6 |
|---|---|
| Max datastore | 64 TB |
| Block size | 1 MB |
| Automatic space reclamation | Yes (UNMAP) |
| 4Kn / 512e drives | Supported |
| Max VMDK | 62 TB |
Upgrading VMFS 5 to 6 requires creating a new datastore and Storage vMotion.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Hypervisor Storage → VMware Storage → VMFS. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://pve.proxmox.com/pve-docs/chapter-pvesm.html · confidence 94%