cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Flash space is not freed after deleting a file

5754
Views
5
Helpful
0
Comments

Core Issue

When a file is deleted in the Class B Flash file system, the memory space occupied by the deleted file is not released until you issue the squeeze { flash: | slot0: } command.

Resolution

To release the memory space occupied by a deleted file, issue the squeeze { flash: | slot0: } command, as shown in this output: 

Router# squeeze slot0:

Squeeze operation may take a while. Continue? [confirm]
squeeze in progress...
sssssssssssssssssssssssseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

If the squeeze command is not available, you can issue the erase command.

The erase command should not be issued on the Flash occupied by the Cisco IOS  routers, as shown in this output:

Router# erase slot0:

Erasing the slot0 filesystem will remove all files! Continue? [confirm]
Current DOS File System flash card in slot0: will be formatted into Low
End File System flash card! Continue? [confirm]
Erasing device...
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
...erased
Erase of slot0: complete


CreatePlease to create content
Content for Community-Ad