An administrator is attempting to power on a virtual machine with 32GB of memory. The operation fails with the following error:
Could not power on VM: No space
left on device
Checking the space on the virtual machine-s datastore, there is 30GB free.
Which action would allow the VM to power on?
A. Set a 2GB memory reservation on the VM.
B. Mount the virtual disk from the affected VM on to another virtual machin
e and free up space from within the OS.
C. Enable vSphere HD admission control on the cluster in which the VM resides.
D. Set a 2GB memory limit on the VM.
Explanation:
The swap file size can be calculated with the formula (.vswp File =
Allocated Memory – Memory Reservation).
As per default, the reservation is set to 0, so the .vswp file size is equal to the amount of virtual memory.
Reference:
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId
=1007638