While upgrading Aria Operations for Logs, receiving error “Failed to upgrade: Not enough disk space” on /tmp partition.
search cancel

While upgrading Aria Operations for Logs, receiving error “Failed to upgrade: Not enough disk space” on /tmp partition.

book

Article ID: 375399

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • While upgrading the Aria Operations for Logs, it fails with an error: “Failed to upgrade: Not enough disk space in the /tmp” directory.
  • You also notice an error in the UI “Available disk space at /tmp is less than the required disk space”.

 

  • When you run df -h on the Aria Operations for Logs VMs, you may see sufficient free space on the /tmp partition; however, the upgrade may still fail.

 

Environment

VMware Aria Operations for logs 8.x

Cause

This issue occurs when /tmp is defined as a “ram drive” and Aria Operations for Logs VMs are experiencing insufficient virtual memory issues.

Resolution

Follow either of the steps which are mentioned below:

Option 1:  Clear Temporary Files:

Remove unnecessary files from /tmp using the below command:

rm -rf /tmp/*  
        

Option 2: Increase /tmp Size:

Use the below mount command to increase size:

mount -o remount,size=3G /tmp

Note: Adjust the size as needed, for example: If the error message indicates that 1 GB of disk space is required and you currently have 2 GB on the /tmp partition, increase the size of /tmp to a total of 3 GB by running the above command.