Wednesday, November 9, 2016

Changing the location of snapshot delta files for virtual machines in ESXi 5.x

o configure the snapshot delta files to be kept in the same directory as the location specified in the workingDir parameter, add the new parameter snapshot.redoNotWithParent to the virtual machine configuration file(.vmx).

To set the snapshot.redoNotWithParent parameter:

  1. Power off the virtual machine and to commit any existing snapshots
  2. Right-click the virtual machine and click Edit Settings.
  3. Click the Options tab.
  4. In the Advanced Options, click General.
  5. Click Configuration Parameters.
  6. Click Add Row.
  7. In the Name field, type snapshot.redoNotWithParent.
  8. In the Value field, type true.
  9. Click OK to save the configuration parameters.
  10. Click OK to save the virtual machine settings.
  11. Power on the virtual machine. 

Important details to keep in mind when working with virtual machine snapshots and Storage vMotion in vSphere 5.x:
  • If you have a virtual machine running on snapshots and you move a virtual disk from one datastore to another, its associated snapshot files are moved with the virtual disk to the new datastore (even if they were initially created in the working directory). Newly created snapshots are created in the working directory again(as per the advanced setting).
  • If you move virtual machine configuration files to another datastore, the related snapshot files do not move. They remain on the original datastore.


No comments:

Post a Comment

Thanks for showing interest in tech-jockey.

Content of this blog has been moved to GITHUB

Looking at current trends and to make my content more reachable to people, I am moving all the content of my blog https://tech-jockey.blogsp...