cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1066
Views
0
Helpful
6
Replies
Highlighted
Beginner

C3650 free flash: space is not correct

Hi all,

 

I have a Problem with a C3650 which is running IOS Version 16.3.7.

I tried to free up space on the Flash:, but the amount of free space in Flash: does not increase.

 

#################################

 

#dir
Directory of flash:/

46472 -rw- 2097152 Jul 27 2019 17:56:58 +00:00 nvram_config
46473 -rw- 2097152 Jul 27 2019 17:56:58 +00:00 nvram_config_bkup
46474 drwx 4096 Jul 27 2019 17:57:10 +00:00 .installer

1621966848 bytes total (513089536 bytes free)

 

#sh file systems
File Systems:

Size(b) Free(b) Type Flags Prefixes
- - opaque rw system:
- - opaque rw tmpsys:
248354816 197384192 disk rw crashinfo:
* 1621966848 513089536 disk rw flash:
2017271808 1938677760 disk ro webui:
- - opaque rw null:
- - opaque ro tar:
- - network rw tftp:
2097152 2043902 nvram rw nvram:
- - opaque wo syslog:
- - network rw rcp:
- - network rw http:
- - network rw ftp:
- - network rw scp:
- - network rw https:
- - opaque ro cns:

 

#################################

 

As you see, my Flash: is empty! There are no packages or bin file anymore, but the free space is only ~500MB.

I want to upload the new 16.3.8 Image, but it´s to big.

 

Is there a command on this Plattform to delete "hiding" files (something like squeeze).

 

Any ideas?

 

Greetings,

Patrick

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Hi all,

 

after reload the Switch booted with the new IOS. The Flash: space is now showing correct values.

So that was a cosmetic bug. 

 

#dir
Directory of flash:/

46472 -rw- 2097152 Aug 1 2019 14:24:48 +00:00 nvram_config
46473 -rw- 2097152 Aug 1 2019 14:24:49 +00:00 nvram_config_bkup
46474 drwx 4096 Jul 27 2019 17:57:10 +00:00 .installer
46467 drwx 4096 Jul 31 2019 17:25:12 +00:00 core
46478 -rw- 4737 Jul 30 2019 15:11:57 +00:00 packages.conf
54209 drwx 4096 Jul 31 2019 17:21:45 +00:00 .prst_sync
46479 -rw- 15938176 Jul 30 2019 15:10:44 +00:00 cat3k_caa-guestshell.16.03.08.SPA.pkg
46482 -rw- 22306936 Jul 30 2019 15:11:26 +00:00 cat3k_caa-rpbase.16.03.08.SPA.pkg
46490 -rw- 264563320 Jul 30 2019 15:10:49 +00:00 cat3k_caa-rpcore.16.03.08.SPA.pkg
46481 -rw- 9671296 Jul 30 2019 15:10:50 +00:00 cat3k_caa-srdriver.16.03.08.SPA.pkg
46491 -rw- 209654388 Jul 30 2019 15:11:23 +00:00 cat3k_caa-wcm.16.03.08.SPA.pkg
46480 -rw- 13439612 Jul 30 2019 15:10:50 +00:00 cat3k_caa-webui.16.03.08.SPA.pkg
46466 -rw- 37 Jul 31 2019 17:21:40 +00:00 bootloader_evt_handle.log
69697 drwx 4096 Jul 31 2019 17:21:46 +00:00 .rollback_timer
77441 drwx 4096 Jul 31 2019 17:21:54 +00:00 dc_profile_dir
77443 drwx 4096 Jul 31 2019 17:21:54 +00:00 gs_script
46468 -rw- 65568 Jul 31 2019 17:22:11 +00:00 memleak.tcl
46469 -rw- 796 Jul 31 2019 17:24:59 +00:00 vlan.dat

1621966848 bytes total (996462592 bytes free)

 

Thanks for any hints and tips.

 

Greetings,

Patrick

 

 

View solution in original post

6 REPLIES 6
Highlighted
VIP Advisor

What is in the flash:/.installer directory?

 

delete /force /rec flash:/.installer
Highlighted

#dir flash:/.installer/
Directory of flash:/.installer/

No files in directory

1621966848 bytes total (513089536 bytes free)
Highlighted
VIP Mentor

Hi
use the software clean command see if that helps

i would reboot the switch too it may fix it , could be just locked up

you could also format the flash but then you would have to rommon an image back onto it
Highlighted
Hall of Fame Community Legend

Did you (attempt) to transfer the file via USB?
This could very well be CSCvf75880.
Highlighted
Beginner

Hi all,

I tried to upload a new Image even if the Flash size shows not enough space.
Don´t know why, but this works. Seems to be a cosmetic bug. The Flash size represent not the real world.

###################################################

#dir
Directory of flash:/

46472 -rw- 2097152 Jul 27 2019 17:56:58 +00:00 nvram_config
46473 -rw- 2097152 Jul 27 2019 17:56:58 +00:00 nvram_config_bkup
46474 drwx 4096 Jul 27 2019 17:57:10 +00:00 .installer
46467 -rw- 535578976 Jul 30 2019 15:00:18 +00:00 cat3k_caa-universalk9.16.03.08.SPA.bin

1621966848 bytes total (0 bytes free)

 

#verify /md5 flash:cat3k_caa-universalk9.16.03.08.SPA.bin
......................................................................................................................................................................................................................................................................................................................................................................Done!
verify /md5 (flash:cat3k_caa-universalk9.16.03.08.SPA.bin) = c98d0b937945f30b3cd8f58702461b6f

 

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

Expanding image file: flash:cat3k_caa-universalk9.16.03.08.SPA.bin
[]: Finished copying to switch
[1]: Expanding file
[1]: Finished expanding all-in-one software package in switch 1
SUCCESS: Finished expanding all-in-one software package.
[1]: Performing install


#dir
Directory of flash:/

46472 -rw- 2097152 Jul 27 2019 17:56:58 +00:00 nvram_config
46473 -rw- 2097152 Jul 27 2019 17:56:58 +00:00 nvram_config_bkup
46474 drwx 4096 Jul 27 2019 17:57:10 +00:00 .installer
46478 -rw- 4737 Jul 30 2019 15:11:57 +00:00 packages.conf
46479 -rw- 15938176 Jul 30 2019 15:10:44 +00:00 cat3k_caa-guestshell.16.03.08.SPA.pkg
46482 -rw- 22306936 Jul 30 2019 15:11:26 +00:00 cat3k_caa-rpbase.16.03.08.SPA.pkg
46490 -rw- 264563320 Jul 30 2019 15:10:49 +00:00 cat3k_caa-rpcore.16.03.08.SPA.pkg
46481 -rw- 9671296 Jul 30 2019 15:10:50 +00:00 cat3k_caa-srdriver.16.03.08.SPA.pkg
46491 -rw- 209654388 Jul 30 2019 15:11:23 +00:00 cat3k_caa-wcm.16.03.08.SPA.pkg
46480 -rw- 13439612 Jul 30 2019 15:10:50 +00:00 cat3k_caa-webui.16.03.08.SPA.pkg

1621966848 bytes total (0 bytes free)


###################################################


Finaly I have to wait for a maintenance window for the reload but I will keep you informed about this.

Highlighted

Hi all,

 

after reload the Switch booted with the new IOS. The Flash: space is now showing correct values.

So that was a cosmetic bug. 

 

#dir
Directory of flash:/

46472 -rw- 2097152 Aug 1 2019 14:24:48 +00:00 nvram_config
46473 -rw- 2097152 Aug 1 2019 14:24:49 +00:00 nvram_config_bkup
46474 drwx 4096 Jul 27 2019 17:57:10 +00:00 .installer
46467 drwx 4096 Jul 31 2019 17:25:12 +00:00 core
46478 -rw- 4737 Jul 30 2019 15:11:57 +00:00 packages.conf
54209 drwx 4096 Jul 31 2019 17:21:45 +00:00 .prst_sync
46479 -rw- 15938176 Jul 30 2019 15:10:44 +00:00 cat3k_caa-guestshell.16.03.08.SPA.pkg
46482 -rw- 22306936 Jul 30 2019 15:11:26 +00:00 cat3k_caa-rpbase.16.03.08.SPA.pkg
46490 -rw- 264563320 Jul 30 2019 15:10:49 +00:00 cat3k_caa-rpcore.16.03.08.SPA.pkg
46481 -rw- 9671296 Jul 30 2019 15:10:50 +00:00 cat3k_caa-srdriver.16.03.08.SPA.pkg
46491 -rw- 209654388 Jul 30 2019 15:11:23 +00:00 cat3k_caa-wcm.16.03.08.SPA.pkg
46480 -rw- 13439612 Jul 30 2019 15:10:50 +00:00 cat3k_caa-webui.16.03.08.SPA.pkg
46466 -rw- 37 Jul 31 2019 17:21:40 +00:00 bootloader_evt_handle.log
69697 drwx 4096 Jul 31 2019 17:21:46 +00:00 .rollback_timer
77441 drwx 4096 Jul 31 2019 17:21:54 +00:00 dc_profile_dir
77443 drwx 4096 Jul 31 2019 17:21:54 +00:00 gs_script
46468 -rw- 65568 Jul 31 2019 17:22:11 +00:00 memleak.tcl
46469 -rw- 796 Jul 31 2019 17:24:59 +00:00 vlan.dat

1621966848 bytes total (996462592 bytes free)

 

Thanks for any hints and tips.

 

Greetings,

Patrick

 

 

View solution in original post

Content for Community-Ad