cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
622
Views
0
Helpful
4
Replies

Can't squeeze file from FLASH:

rmv72
Level 1
Level 1

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

"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.

View solution in original post

4 Replies 4

deilert
Level 6
Level 6

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

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.

"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.

Thank you! It's helped!