Error: The ramdisk 'vsantraces' or 'vsantraceFailover' is full on ESXi
search cancel

Error: The ramdisk 'vsantraces' or 'vsantraceFailover' is full on ESXi

book

Article ID: 326990

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

vSAN diagnostic traces store on a ramdisk by default. If a persistent scratch location is not configured, these traces exhaust the 300MB ramdisk capacity, leading to logging failures and monitoring alarms.

Symptoms:

  • The vsantraceFailover partition or vsantraces partition is 100% full.
  • vSAN diagnostic logging stops, resulting in loss of historical troubleshooting data.
  • Logging in to the vSAN host through Log Insight or through the vSphere Web Client fails.
  • vSphere Client: vSAN Virtual Objects fails to load with error "The request is rejected due to many pending requests."
  • vSphere Client: vSAN Health / Healthcheck Error: "Unable to query vSAN Health information."
  • Aria Operations: Error/Alarm: "ESXi: RAM disk / inode table is full."
  • vmkwarning.log (ESXi 9.1+) shows: WARNING: visorfs: Cannot extend visorfs file /vsantraces/vsantracesLSOM--####.zst because its ramdisk (vsantraceFailover) is full.
  • vdf -h shows the /vsantraces partition at 100% utilization.

Environment

  • VMware vSAN 8.x, 9.x
  • VMware ESXi 8.x, 9.x
  • VMware Cloud Foundation (VCF) 9.x

Cause

The default vSAN trace configuration writes to a ramdisk partition. In ESXi 9.x, this is the vsantraceFailover partition. When a persistent scratch location is not defined on the ESXi host, these traces accumulate until they exhaust the limited 300MB capacity.

Resolution

Follow one of these options to resolve the issue. For known defects, subscribe to this article (Subscribe to a Broadcom knowledge article) to receive updates on fix status.

Option A: Limit vSAN trace size on local ramdisk If additional storage is not available, run these commands via SSH on all vSAN hosts to limit trace size:

  1. For ESXi/vSAN 8.x and higher: esxcli vsan trace set --urgentnumfiles=4 --urgentsize=8 --numfiles=10 --size=8
  2. For ESXi/vSAN 7.x: esxcli vsan trace set --urgentnumfiles=10 --urgentsize=10 --numfiles=10 --size=10

Option B: Redirect traces to a persistent scratch location

  1. Create a host-specific folder on a valid VMFS datastore following documentation for Creating a persistent scratch location.
  2. Redirect traces by running: mkdir /vmfs/volumes/####/scratch/####/vsantraces/ Followed by: esxcli vsan trace set -f 10 -s 60 -p /vmfs/volumes/####/scratch/####/vsantraces/

Option C: Free up space immediately

  1. Navigate to the traces directory: cd /vsantraces
  2. Delete old trace files to restore logging: rm vsantraces*20####*.zst

Additional Information