Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • 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 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

February 28, 2022 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
4
Facebook Twitter Google + Pinterest
previous post
How to Measure Storage Performance and IOPS on Windows?
next post
Managing Windows 10 Start Menu Layout and Taskbar Pin Apps With GPO

Related Reading

Reset Root Password in VMware ESXi

October 12, 2023

How to Fix ‘An Operating System Wasn’t Found’...

July 14, 2023

Unmounting an NFS Datastore from VMware ESXi

April 21, 2023

How to Increase Virtual Machine Disk Size in...

April 6, 2023

How to Install Free VMware Hypervisor (ESXi)

January 24, 2023

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 Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • How to Connect VPN Before Windows Logon

    November 14, 2023
  • Removing Azure Arc Setup Feature on Windows Server 2022

    November 9, 2023
  • Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

    November 7, 2023
  • Send Emails with Microsoft Graph API and PowerShell

    November 6, 2023
  • Zabbix: How to Get Data from PowerShell Scripts

    October 27, 2023
  • Tracking Printer Usage with Windows Event Viewer Logs

    October 19, 2023
  • PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

    October 15, 2023
  • Reset Root Password in VMware ESXi

    October 12, 2023
  • How to Query and Change Teams User Presence Status with PowerShell

    October 8, 2023
  • How to Increase Size of Disk Partition in Ubuntu

    October 5, 2023

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • ESXi: Slow Disk Performance on HPE Gen8
  • Windows Server Licensing for Virtual Environments
  • Invalid State of a Virtual Machine on VMWare ESXi
  • Match Windows Disks to VMWare VMDK Files
  • Configuring USB Devices Passthrough from VMWare ESXi to a Virtual Machine
  • Selecting the Number of vCPUs and Cores for a Virtual Machine
  • How to Enable and Configure SNMP on VMWare ESXi Host?
Footer Logo

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


Back To Top