The cleanup procedure has been simplified in the later versions of release 7.0 (build 48 and later) and in releases 8.0, 8.1, 9.0, 9.1, 9.2, 9.3, 10, 10.1, 10.5, and 11.0. You no longer have to manually delete build files from the flash drive. During the installation process, if the free space on the flash drive is found to be insufficient, the NetScaler prompts you to initiate the cleanup process.
When downgrading to release 7.0, the prompt looks like this:
Installation path for kernel will be /flash Size of kernel ns-7.0-21.7.gz is 58003.323 kilobytes Available space on /flash/ filesystem is 25075 kilobytes Available space on /flash/ filesystem is insufficient to install ns-7.0-21.7.gz Do you want Auto Cleanup [Y/N] ?
When upgrading to release 8.1, the prompt looks like this:
Installation path for kernel is /flash Size of kernel ns-8.1-32.2.gz is 61062.235 kilobytes Available space on /flash/ filesystem is 59108 kilobytes Available space on /flash/ filesystem is insufficient to install ns-8.1-32.2.gz Do you want installns to free space by archiving older releases? [Y/ N]
To initiate the cleanup process, press Y. Messages similar to the following appear:
Archiving older releases ... Creating the archive directory /var/nsbackup/ns_2007_2_16_1_6_26 ... Move //flash//ns-6.1-97.4.m.gz /var/nsbackup/ ns_2007_2_16_1_6_26ns-6.1-97.4.m.gz ... Move //flash//ns-8.1-32.2.gz /var/nsbackup/ns_2007_2_16_1_6_26ns-8.1-32.2.gz ... Archive operation completed, free space is 156452, required space is 61062.235
The installation process automatically continues after successful completion of the cleanup.