VMware Cloud Community
DarkSider
Contributor
Contributor

Add snapshot option "workingDir" via the ESXi WebConfigurationInterface fails.

Hi,

due to our storage layout it is advantageous for us to have the snapshots created on HDDs and not SSDs. Mainly Snapshots are created during Backup Hours or Upgrades so the performance impact is acceptable. I also decided to move the swap file of some VMs to da dedicated location.

VMWare lists the following options for the vmx config file:

workingDir = "/vmfs/volumes/587939d7-a30f66a9-23a1-ecf4bbe1a868/snapshots/srv"

snapshot.redoNotWithParent = "true"

sched.swap.dir = "/vmfs/volumes/587939d7-a30f66a9-23a1-ecf4bbe1a868/swapdir/srv"

The host is running ESXi 6.5 with the latest 20180502001-standard bundle. When I clicked around the VM-Options on the ESXi Webinterface I found that neat and handy config file editor where you can edit and add vmx options.

I had no troubles adding those two lines:

snapshot.redoNotWithParent = "true"

sched.swap.dir = "/vmfs/volumes/587939d7-a30f66a9-23a1-ecf4bbe1a868/swapdir/srv"

however the

workingDir = "/vmfs/volumes/587939d7-a30f66a9-23a1-ecf4bbe1a868/snapshots/srv"

line won't get saved or persist after applying the change.

When I edit the vmx file via ssh and vi I can add the workingDir (reregister the vmx) but it still won't show in the ESXi Webinterface (however the option is persistent in the vmx file saved)

Is there a reason why this specific configuration option has to be done using a manual vmx edit? Editing and reregistering is not too complicated but opening ssh etc. are just a couple of more steps instead of just punching the parameters in the webui Smiley Happy

regards,

Fabian

Reply
0 Kudos
0 Replies