System logs on host are stored on non-persistent storage

When ESXi boots, the system tries to find a suitable partition on a local disk to create a scratch partition. If you install ESXi on SD/USB media you will see the below error.


When the location for system logs is not configured, your system uses the scratch partition by default. When you install ESXi using SD/USB media the scratch location is set to non-persistent storage, such as /tmp.

Scratch space can be manually configured for an ESXi host using the vSphere Client, vCLI or PowerCLI. Changing the configured scratch location requires a reboot of the ESXi host for the changes to take effect.

Configuring a persistent scratch location using the vSphere Client :

To configure persistent scratch space for ESXi using the vSphere Client:

  1. Connect to vCenter Server or the ESXi host using the vSphere Client.
  2. Click the ESXi host in the inventory.
  3. Under the Configuration tab, click Storage.
  4. Right-click a datastore and click Browse.
  5. Scratch1
  6. Create a uniquely-named directory for this ESXi host (for example, .locker-ESXHostname).
  7. Click Advanced Settings under Software.
  8. scratch3
  9. Select the ScratchConfig section.
  10. Change the ScratchConfig.ConfiguredScratchLocation configuration option, specifying the full path to the directory. For example: /vmfs/volumes/DatastoreUUID/.locker-ESXHostname
  11. scratch2
  12. Click OK.
  13. Put the ESXi host into maintenance mode and reboot for the configuration change to take effect.

You can find more information on below KB articles:


Tagged: ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: