Change the VM snapshot location

Sometimes we may need to take snapshot of the vm but we don’t have enough space in our datastore.In that case we can change the snapshot directory by editing vmx file.


Im going to change the snapshot location of vm challenge-01a. Therefore I need to login to one esxi host(ssh) and browse to the directory(vm)


Open vmx file using vi editor


Im going to use RegionA01-ISCSI02-COMP01 datastore to keep snapshots of this vm. We can copy that path using another ssh session to the same /different host


We need to add two parameters.

  1. Workingdir(we need to paste that copied path to here)
  2. Snapshot.redoNotWithParent(This should be true)


Now we have to re-register this vm.

We have created one snapshot after adding this vm to host. We can check that new delta files(snapshots) are stored in the new path.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.