VMWare ESXi 3.5 “Could not power on VM: No space left on device”

virtualizationvmware-esxi

We have several VMWare ESXi boxes, and on some we get this message when trying to power on virtuals:

"Could not power on VM: No space left on device
Failed to power on VM"

The Datastore is 67G, we have two 25G virtuals and 16G free.
the other datastores, also have ~10…20G free

any idea how VMWare handles disk space?

Best Answer

How much memory does the VM you're trying to power on have?

ESX needs to create a swap file the same size of the VM's allocated memory when it's powered on; this swap file is usually create on the same datastore the VM resides in (but this behaviour can be changed).

So, if f.e. the VM has 4 GB virtual RAM, you'll need 4 GB free on the same datastore where the VM is.

If ESX is configured to create the swap file somewhere else, you'll of course need that much space there.