Select Page

VMware ESXi – Configure Logs to Persistent Storage

VMware ESXi – Configure Logs to Persistent Storage

Like me, many of us have found that we’re configuring ESXi hosts to boot from USB rather than physical hard drives. This allows for a cheaper and easier storage solution for the ESXi install, essentially eliminating all mechanical aspects of a physical server (except for the fans). Most hardware vendors offer this type of hardware as a “supported” version, however, I’ve used many different types of USB drives in lab hosts and they’ve all worked fine. I’ve actually installed ESXi from an external USB to the internal USB without issues.

Once ESXi is installed and you’ve connected it to vCenter, you’re likely to receive this error message regarding the log location.

Configuration Issues: System Logs on host <host name> are stored on non-persistent storage.

log config

As VMware states, if you do not store system logs permanently they will disappear after reboot. This means that you need to configure the ESXi host to save logs to a datastore, local or shared, for future review if the need arises. To easily fix this issue, follow the steps below:

1) Create a folder on desired datastore called “HostLogs

2)Under the Hosts & Clusters view, select the offending host within the vSphere web client.

3) Under the Manage tab, click Settings and select Advanced System Settings under the System group.

4) Scroll down under you find “” and modify by clicking the Edit button (looks like a pencil).

5) Change the directory path for the logs and click ok. Path should be in the following format: [datastore]/FolderName/FolderName.

6) Logs will now be written to the datastore and folder that has been configured and the warning message on the Summary tab of the host should now disappear.





About The Author

Bryan Krausen

Bryan Krausen is currently working as a Sr. Solutions Architect with experience in a vast number of platforms, specializing in AWS and HashiCorp tools.

Leave a reply

Your email address will not be published.