Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Virtualization / VMWare / System Logs on ESXi Host are Stored On Non-Persistent Storage

November 1, 2019 VMWare

System Logs on ESXi Host are Stored On Non-Persistent Storage

When you install VMware ESXi to an SD card or USB stick (or when using Boot from SAN), the yellow exclamation mark icon is displayed next to the host name in the vCenter client console, and the following warning appears on the Summary tab:

System logs on host ny-esxi21.woshub.com are stored on non-persistent storage.

warning: System logs on vmware esxi host are stored on non-persistent storage

The esx.problem.syslog.nonpersistent warning means that the system writes logs (scratch) to the non-persistent USB device and if you restart your host, they won’t be saved. Thus, in case of any host issues, you won’t be able to examine its logs or provide any data to VMWare technical support team. To remove the warning, you must change the log storage path to a local disk or a VMFS datastore (or configure a syslog server) in the ESXi host settings.

This guide refers to the new HTML5 vSphere 6.7 client. In previous vSphere versions it is configured in the same way, however, the names of options or sections may differ.
  1. Open the vSphere client and select your ESXi host with the warning in the Hosts & Clusters;
  2. Go to the Configure tab and click Advanced System Settings; Advanced System Settings in ESXi
  3. In the list of advanced settings, click Edit and type Syslog.global.logDir in the Filter field. As you can see, [] /scratch/log folder is used to store the ESXi logs; Syslog.global.logDir /scratch/log
  4. Change the path in the Syslog.global.logDir variable to [youtVMFSdatastorename] /systemlogs. set Syslog.global.logDir path to vmfs datastore
    You must create /systemlogs folder on the VMFS datastore in advance. Otherwise, you will get this error: A general system error occurred: Internal error. systemlogs folder on persistent vmfs datastore
  5. If the Syslog.global.logDir field is empty, check the value of the ScratchConfig.CurrentScratchLocation parameter. It shows the path to the scratch partition containing logs.

You can also change the log path using the PowerCLI command prompt:

get-vmhost ny-esxi21 | Get-AdvancedSetting -Name "Syslog.global.logDir" | Set-AdvancedSetting -Value "[HQVMFSDatastore1] /system_log_folder_name"

You can also change the value of Syslog.global.logDir using the Host Profiles. You can apply this profile to all ESXi hosts in your datacenter.

set Syslog.global.logDir via ESXi Host profiles

4 comments
3
Facebook Twitter Google + Pinterest
previous post
How to Measure Storage Performance and IOPS on Windows?
next post
How to Deploy Printers to Users/Groups/Computers with GPO?

Related Reading

How to Access VMFS Datastore from Linux, Windows,...

July 1, 2022

Updating VMware ESXi Host from the Command Line

May 11, 2022

How to Change or Disable Session Timeout in...

April 13, 2022

How to Upgrade VM Hardware Version in VMware...

March 4, 2022

VMware PowerCLI: How to Install and Manage vSphere...

February 28, 2022

4 comments

Arris July 14, 2020 - 7:18 am

When i configure this i get ‘A general system error occurred: Internal error’, so it is not working for me.
We use ESXi 6.7 with vCenter.
I tried:
[Vol1] /systemlogs
[Vol1]systemlogs
[Vol1] systemlogs
nothing is accepted and everything it will put back the original values.

Reply
Leonardo February 13, 2021 - 8:47 pm

me too

Reply
BP October 6, 2021 - 9:16 pm

same nothing is working

Reply
colin February 1, 2022 - 12:43 am

[MUHDATASTORE] /mah_logs/hostname_if_on_san

you have to put a space after the datastore name and the /. also, you have to put the datastorename in brackets [ ] .

i know the vmware kb is crap

Reply

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows 7
  • Windows Server 2019
  • Windows Server 2016
  • Windows Server 2012 R2
  • PowerShell
  • VMWare
  • Hyper-V
  • MS Office

Recent Posts

  • Using PowerShell Behind a Proxy Server

    July 1, 2022
  • How to Access VMFS Datastore from Linux, Windows, or ESXi?

    July 1, 2022
  • How to Deploy Windows 10 (11) with PXE Network Boot?

    June 27, 2022
  • Checking Windows Activation Status on Active Directory Computers

    June 27, 2022
  • Configuring Multiple VLAN Interfaces on Windows

    June 24, 2022
  • How to Disable or Enable USB Drives in Windows using Group Policy?

    June 24, 2022
  • Adding Domain Users to the Local Administrators Group in Windows

    June 23, 2022
  • Viewing a Remote User’s Desktop Session with Shadow Mode in Windows

    June 23, 2022
  • How to Create a Wi-Fi Hotspot on your Windows PC?

    June 23, 2022
  • Configuring SSH Public Key Authentication on Windows

    June 15, 2022

Follow us

woshub.com

ad

  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Adding Third-Party Drivers into VMWare ESXi 6.7 ISO Image
  • Windows Server Licensing for Virtual Environments
  • Invalid State of a Virtual Machine on VMWare ESXi
  • ESXi: Slow Disk Performance on HPE Gen8
  • Match Windows Disks to VMWare VMDK Files
  • Configuring USB Devices Passthrough from VMWare ESXi to a Virtual Machine
  • How to Install and Configure Free VMware Hypervisor (ESXi)?
Footer Logo

@2014 - 2018 - Windows OS Hub. All about operating systems for sysadmins


Back To Top