07-18-2023 06:55 AM - last edited on 07-27-2023 11:04 PM by Translator
I'm trying to upgrade from
16.06.09 to 17.06.05 on my 4321 router
Using this command to initiate the upgrade.
install add file bootflash:isr4300-universalk9.17.06.05.SPA.bin activate commit
The error I'm getting is below. It looks like it is a space issue, but I don't see anything else in the directory I can get rid of. I backed up the tracelogs and cleared them, but they came right back. Is there anything I am overlooking that could remove so I could get this upgrade completed? I considered moving to a different version if I could find one of a smaller size that would fit, but I would prefer to stay on a gold star version. I also had an identical device on the same version that had enough space to upgrade so I don't know why this one doesn't have enough. I don't think the difference in config is big enough to account for the lack of space. I would appreciate any ideas someone might have on this.
#dir bootflash:
Directory of bootflash:/
11 drwx 16384 Oct 10 2020 06:06:01 -05:00 lost+found
179169 drwx 4096 Apr 26 2021 19:38:30 -05:00 .prst_sync
12 -rw- 6422 Aug 2 2021 17:14:21 -05:00 FDO23211JZU_20210802020829.lic
211745 drwx 4096 Jul 17 2023 18:08:59 -05:00 .installer
65153 drwx 4096 Sep 3 2022 11:28:55 -05:00 core
276897 drwx 4096 Apr 26 2021 19:33:26 -05:00 .rollback_timer
13 -rw- 0 Jan 26 2021 17:36:10 -06:00 tracelogs.107
114017 drwx 995328 Jul 17 2023 18:10:52 -05:00 tracelogs
14 -rw- 30 Jun 26 2023 17:36:28 -05:00 throughput_monitor_params
15 -rw- 5032908 Jul 17 2023 09:33:34 -05:00 isr4200_4300_rommon_1612_2r_SPA.pkg
16 -rw- 6455 Jan 26 2021 17:55:35 -06:00 license.lic
17 -rw- 19908 Jan 26 2021 17:55:44 -06:00 4321.txt
18 -rw- 596 Jun 26 2023 17:36:46 -05:00 vlan.dat
342049 drwx 4096 Jun 26 2023 17:38:56 -05:00 CERTSTOR
293187 -rw- 50184 Apr 26 2021 19:27:42 -05:00 isr4300-firmware_dreamliner.16.06.09.SPA.pkg
293188 -rw- 6665228 Apr 26 2021 19:27:43 -05:00 isr4300-firmware_dsp_analogbri.16.06.09.SPA.pkg
293189 -rw- 1680392 Apr 26 2021 19:27:43 -05:00 isr4300-firmware_dsp_sp2700.16.06.09.SPA.pkg
293190 -rw- 17941512 Apr 26 2021 19:27:43 -05:00 isr4300-firmware_dsp_tilegx.16.06.09.SPA.pkg
293191 -rw- 11187208 Apr 26 2021 19:27:43 -05:00 isr4300-firmware_ngwic_t1e1.16.06.09.SPA.pkg
293192 -rw- 9233416 Apr 26 2021 19:27:44 -05:00 isr4300-firmware_nim_async.16.06.09.SPA.pkg
293193 -rw- 4604940 Apr 26 2021 19:27:44 -05:00 isr4300-firmware_nim_bri_st_fw.16.06.09.SPA.pkg
293194 -rw- 17220616 Apr 26 2021 19:27:44 -05:00 isr4300-firmware_nim_cwan.16.06.09.SPA.pkg
293195 -rw- 2667524 Apr 26 2021 19:27:44 -05:00 isr4300-firmware_nim_ge.16.06.09.SPA.pkg
293196 -rw- 3740676 Apr 26 2021 19:27:45 -05:00 isr4300-firmware_nim_ssd.16.06.09.SPA.pkg
293197 -rw- 6296584 Apr 26 2021 19:27:45 -05:00 isr4300-firmware_nim_xdsl.16.06.09.SPA.pkg
293198 -rw- 10150916 Apr 26 2021 19:27:45 -05:00 isr4300-firmware_prince.16.06.09.SPA.pkg
293199 -rw- 2192388 Apr 26 2021 19:27:45 -05:00 isr4300-firmware_sm_10g.16.06.09.SPA.pkg
293200 -rw- 10982408 Apr 26 2021 19:27:45 -05:00 isr4300-firmware_sm_1t3e3.16.06.09.SPA.pkg
293201 -rw- 10683400 Apr 26 2021 19:27:46 -05:00 isr4300-firmware_sm_async.16.06.09.SPA.pkg
293202 -rw- 1819660 Apr 26 2021 19:27:46 -05:00 isr4300-firmware_sm_dsp_sp2700.16.06.09.SPA.pkg
293203 -rw- 405054484 Apr 26 2021 19:28:12 -05:00 isr4300-mono-universalk9.16.06.09.SPA.pkg
293204 -rw- 31801618 Apr 26 2021 19:28:56 -05:00 isr4300-rpboot.16.06.09.SPA.pkg
293186 -rw- 8932 Apr 26 2021 19:28:56 -05:00 packages.conf
21 -rw- 789492644 Jul 17 2023 10:34:25 -05:00 isr4300-universalk9.17.06.05.SPA.bin
3149967360 bytes total (565768192 bytes free)
--- Starting Add ---
Performing Add on Active/Standby
[R0] Add package(s) on R0
Expanding image file: bootflash:isr4300-universalk9.17.06.05.SPA.bin
Verifying parameters
Expanding superpackage bootflash:isr4300-universalk9.17.06.05.SPA.bin
... parameters verified
Validating package type
FAILED: bootflash: requires 770989 KB of free space, but only 708944 KB is available
SUCCESS: install_add Mon Jul 17 18:08:58 CST 2023
[R0] Finished Add on R0
Checking status of Add on [R0]
Add: Passed on []. Failed on [R0]
Finished Add
FAILED: install_add_activate_commit exit(1) Mon Jul 17 18:08:59 CST 2023
Solved! Go to Solution.
07-18-2023 07:08 PM - last edited on 07-27-2023 11:38 PM by Translator
@ryders1 wrote:
FAILED: bootflash: requires 770989 KB of free space, but only 708944 KB is available
I am almost very certain this is a known bug about "block size" or the size of the new firmware.
A simple workaround is to boot the new version in Bundle Mode, clean up the flash (using the command
install remove inactive
) and convert to Install Mode.
@ryders1 wrote:
isr4200_4300_rommon_1612_2r_SPA.pkg
Is it safe to assume the ROMMON has already been upgraded?
07-18-2023 08:10 AM
M.
07-19-2023 07:04 AM - last edited on 07-27-2023 11:06 PM by Translator
I did try running that command to clear some space, but all it outputs is my upgrade file. I did a different version to see if that made a difference so you will see 17.9.3 in the output instead of 17.6.5.
#request platform software package clean
This operation may take several minutes...
Cleaning up unnecessary package files
No path specified, will use booted path bootflash:packages.conf
Cleaning bootflash:
Scanning boot directory for packages ... done.
Preparing packages list to delete ...
isr4300-firmware_dreamliner.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-firmware_dsp_analogbri.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-firmware_dsp_sp2700.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-firmware_dsp_tilegx.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-firmware_ngwic_t1e1.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-firmware_nim_async.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-firmware_nim_bri_st_fw.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-firmware_nim_cwan.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-firmware_nim_ge.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-firmware_nim_ssd.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-firmware_nim_xdsl.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-firmware_prince.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-firmware_sm_10g.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-firmware_sm_1t3e3.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-firmware_sm_async.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-firmware_sm_dsp_sp2700.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-mono-universalk9.16.06.09.SPA.pkg
File is in use, will not delete.
isr4300-rpboot.16.06.09.SPA.pkg
File is in use, will not delete.
packages.conf
File is in use, will not delete.
done.
Files that will be deleted:
isr4300-universalk9.17.09.03a.SPA.bin
07-18-2023 07:08 PM - last edited on 07-27-2023 11:38 PM by Translator
@ryders1 wrote:
FAILED: bootflash: requires 770989 KB of free space, but only 708944 KB is available
I am almost very certain this is a known bug about "block size" or the size of the new firmware.
A simple workaround is to boot the new version in Bundle Mode, clean up the flash (using the command
install remove inactive
) and convert to Install Mode.
@ryders1 wrote:
isr4200_4300_rommon_1612_2r_SPA.pkg
Is it safe to assume the ROMMON has already been upgraded?
07-19-2023 07:05 AM - last edited on 07-27-2023 11:06 PM by Translator
I will see if I can get the bundle mode to work.
Yes, I upgraded rommon first. It is on 6.12(2r)
#sho rom-monitor r0
System Bootstrap, Version 16.12(2r), RELEASE SOFTWARE
Copyright (c) 1994-2019 by cisco Systems, Inc.
07-19-2023 08:47 AM - last edited on 07-27-2023 11:07 PM by Translator
Is deleting this file a possibility to free up the needed space?
isr4200_4300_rommon_1612_2r_SPA.pkg
Thanks,
Chuck
07-19-2023 09:15 AM
07-19-2023 04:33 PM - last edited on 07-27-2023 11:08 PM by Translator
Do not manually delete any of the
PKG files
The behaviour you are seeing is a known bug feature (and I cannot seem to find the right
phrase
to search for the Bug IDs).
The workaround of booting the new firmware version in Bundle Mode (and then convert to Install Mode) is the best workaround.
07-24-2023 11:24 AM - last edited on 07-27-2023 11:16 PM by Translator
I have been looking at instructions for using bundle mode and I am not sure of this command.
boot system flash bootflash:isr4300-universalk9.17.06.05.SPA.bin
boot system bootflash:isr4300-universalk9.17.06.05.SPA.bin
Do I need to specify flash in the command or just
bootflash
? The output from the ? after entering
boot system
is:
boot system ?
WORD TFTP filename or URL
flash Boot from flash memory
ftp Boot from a server via ftp
mop Boot from a Decnet MOP server
rcp Boot from a server via rcp
tftp Boot from a tftp server
That makes me think I need the
boot system flash bootflash:isr4300-universalk9.17.06.05.SPA.bin instead of boot system bootflash:isr4300-universalk9.17.06.05.SPA.bin
I do have a backed up config from a device of the same model that omits the flash part of that command. Maybe it works both ways? I don't have a device I can test with currently and I have been using install mode in the past.
boot-start-marker
boot system bootflash:isr4300-universalk9.16.09.07.SPA.bin
boot-end-marker
07-24-2023 04:18 PM - last edited on 07-27-2023 11:23 PM by Translator
@ryders1 wrote:
boot system flash bootflash:isr4300-universalk9.17.06.05.SPA.bin
Remove any existing boot variable statement in the config and replace with this.
Save the config and reboot.
Once the switch boots up the correct version (Bundle Mode), change the boot variable statement to point to the
packages.conf
file.
Initiate the Install Mode and let the router reboot in Install Mode.
07-26-2023 04:15 PM
That worked. I just finished the upgrade and reloaded with install mode set. Thank you.
07-24-2023 11:05 AM
Yes, this was deleted after I grabbed the logs. It wasn't large enough to make a difference with the space issue though.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide