"The /dev/sda4 partition has insufficient free disk space" message during prechecks for upgrade to Aria Suite Lifecycle 8.14 higher
book
Article ID: 345982
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
Symptoms:
Upgrade pre-check for Aria Suite Lifecyle fails with:
The /dev/sda4 partition has insufficient free disk space, either remove files prior to upgrade or extend disk space to ensure more than 3.0 GB is available.
Environment
VMware Aria Suite Lifecycle 8.12.x or higher
Cause
The upgrade pre-check is performing by design to ensure the upgrade has sufficient space to install the required packages.
Resolution
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.
Note the date and timestamp will vary depending on when postgres backup was created
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