cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1484
Views
5
Helpful
5
Replies

squeeze

amansoi_5
Level 1
Level 1

I want to permanently delete crash files from my cisco router. I have already deleted them but still they are occupying space in flash marked as deleted .

I have tried running squeeze but error mesage is coming . i am attaching text file .

can somebody help..?

regds,

Aman

5 Replies 5

Roberto Salazar
Level 8
Level 8

The 1700 series traditionally uses a class B filesystem, but now the 1700 Series Router

utilizes commands from class B filesystems as well as commands from class C filesystems.

In order to activate the class C filesystem commands on the, you first need to use the

erase command to completely remove all files from the Flash filesystem. Then, when the

Flash is empty, run the squeeze command against it to create a squeeze log. At this point,

the 1700 Flash system uses the delete and squeeze commands like a class C filesystem.

Further information in here:

http://www.cisco.com/en/US/products/sw/iosswrel/ps5012/prod_release_note0918

6a008007fe1b.html#xtocid17

Let me know how it goes.

thisisshanky
Level 11
Level 11

What kind of router is this ? There is a note in this link that the first time you use the flash file system, you have to erase the flash completely and then squeeze so that it creates a squeeze log. After that you will be able to use the delete and squeeze in the IOS.

Its possible that your flash was never formated and squeezed.

Note that while you do this procedure, if you lose power to the router, you will have a broken router stuck in rommon. I would advise you upload your image (in flash) to a TFTp server and then perform the format of the flash.

http://www.cisco.com/warp/public/63/pcmciamatrix.html

HTH

Sankar

PS: please remember to rate posts!

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

Hello,

Sankar is correct. I have recreated this. After issueing the erase command I could delete specific files then squeeze. See attachment. Hope this helps.

Regards,

James

Hello,

I have noticed that if I erase all and reload a previous IOS then upgrade back again - I receive the same prompt to erase the flash:

R2-1720A#delete running-config

Delete filename [running-config]?

Delete flash:running-config? [confirm]

R2-1720A#squeeze flash:

Squeeze operation may take a while. Continue? [confirm]

first create squeeze log by erasing the entire device

%Error squeezing flash (No such file or directory)

R2-1720A#

So if you have to remove the files - be able to copy your IOS back to flash:.

Hope this helps.

Regards,

James

I think the guidane which u people have provided will resolve the issue . To do this I need to take the down time..

Also, I have noticed one more command

squeeze /nolog flash:

which will remove all files in flash. After this I need to upload IOS.

regds,

aman