cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1280
Views
0
Helpful
2
Replies

Flash issue for one of the 3850 stack switches

krisvamcee
Level 1
Level 1

 

Hi all,

 

I am trying to upgrade IOS for a 3850 stack (2 switches) and when I tried first time it didn't go well and would like to do it again, so I deleted the unnecessary files for both the flashes (flash-2 is the active), however for some reason I don't see the same free space available on flash-2 like how it was before, but the flash-1 is showing the correct free space available. I am not sure if this is some kind of a bug for flash-2 or are there any hidden files?

 

Please see the below output, flash-2 should also show 992477184 bytes free approximately however it is showing only 487899136 bytes free.

 

SW01#dir flash-1:
Directory of flash-1:/

54214  -rw-          2097152   Aug 9 2018 12:06:31 +10:00  nvram_config
54210  drwx             4096   Jun 6 2018 14:17:49 +10:00  onep
54217  -rw-               35  Apr 10 2018 11:29:37 +10:00  pnp-tech-time
54218  -rw-              777   Aug 3 2018 20:37:08 +10:00  bootloader_evt_handle.log
85185  drwx             4096   Apr 1 2017 09:32:57 +11:00  core
   11  drwx             4096   Apr 1 2017 09:23:04 +11:00  .prst_sync
15489  drwx             4096   Apr 1 2017 09:23:06 +11:00  .rollback_timer
23233  drwx             4096   Aug 3 2018 20:37:22 +10:00  dc_profile_dir
23235  drwx             4096   Apr 1 2017 09:23:16 +11:00  gs_script
54219  -rw-            65301   Aug 3 2018 20:37:39 +10:00  memleak.tcl
30977  drwx             4096   Apr 1 2017 09:23:46 +11:00  .installer
54220  -rw-          2097152   Aug 9 2018 12:06:31 +10:00  nvram_config_bkup
54211  -rw-              976   Aug 3 2018 20:43:19 +10:00  vlan.dat
54227  -rw-             4748  Apr 12 2018 14:33:01 +10:00  packages.conf
54221  -rw-            32953  Apr 10 2018 11:29:44 +10:00  pnp-tech-discovery-summary
54229  -rw-         15954556  Apr 12 2018 14:31:56 +10:00  cat3k_caa-guestshell.16.03.05b.SPA.pkg
54234  -rw-         22301472  Apr 12 2018 14:31:59 +10:00  cat3k_caa-rpbase.16.03.05b.SPA.pkg
54230  -rw-        266035828  Apr 12 2018 14:31:57 +10:00  cat3k_caa-rpcore.16.03.05b.SPA.pkg
54232  -rw-          9089660  Apr 12 2018 14:31:58 +10:00  cat3k_caa-srdriver.16.03.05b.SPA.pkg
54228  -rw-             4748  Apr 12 2018 14:32:46 +10:00  cat3k_caa-universalk9.16.03.05b.SPA.conf
54233  -rw-        212812400  Apr 12 2018 14:31:59 +10:00  cat3k_caa-wcm.16.03.05b.SPA.pkg
54231  -rw-         13423224  Apr 12 2018 14:31:57 +10:00  cat3k_caa-webui.16.03.05b.SPA.pkg
54226  -rw-             4737  Apr 12 2018 14:33:01 +10:00  packages.conf.00-

1622147072 bytes total (992477184 bytes free)

SW01#dir flash-2:
Directory of flash:/

85383  -rw-          2097152   Aug 9 2018 12:06:29 +10:00  nvram_config
85363  drwx             4096  Apr 12 2018 14:58:17 +10:00  dc_profile_dir
85367  drwx             4096  Apr 10 2018 06:46:24 +10:00  core
85385  -rw-             4748   Aug 3 2018 21:11:11 +10:00  packages.conf.00-
85368  -rw-            65301  Apr 12 2018 14:38:21 +10:00  memleak.tcl
85365  -rw-          2097152   Aug 9 2018 12:06:29 +10:00  nvram_config_bkup
93124  drwx             4096  Apr 10 2018 06:38:43 +10:00  .prst_sync
85362  drwx             4096  Apr 10 2018 17:46:33 +10:00  onep
31047  -rw-         15954556  Apr 12 2018 14:32:00 +10:00  cat3k_caa-guestshell.16.03.05b.SPA.pkg
85377  -rw-         22301472  Apr 12 2018 14:32:04 +10:00  cat3k_caa-rpbase.16.03.05b.SPA.pkg
31051  -rw-        212812400  Apr 12 2018 14:32:04 +10:00  cat3k_caa-wcm.16.03.05b.SPA.pkg
85388  -rw-             4737   Aug 3 2018 21:11:11 +10:00  packages.conf
85379  -rw-              976   Aug 1 2018 08:28:59 +10:00  vlan.dat
31048  -rw-        266035828  Apr 12 2018 14:32:01 +10:00  cat3k_caa-rpcore.16.03.05b.SPA.pkg
46561  drwx             4096  Jul 26 2017 15:09:21 +10:00  virtual-instance
54321  drwx             4096  Jul 26 2017 15:09:21 +10:00  vman_fdb
85378  -rw-                0   Aug 3 2018 21:11:37 +10:00  .onreboot
85376  -rw-             4737  Apr 12 2018 14:33:05 +10:00  packages.conf.01-
85364  -rw-              296  Apr 12 2018 14:37:50 +10:00  bootloader_evt_handle.log
 7761  drwx             4096  Apr 10 2018 06:38:45 +10:00  .rollback_timer
85382  drwx             4096  Apr 10 2018 06:38:53 +10:00  gs_script
85384  drwx             4096  Apr 10 2018 06:39:24 +10:00  .installer
31050  -rw-          9089660  Apr 12 2018 14:32:02 +10:00  cat3k_caa-srdriver.16.03.05b.SPA.pkg
31046  -rw-             4748  Apr 12 2018 14:32:46 +10:00  cat3k_caa-universalk9.16.03.05b.SPA.conf
31049  -rw-         13423224  Apr 12 2018 14:32:02 +10:00  cat3k_caa-webui.16.03.05b.SPA.pkg

1624104960 bytes total (487899136 bytes free)

 

Regards

Kris

 

2 Replies 2

johnd2310
Level 8
Level 8

Hi,

How did you delete the files? On the 3850 you create space using the "request platform software package clean switch all" Try this command and let me know how it goes.

 

Thanks

John

**Please rate posts you find helpful**


Yes John, but again I ran the command to see if I can delete any files, but it shows only 3 files which are small in size.

SW01#request platform software package clean file flash-2:
Running command on switch 2
Cleaning up unnecessary package files
Scanning boot directory for packages ... done.
Preparing packages list to delete ...
cat3k_caa-guestshell.16.03.05b.SPA.pkg
File is in use, will not delete.
cat3k_caa-rpbase.16.03.05b.SPA.pkg
File is in use, will not delete.
cat3k_caa-wcm.16.03.05b.SPA.pkg
File is in use, will not delete.
packages.conf
File is in use, will not delete.
cat3k_caa-rpcore.16.03.05b.SPA.pkg
File is in use, will not delete.
cat3k_caa-srdriver.16.03.05b.SPA.pkg
File is in use, will not delete.
cat3k_caa-webui.16.03.05b.SPA.pkg
File is in use, will not delete.
done.

The following files will be deleted:
[2]:
/flash/cat3k_caa-universalk9.16.03.05b.SPA.conf
/flash/packages.conf.00-
/flash/packages.conf.01-

Review Cisco Networking products for a $25 gift card