10-24-2018 06:01 AM - edited 03-08-2019 04:27 PM
Hello Community, we are moving our 3850 Stacks from 3.7.5 to 16.6.4 and are facing 'diffuse' problems like "not enough flash space" although only 3.7.5 in flash (see below), update successful after second try or even stacks auto-copying old SW over the new one.
My question: how can we prepare the stacks for successful upgrade or what do we have to look for to not get into trouble ...
Thank you in advance and kind regards
Herbert
Sw1#dir
Directory of flash:/
16162 -rwx 2097152 Aug 6 2018 12:27:06 +02:00 nvram_config
16163 -rw- 1036 Feb 1 2018 10:14:19 +01:00 vlan.dat
24241 drwx 4096 Jun 13 2016 20:50:06 +02:00 virtual-instance
32321 drwx 4096 Feb 1 2018 10:13:40 +01:00 dc_profile_dir
32323 drwx 4096 Jun 13 2016 20:51:43 +02:00 wnweb_store
16164 -rw- 410885614 Oct 10 2018 09:54:56 +02:00 cat3k_caa-universalk9.16.06.04.SPA.bin
16169 -rw- 82000420 Apr 11 2017 10:18:14 +02:00 cat3k_caa-base.SPA.03.07.05E.pkg
16168 -rw- 1237 Apr 11 2017 10:18:23 +02:00 packages.conf
16170 -rw- 5663420 Apr 11 2017 10:18:14 +02:00 cat3k_caa-drivers.SPA.03.07.05E.pkg
56562 drwx 4096 Aug 11 2014 03:43:42 +02:00 mnt
16171 -rw- 36965384 Apr 11 2017 10:18:14 +02:00 cat3k_caa-infra.SPA.03.07.05E.pkg
16172 -rw- 46449984 Apr 11 2017 10:18:15 +02:00 cat3k_caa-iosd-universalk9.SPA.152-3.E5.pkg
16173 -rw- 28959628 Apr 11 2017 10:18:15 +02:00 cat3k_caa-platform.SPA.03.07.05E.pkg
16174 -rw- 128574272 Apr 11 2017 10:18:16 +02:00 cat3k_caa-wcm.SPA.10.3.150.0.pkg
1562509312 bytes total (770961408 bytes free)
Sw1#$3k_caa-universalk9.16.06.04.SPA.bin new force on-reboot
Preparing install operation ...
[1]: Starting install operation
[1]: Expanding bundle flash:cat3k_caa-universalk9.16.06.04.SPA.bin
[1]: Copying package files
[1]: Package files copied
[1]: Finished expanding bundle flash:cat3k_caa-universalk9.16.06.04.SPA.bin
[1]: Verifying and copying expanded package files to flash:
[1]: % flash: requires 401252 KB of free space, but only 351204 KB is available. Operation aborted.
[1]: % An internal error was encountered. Operation aborted.
Sw1#dir
Directory of flash:/
16162 -rwx 2097152 Aug 6 2018 12:27:06 +02:00 nvram_config
16163 -rw- 1036 Feb 1 2018 10:14:19 +01:00 vlan.dat
24241 drwx 4096 Jun 13 2016 20:50:06 +02:00 virtual-instance
32321 drwx 4096 Feb 1 2018 10:13:40 +01:00 dc_profile_dir
32323 drwx 4096 Jun 13 2016 20:51:43 +02:00 wnweb_store
16164 -rw- 410885614 Oct 10 2018 09:54:56 +02:00 cat3k_caa-universalk9.16.06.04.SPA.bin
16169 -rw- 82000420 Apr 11 2017 10:18:14 +02:00 cat3k_caa-base.SPA.03.07.05E.pkg
16168 -rw- 1237 Apr 11 2017 10:18:23 +02:00 packages.conf
16170 -rw- 5663420 Apr 11 2017 10:18:14 +02:00 cat3k_caa-drivers.SPA.03.07.05E.pkg
56562 drwx 4096 Aug 11 2014 03:43:42 +02:00 mnt
48489 -rw- 19167872 Oct 10 2018 10:06:59 +02:00 cat3k_caa-guestshell.16.06.04.SPA.pkg
48490 -rw- 27905983 Oct 10 2018 10:06:59 +02:00 cat3k_caa-rpbase.16.06.04.SPA.pkg
48491 -rw- 331879032 Oct 10 2018 10:07:01 +02:00 cat3k_caa-rpcore.16.06.04.SPA.pkg
48492 -rw- 15676032 Oct 10 2018 10:07:01 +02:00 cat3k_caa-srdriver.16.06.04.SPA.pkg
48493 -rw- 16251516 Oct 10 2018 10:07:01 +02:00 cat3k_caa-webui.16.06.04.SPA.pkg
16171 -rw- 36965384 Apr 11 2017 10:18:14 +02:00 cat3k_caa-infra.SPA.03.07.05E.pkg
16172 -rw- 46449984 Apr 11 2017 10:18:15 +02:00 cat3k_caa-iosd-universalk9.SPA.152-3.E5.pkg
16173 -rw- 28959628 Apr 11 2017 10:18:15 +02:00 cat3k_caa-platform.SPA.03.07.05E.pkg
16174 -rw- 128574272 Apr 11 2017 10:18:16 +02:00 cat3k_caa-wcm.SPA.10.3.150.0.pkg
1562509312 bytes total (359641088 bytes free)
10-24-2018 07:18 AM
10-26-2018 05:50 AM
With deleting all package files; is there a risk that the switch/stack doesn't come back after a crash or power outage?
10-24-2018 02:29 PM
10-26-2018 05:54 AM
We will try this although i thought this doesn't make sense when only one (the running) set of packages are in flash.
I did a clean every time when there was more older SW in flash. E.g. 3.3.3 and 3.7.5.
But anyway we'll try if this helps ...
11-07-2018 01:18 AM
we ran "software clean". This didn't help. Besides we noticed that there are a lot of subdirs in flash. By looking into these, adding up the files/sizes therein, it is now clear why flash space was not sufficient for an update...
How can i figure out what can be safely deleted, and what about flash content of stack members. Do i have to remove stack members to get access to their flash?
11-07-2018 03:33 AM
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