Attempting to update an appliance firmware via locally downloaded file returns the following error:
Not enough disk space available in /var to install image. Only xxxxM available, needs at least yyyyM bytes available. Delete any unused images or unneeded logs to free up space.
The disk does not have enough slack space in order to hold the compressed image, uncompress it, and perform the update, causing Exinda to throw this error message.
This article provides information on how to clean up
/var folder to successfully perform a Firmware Update.
Remove old diagnostic files and optionally, system snapshot files. These can be found on the appliance Web UI under Configuration > System > Diagnostics > Diagnostics Tab.
- Log in to the Exinda CLI using Putty or any other SSH client.
- Type in the following commands:
Note: If you're asked for a License key, that means you need to Activate the Restricted Commands License, open a Support Ticket and ask them to activate it.
Important: This will allow you to run Linux commands on the device, it is important that you are sure of what you are doing as this can damage your device's firmware.
- Execute the following command to list the biggest files in /var directory:
du -a /var | sort -rn | head -20
- Remove the reported files:
rm -rf /var/tmp/sysdump-Exinda-<System_name>-<timestamp>
or remove all the sysdumps:
rm -rf /var/tmp/sysdump*
Note: When using a restricted license, you can try removing the webui.img file from the directory
Verify the /var folder has enough disk space now by executing
df -h command.
- Install from Downloaded File
- Accept and Install Image
- Wait for the installation to complete
- Reboot the device when an orange "Reboot Required" message appears
- Once the Web UI loads, verify the update was applied successfully.