cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6189
Views
15
Helpful
9
Replies

Cisco 9200 IOS Out of Space

eshaq786
Level 1
Level 1

Hi

 

Sorry for re-posting but not sure why Cisco removed my previous post.

 

Im stuck in a situation where I cannot upgrade the firmware on my switch even though I've run the command to cleanup old files etc. I've followed the instructions to copy the bin file and then run the install command. However i get a message saying that im short on space, about 10mb to be exact. Not sure what else i can delete. Has anyone else come across this and managed to resolve it?

 

 

UK-STACK-3#dir
Directory of flash:/

24290 -rw- 139 Oct 3 2020 12:21:45 +01:00 boothelper.log
24291 drwx 4096 Oct 3 2020 12:21:26 +01:00 .installer
24293 -rw- 370 Oct 3 2020 12:21:28 +01:00 bootloader_evt_handle.log
24294 drwx 4096 Oct 24 2019 02:30:01 +01:00 core
48577 drwx 4096 Oct 24 2019 02:45:01 +01:00 .prst_sync
64769 drwx 4096 Oct 24 2019 02:41:15 +01:00 .rollback_timer
72865 drwx 4096 Oct 24 2019 02:27:45 +01:00 tech_support
80961 drwx 4096 Oct 3 2020 12:21:44 +01:00 dc_profile_dir
24296 -rw- 123888 Oct 3 2020 12:22:03 +01:00 memleak.tcl
24298 drwx 4096 Oct 24 2019 02:30:20 +01:00 .dbpersist
80963 drwx 4096 Oct 24 2019 02:29:40 +01:00 onep
24319 -rw- 2097152 Oct 3 2020 12:26:09 +01:00 nvram_config
24301 -rw- 2097152 Oct 3 2020 12:26:10 +01:00 nvram_config_bkup
24302 -rw- 35 Feb 22 2020 11:07:36 +00:00 pnp-tech-time
24303 -rw- 120432 Feb 22 2020 11:07:46 +00:00 pnp-tech-discovery-summary
24292 -rw- 140 May 27 2020 08:48:19 +01:00 boothelper.log.old
24324 -rw- 4877 Oct 24 2019 02:38:49 +01:00 packages.conf
24300 -rw- 616 Feb 24 2020 20:19:27 +00:00 vlan.dat
24325 -rw- 299176972 Oct 24 2019 02:38:14 +01:00 cat9k_lite-rpbase.16.09.03.SPA.pkg
24328 -rw- 34935297 Oct 24 2019 02:38:49 +01:00 cat9k_lite-rpboot.16.09.03.SPA.pkg
24326 -rw- 3101708 Oct 24 2019 02:38:14 +01:00 cat9k_lite-srdriver.16.09.03.SPA.pkg
24327 -rw- 7586824 Oct 24 2019 02:38:14 +01:00 cat9k_lite-webui.16.09.03.SPA.pkg
24309 -rw- 616 Oct 3 2020 12:27:37 +01:00 stby-vlan.dat
24295 -rw- 805827585 Oct 3 2020 18:18:44 +01:00 cat9k_iosxe.16.12.04.SPA.bin

1956839424 bytes total (695107584 bytes free)

 


UK-STACK-3#$ file flash:cat9k_iosxe.16.12.04.SPA.bin activate commit
install_add_activate_commit: START Sat Oct 3 18:55:14 BST 2020
install_add_activate_commit: Adding PACKAGE

--- Starting initial file syncing ---
[1]: Copying flash:cat9k_iosxe.16.12.04.SPA.bin from switch 1 to switch 2 3 4
[2 3 4]: Finished copying to switch 2 switch 3 switch 4
Info: Finished copying flash:cat9k_iosxe.16.12.04.SPA.bin to the selected switch(es)
Finished initial file syncing

--- Starting Add ---
Performing Add on all members
[1] Add package(s) on switch 1
Expanding image file: flash:cat9k_iosxe.16.12.04.SPA.bin
[1]: Expanding file
... expanding file completed
[1]: Verifying parameters
[1]: Expanding superpackage flash:cat9k_iosxe.16.12.04.SPA.bin
[1]: ... parameters verified
[1]: Validating package type
[1]: FAILED: flash: requires 786942 KB of free space, but only 775884 KB is available
FAILED: [1]: FAILED: Expanding all-in-one software package failed in switch 1
FAILED: install_add exit(1) Sat Oct 3 18:58:44 BST 2020
[1] Finished Add on switch 1
[2] Add package(s) on switch 2
Expanding image file: flash:cat9k_iosxe.16.12.04.SPA.bin
[2]: Expanding file
... expanding file completed
[2]: Verifying parameters
[2]: Expanding superpackage flash:cat9k_iosxe.16.12.04.SPA.bin
[2]: ... parameters verified
[2]: Validating package type
[2]: FAILED: flash: requires 786942 KB of free space, but only 775936 KB is available
FAILED: [2]: FAILED: Expanding all-in-one software package failed in switch 2
FAILED: install_add exit(1) Sat Oct 3 18:58:45 BST 2020
[2] Finished Add on switch 2
[3] Add package(s) on switch 3
Expanding image file: flash:cat9k_iosxe.16.12.04.SPA.bin
[3]: Expanding file
... expanding file completed
[3]: Verifying parameters
[3]: Expanding superpackage flash:cat9k_iosxe.16.12.04.SPA.bin
[3]: ... parameters verified
[3]: Validating package type
[3]: FAILED: flash: requires 786942 KB of free space, but only 778452 KB is available
FAILED: [3]: FAILED: Expanding all-in-one software package failed in switch 3
FAILED: install_add exit(1) Sat Oct 3 18:58:45 BST 2020
[3] Finished Add on switch 3
[4] Add package(s) on switch 4
Expanding image file: flash:cat9k_iosxe.16.12.04.SPA.bin
[4]: Expanding file
... expanding file completed
[4]: Verifying parameters
[4]: Expanding superpackage flash:cat9k_iosxe.16.12.04.SPA.bin
[4]: ... parameters verified
[4]: Validating package type
[4]: FAILED: flash: requires 786942 KB of free space, but only 775936 KB is available
FAILED: [4]: FAILED: Expanding all-in-one software package failed in switch 4
FAILED: install_add exit(1) Sat Oct 3 18:58:46 BST 2020
[4] Finished Add on switch 4
Checking status of Add on [1 2 3 4]
Add: Passed on []. Failed on [1 2 3 4]
Finished Add

FAILED: install_add_activate_commit exit(1) Sat Oct 3 18:58:48 BST 2020

1 Accepted Solution

Accepted Solutions

Wait a second .. wrong filename. 

Look at the directory of your flash.  It specifically says the prefix is "cat9k_lite".  

The file you're trying to unpack, filename "cat9k_iosxe.16.12.04.SPA.bin", is definitely NOT for a 9200/9200L. 

View solution in original post

9 Replies 9

eshaq786
Level 1
Level 1

@cisco why are you constantly deleting this post for? Is it somehow against the guidelines?

Leo Laohoo
Hall of Fame
Hall of Fame

Reboot the stack and re-run the same command again.  

Tried this already. Made no difference unfortunately.

Wait a second .. wrong filename. 

Look at the directory of your flash.  It specifically says the prefix is "cat9k_lite".  

The file you're trying to unpack, filename "cat9k_iosxe.16.12.04.SPA.bin", is definitely NOT for a 9200/9200L. 

Good spot my friend. We have a few different IOS XE models and i think i mixed up the firmware. Just getting the correct one now and will try that and report back.

Well, whether I am right or not, this behaviour is a bug. 

The process should have complained that the filename being unpacked is not compatible with the platform.  

The error message of "FAILED: flash: requires 786942 KB of free space, but only XXXXXX KB is available" is very misleading.

That installed correctly. Thanks for your help. I do agree, it should have rejected it from the start. Would've saved me a lot of time.


@eshaq786 wrote:
it should have rejected it from the start

If TAC does not know about this then the bug will continue to future releases.
Please raise a TAC Case and then point the case details to this thread?
I do not have any 9200/9200L so I cannot raise one.

RAINER ADAM
Level 1
Level 1

The command "install remove inactive" will be your friend, this remove (after back questioning) UNUSED Firmware images.

 

 

Review Cisco Networking for a $25 gift card