07-08-2019 03:26 AM
Trying to clear some space on my 3850 switch in a stack. I use Prime to roll out images but its telling me that there is insufficient space in flash, so I try to use the smart flash delete before distribution option but that also fails. I have also Putty'd onto the switch to run the software clean command but it told me there was nothing to clean. I've tried deleting some files manually but more reluctant to do this in case I manage to distribute the files onto the flash via Prime and reboot and fails.
This is the message undr software clean:
No unnecessary package or provisioning files found. Nothing to clean
Any ideas how I can clear some space on the flash?
07-08-2019 03:32 AM
Hi there,
I'd check for .bin files in the stack flash, as the request command simply deletes the .pkg files which are not referenced in the packages.conf boot file.
cheers,
Seb.
07-08-2019 03:41 AM
07-08-2019 03:53 AM
07-08-2019 03:53 AM - edited 07-08-2019 03:54 AM
Contents of directories.
Can you post of the output of dir flash: on one of these switches?
07-12-2019 02:30 AM
hi, sorry for the late reply had a bit of a disaster with 1x of the switches. they are back to the state they were earlier. here is an extract of the flash-1 and flash-2:
flash-1:
Directory of flash:/
69698 drwx 4096 Jul 23 2018 10:28:12 +00:00 .installer
69699 drwx 4096 Jul 12 2019 08:59:46 +00:00 dc_profile_dir
69701 -rw- 2097152 Jul 12 2019 09:00:28 +00:00 nvram_config
69725 -rw- 0 Jul 2 2019 09:37:51 +00:00 .onreboot
69703 -rw- 35 Jun 19 2019 13:52:39 +00:00 pnp-tech-time
69704 -rw- 57813 Jun 19 2019 13:52:42 +00:00 pnp-tech-discovery-summary
69708 -rw- 76 Jul 2 2019 09:08:21 +00:00 boothelper.log
69709 -rw- 556 Jul 12 2019 09:00:19 +00:00 vlan.dat
69712 -rw- 65568 Jul 2 2019 09:08:37 +00:00 memleak.tcl
69710 drwx 4096 Mar 6 2019 09:59:50 +00:00 core
77441 drwx 4096 Mar 6 2019 09:52:25 +00:00 .prst_sync
7747 -rw- 83298720 Jul 9 2019 09:19:03 +00:00 cat3k_caa-base.SPA.03.06.08E.pkg
7748 -rw- 3949504 Jul 9 2019 09:19:03 +00:00 cat3k_caa-drivers.SPA.03.06.08E.pkg
7749 -rw- 33811696 Jul 9 2019 09:19:03 +00:00 cat3k_caa-infra.SPA.03.06.08E.pkg
69718 -rw- 1237 Jul 9 2019 10:25:35 +00:00 packages.conf
69707 -rw- 444 Jul 2 2019 09:08:06 +00:00 bootloader_evt_handle.log
92929 drwx 4096 Mar 6 2019 09:52:27 +00:00 .rollback_timer
69711 drwx 4096 Mar 6 2019 09:52:35 +00:00 gs_script
69714 -rw- 2097152 Jul 2 2019 09:38:20 +00:00 nvram_config_bkup
7750 -rw- 43109956 Jul 9 2019 09:19:04 +00:00 cat3k_caa-iosd-universalk9.SPA.152-2.E8.pkg
7751 -rw- 28447888 Jul 9 2019 09:19:04 +00:00 cat3k_caa-platform.SPA.03.06.08E.pkg
7752 -rw- 112669764 Jul 9 2019 09:19:04 +00:00 cat3k_caa-wcm.SPA.10.2.180.0.pkg
1621966848 bytes total (1308893184 bytes free)
flash-2:
Directory of flash-2:/
40414 -rw- 556 Jul 12 2019 09:03:58 +00:00 vlan.dat
40403 drwx 4096 Nov 2 2018 12:07:35 +00:00 .installer
40415 -rw- 2097152 Jul 12 2019 09:03:58 +00:00 nvram_config
40405 -rw- 2097152 Jul 2 2019 09:38:13 +00:00 nvram_config_bkup
40406 -rw- 1073 Jul 2 2019 09:09:17 +00:00 bootloader_evt_handle.log
40407 drwx 4096 Jul 2 2019 08:12:54 +00:00 core
80801 drwx 4096 Jul 2 2019 08:27:46 +00:00 .prst_sync
11 drwx 4096 Nov 2 2018 12:18:18 +00:00 .rollback_timer
8083 drwx 4096 Jul 12 2019 09:03:03 +00:00 dc_profile_dir
8085 drwx 4096 Nov 2 2018 12:18:27 +00:00 gs_script
40402 -rw- 76 Jul 2 2019 09:09:32 +00:00 boothelper.log
40409 -rw- 65568 Jul 2 2019 09:09:48 +00:00 memleak.tcl
72722 -rw- 1237 Jul 11 2019 14:39:09 +00:00 packages.conf
40421 -rw- 0 Jul 2 2019 09:37:44 +00:00 .onreboot
40404 -rw- 305292424 Jul 11 2019 11:04:41 +00:00 cat3k_caa-universalk9.SPA.03.06.08.E.152-2.E8.bin
72726 -rw- 33811696 Jul 11 2019 14:13:50 +00:00 cat3k_caa-infra.SPA.03.06.08E.pkg
40424 -rw- 83298720 Jul 9 2019 09:19:05 +00:00 cat3k_caa-base.SPA.03.06.08E.pkg
40425 -rw- 3949504 Jul 9 2019 09:19:05 +00:00 cat3k_caa-drivers.SPA.03.06.08E.pkg
40408 drwx 4096 Jul 2 2019 09:01:26 +00:00 onep
72727 -rw- 43109956 Jul 11 2019 14:13:59 +00:00 cat3k_caa-iosd-universalk9.SPA.152-2.E8.pkg
72728 -rw- 28447888 Jul 11 2019 14:13:53 +00:00 cat3k_caa-platform.SPA.03.06.08E.pkg
72729 -rw- 112669764 Jul 11 2019 14:14:13 +00:00 cat3k_caa-wcm.SPA.10.2.180.0.pkg
1562902528 bytes total (687865856 bytes free)
07-12-2019 02:33 AM
07-12-2019 03:35 AM
07-12-2019 03:42 AM
07-08-2019 04:52 AM
07-12-2019 02:33 AM
09-02-2020 04:29 AM
Hi Jay_F,
i think you have to make a sync in prime after cleaning the flashes, or wait for the automatically sync. After that prime says flash is fine.
Otherwise your problem looks like a part of my problem. I want to upgrade 36xx systems from 16.12.1 to 16.12.4 > all flashes are clean but the place is not enough to copy and install the new image! My workaround is to delete nvram_config_bkup to become the space but this is not so good for ~1k systems an no automatism for that - have anybody ideas?
PS: I use PI in Version 3.6 to manage all of my systems
thanks
Michael
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