For the ADC SDX single bundle upgrade to succeed, disk space used as reported by XenServer/Dom0 filesystem should be equal to or lower than 72%.
Before upgrading the SDX appliance, check the available space on XenServer and Dom0 partition. Run the df / command to check the amount of disk space used (Use%). If the disk space does not meet the requirement, don’t proceed with the upgrade until you’ve cleared the disk space. See the “How to clear disk space” section in this article about the steps to clear disk space.
Note that even if the system has the required disk space, sometimes the single bundle upgrade might fail, and after the failure disk space used is erroneously reported as 100%. See the “Recovery after a single bundle upgrade failure and when Dom0 shows 100%” section in this article for the solution.
In the example below, disk space used by XenServer filesystem is reported as 75%. Amount of space used by logs in /var/log directory is reported over 400 Mb. This will cause the single bundle upgrade to fail.
[root@netscaler-sdx ~]# df / Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 4128448 2927040 991696 75% / [root@netscaler-sdx ~]# [root@netscaler-sdx ~]# [root@netscaler-sdx ~]# cd /var/log/ [root@netscaler-sdx log]# du . -sh 483M .
[root@netscaler-sdx]# df / Filesystem 1K-blocks Used Available Use% Mounted on /dev/md_d0p2 4128448 2821304 1097432 72% / cd /var/log [root@netscaler-sdx log]# df / Filesystem 1K-blocks Used Available Use% Mounted on /dev/md_d0p2 4128448 2821304 1097432 72% / [root@netscaler-sdx ~]# cd /var/log/ [root@netscaler-sdx log]# du . -sh 215M
Run the df / command to check and see if available disk space Use% reported is 100%, if yes, reboot the SDX appliance first to bring the disk Use% percentage back to normal. Wait for reboot to complete, now run the df / command to check the disk space used.
Run the following command on XenServer / Dom0 console to cap the log rotate to 175 Mb instead of 500 Mb
sed -i.bak 's/500/175/' /opt/xensource/bin/delete_old_logs_by_space
Wait for a minute for log rotate to run and do the necessary clean up to reduce the accumulated logs to around 175 Mb.
Run the df / command and verify that the XenServer / Dom0 available disk space Use% reported is less than 72% for the upgrade to succeed.