Virtual machines do not power on after you complete the clone or deploy from template workflow in the vSphere Web Client.
When you clone a virtual machine or deploy a virtual machine from a template, you might not be able to power on the virtual machine after creation.
The swap file size is not reserved when the virtual machine disks are created.
- Reduce the size of the swap file that is required for the virtual machine. You can do this by increasing the virtual machine memory reservation.
- Right-click the virtual machine and select Edit Settings.
- Select Virtual Hardware and click Memory.
- Use the Reservation dropdown menu to increase the amount of memory allocated to the virtual machine.
- Click OK.
- Alternatively, you can increase the amount of space available for the swap file by moving other virtual machine disks off of the datastore that is being used for the swap file.
- Browse to the datastore in the vSphere Web Client object navigator.
- Select the Related Objects tab and click the Virtual Machines tab.
- For each virtual machine to move, right-click the virtual machine and select Migrate.
- Select Change storage only.
- Proceed through the Migrate Virtual Machine wizard.
- You can also increase the amount of space available for the swap file by changing the swap file location to a datastore with adequate space.
- Browse to the host in the vSphere Web Client object navigator.
- Select the Manage tab and click Settings.
- Under Virtual Machines, select Swap file location.
- Click Edit.
If the host is part of a cluster that specifies that the virtual machine swap files are stored in the same directory as the virtual machine, you cannot click Edit. You must use the Cluster Settings dialog box to change the swap file location policy for the cluster.
- Select Use a specific datastore and select a datastore from the list.
- Click OK.