Advanced setting "ScratchConfig.ConfiguredScratchLocation" for persistent scratch location is reverted to the default value after ESXi 6.x host reboot
search cancel

Advanced setting "ScratchConfig.ConfiguredScratchLocation" for persistent scratch location is reverted to the default value after ESXi 6.x host reboot

book

Article ID: 328536

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Providing steps to avoid the persistent scratch location reverting after a reboot of an ESXi host.

Symptoms:
The advanced setting ScratchConfig.ConfiguredScratchLocation for persistent scratch location is reverted to the default value after ESXi 6.x host reboot.
 

Note: Scratch space is configured automatically during installation or first boot of an ESXi host, and is not required to be manually configured. During installation, ESXi creates a 4 GB FAT16 partition on the target device if there is sufficient space, and if the device is considered Local. A /scratch symlink is then created in the root directory which points to the 4 GB partition. The default value of ScratchConfig.CurrentScratchLocation is the partition that /scratch symlink points to.

For more information, see Creating a persistent scratch location for ESXi 4.x/5.x/6.x (1033696).

 



Cause

This is caused due to an Emulex driver creating a /scratch directory of its own.

Resolution

Install an Emulex iSCSI  driver version later than 11.2.x. The driver is available through the Customer Connect portal. 

For more information on the setting and creating a persistent scratch location, see ScratchConfig.CurrentScratchLocation is set to /scratch after upgrading to ESXi 6.x (2151209)


Workaround:
  • Downgrade the elxiscsi driver manually from the 11.2.x to 11.1.x
  • Disable the 11.2.x elxiscsi driver
  • Remove the 11.2.x elxiscsi driver 
  • Alternatively follow the steps provided in Configuring syslog on ESXi (2003322) and configure the advanced setting Syslog.global.logDir with a datastore in the format: [DatastoreName] DirectoryName

Note: Ensure every ESXi host has a uniquely named directory on the storage.


Additional Information

To be alerted when this document is updated, click the Subscribe to Article link in the Actions box in the Action box.
ESXi 6.5 U1 主机重新引导后,持久暂存位置的高级设置“ScratchConfig.ConfiguredScratchLocation”恢复为默认值
ESXi 6.x ホストを再起動すると、永続的スクラッチの場所に対する詳細設定「ScratchConfig.ConfiguredScratchLocation」がデフォルト値に戻る