top of page

Changing the Scratch Config partition on an ESXi host fails with the error

The purpose of this blog for today is to fix the Scratch Config partition on an ESXi host that fails with the error: a specified parameter was incorrect.


Symptoms

  • Changing the Scratch Config partition via the vSphere Client or GUI (by navigating to ESXi host > Configuration > Software > Advanced Settings > Scratch Config) fails ( Error: a specified parameter was not correct )

Steps:

- Login as a root to ESXi via SSH

- Run this command "vim-cmd hostsvc/advopt/view ScratchConfig.ConfiguredScratchLocation" To check the current value of the ScratchConfig.ConfiguredScratchLocation

- Now change the ScratchConfig.ConfiguredScratchLocation configuration option, specifying the full path to the directory

- Run this command "vim-cmd hostsvc/advopt/update ScratchConfig.ConfiguredScratchLocation string /vmfs/volumes/DatastoreName/DirectoryName"

- After that run this command "vim-cmd hostsvc/advopt/view ScratchConfig.ConfiguredScratchLocation" To check the current value of the ScratchConfig.ConfiguredScratchLocation

- Reboot the ESXi and we are all done.


VMware KB Reference:

Recent Posts

See All

Can't delete vApp and VM

Error: [ bfe374cf-fd73-4076-86da-e842ba50b13a ] No row with the given identifier exists: [com.vmware.vcloud.common.model.logicalresource....

Comments


bottom of page