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:
Comments