In Global or Local Manager appliance syslog /var/log/syslog, we can see entries similar to the below:
2022-09-11T05:01:37.786Z NSX 17871 MONITORING [nsx@6876 alarmId="d30a7034-efcc-43bc-9684-15c4ea82829c" alarmState="OPEN" comp="global-manager" entId="00000000-0000-0009-0000-000000000010" eventFeatureName="manager_health" eventSev="MEDIUM" eventState="On" eventType="manager_disk_usage_high" level="WARNING" nodeId="bcf43e42-22e5-443c-5f52-23b5259f4b98" subcomp="monitoring"] The disk usage for the Manager node disk partition / has reached 80% which is at or above the high threshold value of 80%.
To find the directories which are consuming the most space in the /opt/vmware partition, in our case as below we can see it is /opt/vmware/nsx-jar-repository
Auto Check-In: Check-In Time: Check-Out Time: Template File:
▶
Environment
VMware NSX-T Data Center
Cause
Before VMware NSX-T Data Center 3.2.3, the disk space usage of the "/" partition is by default close to the 80% threshold.
Resolution
This issue is resolved from VMware NSX-T Data Center 3.2.3 and VMware NSX 4.1.0.
Workaround:
Before proceeding with workaround steps, ensure a backup has been taken and the backup passphrase is known.
Deleting files from the filesystem is a non-reversible action, if performed on a system where this procedure is not intended then it may be necessary to restore from backup to reverse the change.
For Managers (non-Federated):
Note: The deletion of the *.jar files is safe on non-Federated Local Managers.
Log as root on the NSX Manager VM.
Free up space by deleting the jar files using the command:rm -f /opt/vmware/nsx-jar-repository/jars/*.jar.
Repeat from step 1. on each local NSX Manager VMs.
For Global Managers (Federation):
Note: In Federation environments, the Global Manager appliance directory /nonconfig does not have a mapping to a partition and therefore uses the root partition.
Delete .jar files under /opt/vmware/nsx-jar-repository/jars/ from each Global Manager node. Log in as root and run: rm -f /opt/vmware/nsx-jar-repository/jars/*.jar
Then, on each Global Manager, run the following commands: