Free disk space field reports high disk usage in the System Health view on VMware Cloud Director Availability 4.x
book
Article ID: 315092
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
In the System Health view of the VMware Cloud Director Availability Provider Portal, the free disk space is low and displays a warning symbol in the Service status section.
Environment
VMware Cloud Director Availability 4.x
Cause
This issue can occur when the journalctl logs, /var/log/messages, and /var/log/auth.log files increase in size where they consume a large amount of the space on the root filesystem.
Resolution
To resolve this issue, blank out these files to reclaim the used space:
SSH to the impacted Cloud Director Availability appliance and log in as root.
Check the current disk space usage on the appliance:
df -h
Verify the messages and auth.log files are among the top files taking up space on the appliance:
cd / find -type f -exec du -Sh {} + | sort -rh | head -n 10
Blank out the messages and auth.log files to reclaim the used space:
echo > /var/log/messages echo > /var/log/auth.log
Verify that the disk usage has been sufficiently reduced.
If there is still not enough free space please run the following command to reduce the size of the journalctl logs:
journalctl -–vacuum-size=200M
In a browser, navigate to the System Health view to confirm the disk space warning is gone.