"The /dev/sda4 partition has insufficient free disk space" message during prechecks for upgrade to Aria Suite Lifecycle 8.14 higher
search cancel

"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.

 

vrlcmjpegkb.jpg


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:

 

  1. Take a snapshot of the Aria Suite Lifecycle appliance
  2. 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
  1. 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:
 

/opt/vmware/vlcm/blackstone_bkp

Postgres backups:
 

/opt/vmware/vlcm/postgresbackups/data-backup-2023-10-16-08:06:00.backup


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

 

Additional Information

Impact/Risks:
  • Upgrades to 8.14 & 8.16 will fail.