Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

squeeze command

Hello,

I am unsure how to clear files out of my flash. After I delete a file it has the [deleted] tag next to it when a show flash: is performed. I thought all I had to do was squeeze the flash to get rid of it but it keeps giving me the following:

Router#squeeze flash:

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

first create squeeze log by erasing the entire device

%Error squeezing flash (Unknown error 0)

Router#

Guidance?

Thanks,

Richard

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Bronze

Re: squeeze command

Richard,

On Cisco 2600 or Cisco 3600 series routers, the entire file system has to be erased once before the squeeze command can be used. After being erased once, the squeeze command should operate properly on the flash file system for the rest of the flash file system's history.

Please follow the instructions on this page on how to erase the flash:

http://www.cisco.com/en/US/docs/ios/fundamentals/command/reference/cf_s3.html#wp1023203

HTH,

__

Edison.

8 REPLIES
Hall of Fame Super Bronze

Re: squeeze command

Richard,

On Cisco 2600 or Cisco 3600 series routers, the entire file system has to be erased once before the squeeze command can be used. After being erased once, the squeeze command should operate properly on the flash file system for the rest of the flash file system's history.

Please follow the instructions on this page on how to erase the flash:

http://www.cisco.com/en/US/docs/ios/fundamentals/command/reference/cf_s3.html#wp1023203

HTH,

__

Edison.

New Member

Re: squeeze command

Edison,

Does that mean I need to erase flash ... then run the squeeze command ... and then reload the IOS back into flash?

Richard

Hall of Fame Super Bronze

Re: squeeze command

Richard,

Once you erase flash, you don't need to run the squeeze command as all files will be gone.

By doing the erase flash command once, you are conditioning the file system for future squeeze commands.

__

Edison.

New Member

Re: squeeze command

Edison,

Understood. But, just want to make sure that once I erase the flash, I will then have to put the IOS back in. Basically, the steps will be ...

1. erase flash

2. copy tftp flash:WORD

Then future flash deletes will be able to be squeezed.

Purple

Re: squeeze command

That is correct , you have erase the entire flash then load IOS back on . This is not a big deal as long as you don't have a power outage before you get the image loaded back on .

:-) Not sure why they did it this way or why this wasn't handled at the factory initially.

New Member

Re: squeeze command

Glen,

Thanks. I was wondering if that was the case why they just don't do that before it leaves the factory. Oh well ... something for me to do I guess.

Richard

Hall of Fame Super Bronze

Re: squeeze command

Richard,

Originally, those router models did not support the squeeze command at all.

If you look at the link I posted, the command was introduced on 12.2(1) on those routers.

Here is more information from 12.2's Release Notes:

http://www.cisco.com/en/US/docs/ios/12_2/release/notes/122newf.html#wp49244

Many of these routers left the factory with releases older than 12.2, thus it couldn't be done in the factory.

HTH,

__

Edison.

New Member

Re: squeeze command

Edison,

Gotcha. I read what you linked before (and found it useful) but just didn't put 2 and 2 together with respect to the steps involved. That makes more sense. Again, thanks for the spot on information.

Richard

160
Views
5
Helpful
8
Replies