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

Unanswered Question
Mar 27th, 2009
User Badges:

Dears;


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]?



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Leo Laohoo Fri, 03/27/2009 - 17:14
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Try "squeeze flash:". (Don't forget the ":" at the end.)

Joseph W. Doherty Fri, 03/27/2009 - 18:24
User Badges:
  • Super Bronze, 10000 points or more

NB:

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
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

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
User Badges:
  • Super Bronze, 10000 points or more

Leo,

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.

ahmedalammari Sun, 03/29/2009 - 16:18
User Badges:

Dears;


Ok now by using " squeeze flash: " command.


Thx alot for all.

Actions

This Discussion