This document describes how to overcome low space for IOx on IR800-platforms where only 704mb seems to be available for application deployment.
On most IR800-series device: IR809 and IR829, out of the box, only 704mb seems to be available in order to deploy IOx applications and containers. While the flash size allows for up to 1.7gb of space.
The issue has a historical origin as the first versions of IOx on the IR800-platform were designed with this constraint. Later, the constraint was removed but in order to make the space available for use, it involves repartitioning and would remove data, this action did not take place automatically at the time of upgrades.
In order to check if your device has this constraint, use these steps:
For devices running a newer release like 15.9(3)M, SSH access is disabled by default and needs to be enabled before following the steps below.
If the size here is 704mb, know that you have hit the known issue.
In order to fix this, you can reformat the flash and make use of the full capacity as follows:
Ensure that you have the bundle install that attaches the installed version of IOS® on your device:
IR829KJK#sh ver | i image
System image file is "flash:/ir800-universalk9-mz.SPA.157-3.M1"
IR829KJK#dir | i bundle
6 -rw- 186722070 Mar 1 2018 11:25:00 +00:00 ir800-universalk9-bundle.SPA.157-3.M1.bin
Reformat the flash used for IOx. As the warning says, you will lose all user data under GOS. Usually this is not an issue as applications deployed on IOx typically do not store date on the flash (as this is not recommended due to possible flash wear-out).
IR829KJK#guest-os 1 disk-repartition 1
WARNING - Running this command will delete all application data in IOx. This operation cannot be undone. Continue? [no]: yes
Guest-OS disk repartitioning with option 1...................................
*Mar 22 08:31:35.795: %IR800_GOS_DISK_REP-6-SUCCESS_GOS_OPERATION: Successfully performed DISK REPARTITION operation for GOS.