cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3912
Views
8
Helpful
19
Replies

C3850 upgrade failure

I wanted to upgrade the C3850 in stack from version 16.12.8 to version 16.12.11 in BUNDLE mode.
The steps I followed:
   1. copy tftp: flash: .... -> successfully
   2. no boot system
   3. boot system switch all flash:cat3k_caa-universalk9.16.12.11.SPA.bin
   4. write
   5. show boot -> everything was ok
   6. reload

After the upgrade only the Active Unit updated and the Member went into rommon. I wanted to upload new software to Member over USB, because when I did a “dir flash:” on it, I didn't see the uploaded software in its flash. However, I only had a 64GB flash drive, which I could not format as FAT32, and on NTFS and exFAT the switch was throwing errors. I ended up doing an Active Unit rollback because the maintenance window was ending.

What do you advise, is it better to convert the software mode to INSTALL from BUNDLE? On other switches I've upgraded, I always did the upgrade in INSTALL mode and all was well.
However, did I perhaps do something wrong?

Just to add, in the logs right after the failed upgrade in rommon I saw some log about lack of space. 
copy flash:cat3k_caa-universalk9.16.12.11.SPA.bin flash-2:cat3k_caa-universalk9.16.12.11.SPA.bin
Destination filename [cat3k_caa-universalk9.16.12.11.SPA.bin]?
%Error copying flash:cat3k_caa-universalk9.16.12.11.SPA.bin (Not enough space on device)
krzysztofmaciejewskiit_0-1726572175198.pngkrzysztofmaciejewskiit_1-1726572209367.png

I'm also wondering what command to use to clear unused files. The software clean command does not work.

19 Replies 19

i-dessi
Level 1
Level 1

Hi guys, 

i'm trying to upgrade a stackwise of 2 WS-C3850-48XS model but i have an issue. When i give the command below, the stackwise return this error:

#request platform software package install switch all file flash:cat3k_caa-universalk9.16.12.12.SPA.bin on-reboot new auto-copy verbose
--- Starting install local lock acquisition on switch 1 ---
Finished install local lock acquisition on switch 1

Expanding image file: flash:cat3k_caa-universalk9.16.12.12.SPA.bin
FAILED: There is not enough free disk available to perform this operation on switch 2. At least 491850 KB of free disk is required
FAILED: Unable to expand flash:cat3k_caa-universalk9.16.12.12.SPA.bin
Ensuring that cached content is written to media
... cached content flushed to media

I'm unable to verify how much free space are in flash2: because there isn't any flash2:

dir ?
/all List all files
/recursive List files recursively
all-filesystems List files on all filesystems
cns: Directory or file name
crashinfo: Directory or file name
flash: Directory or file name
null: Directory or file name
nvram: Directory or file name
system: Directory or file name
tar: Directory or file name
tmpsys: Directory or file name
webui: Directory or file name
| Output modifiers
<cr> <cr>

Can you told me if i must break the stack before try to upgrade the firmware?

Thanks a lot and sorry for my terrible english.

Check this commands
show flash-1:
show flash-2:


@i-dessi wrote:
FAILED: There is not enough free disk available to perform this operation on switch 2. At least 491850 KB of free disk is required
FAILED: Unable to expand flash:cat3k_caa-universalk9.16.12.12.SPA.bin

Clean up the flash using the command "install remove inactive".

In your experience, can this command delete something that shouldn't be deleted?


@krzysztofmaciejewskiit wrote:
In your experience, can this command delete something that shouldn't be deleted?

This script will only deleted unused package files, old packages.conf files, and old BIN files.  I have never seen this script delete any other files.