Creating an ESXi 5.1 Scratch Partition

Summary: How to setup an ESXi 5.1 Scratch Partition.
Date: Around 2013
Refactor: 21 February 2025: Checked links and formatting.

When using ESXi 5.1 while running from an usb drive a random datastore is selected by ESXi to store the host's logfiles. If you would detach this datastore the logfiles are lost, which is not really something you want. This article shows how to create a scratch partition and how to tell ESXi to use it. Note that you'll need a reboot and this is only necessary on ESXi hosts running without local storage.

The procedure for doing this is pretty straight forward:

More Information

On a medium to busy environment the amount of logging was about 2 GB after more than a year.