VMware Warning: System logs are stored on non-persistent storage

If you have ever installed VMware’s ESXi OS on a USB storage drive or SD card, you may have seen the following warning: System logs are stored on non-persistent storage

Warning: System logs are stored on non-persistent storage

In order to rectify this issue, you simply need to change the global syslog location in the advanced system settings and the warning will disappear.  The steps below outline how to do this from the vCenter vSphere HTML5 interface, though similar steps are taken from the ESXi web UI.

  1. On the host with the warning, go to the Datastores tab and select a datastore for the log files
  2. Right-click that datastore and select Browse Files
  3. Select New Folder in the datastore browser
  4. Name the folder something recognizable, like “logs”.  Then click OK and confirm the folder shows in the datastore browser
  5. Head over to the Configure tab on that host, then go to Advanced System Settings and click Edit
  6. On the Edit Advanced System Settings window, filter for Syslog.global.logDir and you should be presented with the settings in the screenshot
  7. Modify the value of Syslog.global.logDir with this format: [DatastoreName] /logFolder.  The log directory I chose is [ESXI01-VMDS01] /logs.  Make sure to include a space between the “]” and “/”.  Once updated, click OK

When you return to the Summary tab, you’ll see that the System Logs warning on this host is no longer present!  No rinse and repeat for any host that is still showing this warning.  If you are using shared storage, such as a SAN, NAS, or dHCI solution, this method still applies.  My only suggestion would be to create a log directory for each host so that multiple hosts don’t use the same directory.

The warning for system logs has cleared

The link to the official VMware KB article for this warning is here: https://kb.vmware.com/s/article/2032823

If you also see the warnings in the screenshot above, you should read how to disable SSH warnings and fixing coredump target warnings!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.