Thursday, May 5, 2011

Committing snapshots from within the Service Console

Find the path to the VMX file of the virtual machine

# vmware-cmd -l


Determine if the virtual machine has snapshots:

# vmware-cmd /vmfs/volumes/volume-UUID-or-name/vm1/vm1.vmx hassnapshot

The output will look like one of the following:
hassnapshot() =


hassnapshot() = 1

Remove (or commit) the snapshot by running the following command:

# vmware-cmd /vmfs/volumes/volume-UUID-or-name/vm1/vm1.vmx removesnapshots
removesnapshots() = 1

No comments: