Symptoms
Failed to download upgrade components Current free space xxMB Minimum requires space 20480MB.
Root Cause
In order to run the upgrade, there is a need for at least 20G free on the /opt/zerto partition.
Old upgrades of ZVM didn’t delete unused images so on every upgrade the disk is filling up. This was fixed on 10_u2.
Resolution
For upgrades before 10_u2, there might be a disk space issue, so it’s recommended to clear up space before the upgrade (or in case the upgrade fails).
Solution
Note. Don’t run this script if all pods are not running. Ensure that the command "kubectl get pods" returns all pods as running.
IMPORTANT. SNAPSHOT YOUR ZVML PRIOR TO RUNNING THIS SCRIPT
- Download the attached script.
- Enable SSH on your ZVML machine.
- Copy the attached script file to your ZVML using a tool such as WinSCP.
- Make the script file executable (chmod +x clean_up_script_1.1.sh).
- Run the script to clean up your old images (./clean_up_script_1.1.sh).
- You can find the logs of what images have been deleted in: /var/log/zerto/containers/clean_up_trace/{date_of_your_execution}_deleted_images.log
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article