vRealize Lifecycle Manager (vRLCM) upgrade fails because /tmp fills up when downloading
search cancel

vRealize Lifecycle Manager (vRLCM) upgrade fails because /tmp fills up when downloading

book

Article ID: 345990

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

How to temporarily increase the size of the /tmp directory.

(After rebooting the system, /tmp folder will go back to its default size).


Symptoms:

When attempting to upgrade vRealize Lifecycle Manager (vRLCM), it stops downloading because the /tmp directory is full. 


Environment

VMware vRealize Suite Lifecycle Manager 8.x

Cause

The /tmp directory fills up because while downloading the upgrade the size of the upgrade files exceeds the space available in /tmp directory.

Resolution

We have a workaround for this.


Workaround:
Below are the workaround steps: 

1. SSH to the vRSLCM Appliance.
2. Login using the root credentials.
3. Using df -h /tmp command, determine if /tmp folder is 100% full.

image.png

4. It is time to remount the /tmp directory with a new, larger size. For this example, we will give the /tmp directory 20 GBs of space to work with. This size limit should be more than enough. However, feel free to change it to suit your needs. : mount -o remount,size=20G /tmp/

image.png

5. With the /tmp directory dismounted and remounted with a new, larger size, the /tmp directory should no longer be filled up. Execute df -h /tmp to confirm.

image.png
 

Note : Once the upgrade is completed and vRSLCM Appliance is re-started, SSH to the vRSLCM again and check the amount of disk space that is free on /tmp : df -h /tmp
The /tmp file system will be back to its default size.

Additional Information

Impact/Risks:

The download process of upgrade packages stops and the upgrade fails.