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

Can't squeeze file from FLASH:

I have next:

2610#dir

Directory of flash:/

1 -rw- 3422024 <no date> c2600-i-mz.120-10

3 -rw- 5849872 Aug 08 2002 20:33:21 c2600-i-mz.122-8.T5.bin

16777216 bytes total (525544 bytes free)

-------------

2610#sh flash:

System flash directory:

File Length Name/status

1 3422024 c2600-i-mz.120-10

2 6979584 c2600-is-mz.120-7.T2.bin [deleted]

3 5849872 c2600-i-mz.122-8.T5.bin

[16251672 bytes used, 525544 available, 16777216 total]

16384K bytes of processor board System flash (Read/Write)

-----------------

I write

2610#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)

and

2610#squeeze /nolog flash:

%Warning: If power is lost or the card is removed before the squeeze

completes, all the data on the flash would be lost and the device

will have to be reformatted.

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)

--------------------

How to solve that problem?

1 ACCEPTED SOLUTION

Accepted Solutions
Bronze

Re: Can't squeeze file from FLASH:

"On Cisco 2600 and 3600 series routers,the entire flash file system needs 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."

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800ca736.html#1001462

Hope that helps.

4 REPLIES
Silver

Re: Can't squeeze file from FLASH:

On a 3600 box, not sure if it is the same on a 2600 , you do either a erase flash or a delete flash , this will remove the unwanted files from flash . PS you may want to partition your flash it is easier to manage files

Cisco Employee

Re: Can't squeeze file from FLASH:

Erase flash will remore all the files form flash including un-deleted files.

Now to remove deleted files, squeez should work fine.

Try to delete that file again and issue squeez flash: again and see if that works.

If no luck, then erase thw whole flash and re-copy the required image again.

Bronze

Re: Can't squeeze file from FLASH:

"On Cisco 2600 and 3600 series routers,the entire flash file system needs 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."

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800ca736.html#1001462

Hope that helps.

New Member

Re: Can't squeeze file from FLASH:

Thank you! It's helped!

244
Views
0
Helpful
4
Replies
CreatePlease to create content