File [Datastore_Name] VM_Directory/VM_Name.vmdk is larger than the maximum size supported by datastore 'Datastore_Name'
# vim-cmd hostsvc/datastore/info DataStore_Name
(vim.host.NasDatastoreInfo) {
name = "DataStore_Name",
url = "/vmfs/volumes/DataStore_UUID",
freeSpace = 39515759050752,
maxFileSize = 2199023255552,
maxVirtualDiskCapacity = 2199023255040
DataStore_Name is the name of the datastore in question, and the DataStore_UUID reflect the UUID of the same datastore.
The fix for the issue is included in vSphere 8.0.1 and later
Restarting hostd and vpxa service on all ESXi hosts attached to the datastore would resolve the issue temporarily, which can be performed by following the steps below:
1. Login to the ESXi host via SSH.
2. Check hostd and vpxa status by using the command
/etc/init.d/hostd status
/etc/init.d/vpxa status
3. Restart hostd and vpxa service by using the command
/etc/init.d/hostd restart
/etc/init.d/vpxa restart
Restarting the hostd service doesn't affect the running VMs on the host, however it will cause disruption in the connection between the host and the vCenter while the service is restarting.