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.

a

Right-click the virtual machine and select Edit Settings.

b

Select Virtual Hardware and click Memory.

c

Use the Reservation dropdown menu to increase the amount of memory allocated to the virtual machine.

d

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.

a

Browse to the datastore in the vSphere Web Client object navigator.

b

Select the Related Objects tab and click the Virtual Machines tab.

c

For each virtual machine to move, right-click the virtual machine and select Migrate.

d

Select Change storage only.

e

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.

a

Browse to the host in the vSphere Web Client object navigator.

b

Select the Manage tab and click Settings.

c

Under Virtual Machines, select Swap file location.

d

Click Edit.

Note

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.

e

Select Use a specific datastore and select a datastore from the list.

f

Click OK.