To resolve the issue follow the steps:
- Take a snapshot of the Aria Suite Lifecycle appliance
- To identify large files in the root directory:
find / -xdev -type f -size +100M -exec du -sh {} ';' | sort -rh | head -n50
Size variable +100M can be altered to flag files over a specific size, for example to flag files greater than 50MB it would be +50M
- The following files are safe to delete: DO NOT DELETE ANY FILES OTHER THAN THOSE LISTED BELOW AS SAFE TO DELETE.
package pool directory contents:
rm -rf /opt/vmware/var/lib/vami/update/data/package-pool/package-pool/*.*
blackstone backup files:
rm -r /opt/vmware/vlcm/blackstone_bkp
postgres backups:
rm -r /opt/vmware/vlcm/postgresbackups/data-backup-2023-10-16-08:06:00.backup
Note:The timestamp in the filename will vary depending on when the postgres backup was created. To view the backups and associated timestamps, use:
ls -l /opt/vmware/vlcm/postgresbackups/
If removing the above files does not free enough disk space you can also remove journal entries under /var/log/journal/
folder. Instead of deleting it's also possible to use journalctl
command to reduce the maximum size of the journal files if the total size of the journal exceeds the size specified, the oldest journal files will be deleted automatically.
journalctl --vacuum-size=XM --rotate
Note: Replace X with maximum value in MB.e.g.: 500M
Note: If you are not sure about which file to remove to free up space, please contact VMware support