How I can delete some of IOS under flash in C3845?-HELP

Unanswered Question
Mar 27th, 2009


When I use the below command

ZMad-POP-C3845#sh flash:

System CompactFlash directory:

File Length Name/status

1 18668672 c3845-ipbase-mz.124 17b.bin

2 532480 c3845-adventerprisek9-mz.124-4.T.bin [deleted]

3 339968 c3845-adventerprisek9-mz.124-4.T.bin [deleted]

4 1269760 c3845-advipservicesk9-mz.124-19.bin [deleted]

5 2084864 c3845-advipservicesk9-mz.124-19.bin [deleted]

[64225276 bytes used, 0 available, 64225276 total]

62720K bytes of ATA System CompactFlash (Read/Write)

I found some flash files deleted but still utilize the flash and I want to clear it and erase it ONLY the files with keyword [deleted]?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joseph W. Doherty Fri, 03/27/2009 - 18:24


At some point in the future, you might try a "format" rather than an "erase" of the flash. (Warning, both command will remove all flash contents.) If flash supports "format", deleted files will recover space without need for a "squeeze".

Leo Laohoo Fri, 03/27/2009 - 19:00

Hi Joseph,

The reason why I didn't want to recommend "format flash:" is because of the presence of a valid IOS.

Joseph W. Doherty Sat, 03/28/2009 - 05:18


Your answer was quite correct for the question asked. The OP made it quite clear ONLY deleted files were to be erased. My suggestion was directed to avoid the issue in the future, not a recommendation it be done now.


This Discussion