top of page

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

  • sicnarflatosa
  • Nov 7, 2022
  • 1 min read

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

ree

- 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

ree

- Reboot the ESXi and we are all done.


VMware KB Reference:

 
 
 

Comments


©2022 by FLATOSA. Proudly created with Wix.com

bottom of page