1 Use the vSphere Client to connect to the host.
2 Select the host in the Inventory.
3 In the
Configuration tab, select Software > Advanced Settings > ScratchConfig.
The field
ScratchConfig.CurrentScratchLocation shows the current location of the scratch partition.
4 In the field
ScratchConfig.ConfiguredScratchLocation, enter a directory path that is unique for this host.
5 Reboot the host for the changes to take effect.
Note:-
Here are two examples where scratch space may not be automatically defined on persistent storage. In each case, the temporary scratch location will be configured on a ramdisk.
- ESXi deployed on a Flash or SD device, including a USB key. Scratch partitions are not created on Flash or SD storage devices even if connected during install, due to the potentially limited read/write cycles available.
- ESXi deployed in a Boot from SAN configuration or to a SAS device. A Boot from SAN or SAS LUN is considered Remote, and could potentially be shared among multiple ESXi hosts. Remote devices are not used for scratch to avoid collisions between multiple ESXi hosts.
Refer the below KB:-
http://kb.vmware.com/kb/1033696
Thanks & Regards
Dharshan S
VCP 4.0,VTSP 5.0, VCP 5.0