This article provides the safe procedure to reclaim /storage/log space consumed in Aria Operations.
df -h on Aria Operations node root ssh session shows /storage/log partition has reached above 95%When attempting to access the browser UI, the following message is displayed:
“vRealize Operations Manager is not available. You will be redirected when the service is available.”
Aria Operations 8.x
The appliance's native log rotation mechanism (e.g., logrotate) fails to compress or clear older logs, allowing them to grow indefinitely.
Specific services within Aria Operations (like Cassandra, Gemfire, or the casa service) enter an error loop, rapidly spamming logs (such as heap dumps or replay data) faster than the system can clear them.
When the partition fills up, active services maintain open file locks on the log files. Because the files are actively locked by running processes, simply expanding the VMDK or using standard rm commands will not release the storage blocks back to the file system. The truncate method is required to empty the files while respecting the active file locks.
It is generally inadvisable to delete log files from a running system, as it can cause issues with file permissions, missing directories, and other unfulfilled expectations of the services writing them. However, space can be reclaimed by marking the files as 0 bytes via the truncate command.
By combining truncate with the find command, you can ensure that only older log files are reduced in size to have their space reclaimed.
It is recommended to take a snapshot following Snapshot Creation in VMware Aria Operations(342576) before proceeding with the steps below.
root via SSH or Console, pressing ALT+F1 in a Console to log in.find /storage/log/ -mount -type f -mtime +1 -exec echo {} \; -exec truncate -cs 0 {} \; 2>&1 | tee /tmp/files_truncated.txt/storage/log/-mount-type f-mtime +1-exec echo {} \;-exec truncate -cs 0 {} \;2>&1 | tee /tmp/files_truncated.txt/tmp/files_truncated.txt-iname *log* to the find command between -mtime and -exec to limit the search to only log files. However, this omits other files from being truncated such as heap dumps and gemfire replay data that generally take up more space than the log files do, if they exist.df -i.Supplementary KB Context
KB 318019: Addresses a specific, known Photon OS bug where system logs (/var/log/warn, /var/log/auth.log, /var/log/messages) bypass log rotation and aggressively fill the disk. Used to identify if the OS itself (rather than an Aria service) is the culprit.
KB 318408: The master storage troubleshooting guide. It provides the overarching threshold rules (alerts trigger at >80%, critical failures at >95%) and dictates the post-cleanup procedures, such as restarting the cluster to ensure all nodes properly register the newly freed capacity.