command:squeeze
[[command:squeeze]] last edit on
Oct 18, 2006
10:42 PM
by Anonymous
squeeze command
To permanently erase files tagged as "deleted" or "error" on Class A Flash file systems, use the squeeze command in EXEC mode.
syntax
squeeze [/nolog] [/quiet] filesystem:
Documentation Links
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/fun_r/frprt2/frd2001.htmhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_command_reference_chapter09186a00800b0ebd.html#1033959
History
| a1 |
a2 |
a3 |
| 12.1(9), 12.0(17)S 12.0(17)ST, 12.2(2), 12.2(2)T, 12.2(2)B, 12.1(9)E |
The /nolog and /quiet keywords were added. | |
cmd note
per "Checkin related to bug: CSCed95541 , 2004 (Mar 21)":
Ref Label: GEORGIA
"4.3) /nolog option is not supported in 2600 and so it has been removed
from the EXEC CLI. Other platforms which do not support
nolog option has to add themselves to the registry given in the
changes (Am not planning to fix them).
"
Config Example
chopin2#sh flashSystem flash directory: File Length Name/status
1 10232932 c4gwy-io3sx3-mz.122-10.7.T6
2 302270 crashinfo_20010523-190637
[10535332 bytes used, 5979740 available, 16515072 total] 16384K bytes
of processor board System flash (Read/Write)
chopin2#del
chopin2#delete ?
/force Force delete
/recursive Recursive delete
flash:
File to be deleted
nvram: File to be deleted
chopin2#delete fl
chopin2#delete flash:crashinfo_20010523-190637
Delete filename [crashinfo_20010523-190637]?
Delete flash:crashinfo_20010523-190637? [confirm]
chopin2#show flash:
System flash directory: File Length Name/status
1 10232932 c4gwy-io3sx3-mz.122-10.7.T6
2 302270
crashinfo_20010523-190637 [deleted]
[10535332 bytes used, 5979740 available, 16515072 total] 16384K bytes of processor board System flash (Read/Write)
chopin2#
chopin2#squ
chopin2#squeeze ?
/nolog Squeeze without squeeze logs
/quiet Squeeze without progress update
flash: Filesystem to be squeezed
chopin2#squeeze fl
chopin2#squeeze flash: ?
chopin2#squeeze flash:
Squeeze operation may take a while. Continue?
[confirm]
squeeze in progress...
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Rebuild file system directory... Squeeze of flash complete
chopin2#sh fla
chopin2#sh flash:
System flash directory: File Length Name/status
1 10232932 c4gwy-io3sx3-mz.122-10.7.T6
[10232996 bytes used, 6282076 available, 16515072 total] 16384K bytes
of processor board System flash (Read/Write)
chopin2#
see also
erase flash:related
gebosyntax:tablesCategory: commands