When you just issue "delete file" command -IOS does not actually delete
file - it marks file as deleted and hides its name (see example below -
deleted file test_file_to_delete) , so you can undelete it later,
These hidden files can consume quite a lot of memory if you do not watch for
them.
The other problem that if you copy another file into the flash, it is being
written AFTER last byte of the "deleted" file, so you end up having "black
holes" in your flash.
The only way (at least the only way I know about with 5300 and 3600) to get
rid of them is to "erase flash".
you can see your hidden files with "dir /all"
cwas-access#dir
Directory of flash:/
1 -rw- 7575284 <no date> c5300-is-mz.121-1a.T1.bin
2 -rw- 392241 <no date> mica-modem-pw.2.7.1.0.bin
16777216 bytes total (8799356 bytes free)
cwas-access#dir /all
Directory of flash:/
1 -rw- 7575284 <no date> c5300-is-mz.121-1a.T1.bin
2 -rw- 392241 <no date> mica-modem-pw.2.7.1.0.bin
3 -rw- 10137 <no date> [test_file_to_delete]
16777216 bytes total (8799356 bytes free)
RGRDS,
Evgeny
""Palis Michael"" <[EMAIL PROTECTED]> wrote in message
00e901bfe4de$3e65e100$[EMAIL PROTECTED]">news:00e901bfe4de$3e65e100$[EMAIL PROTECTED]...
> I tried it on my AS5300 and it works
>
> I issued the command delete flash:<file name> and the file was deleted
> without any problem
>
>
> ----- Original Message -----
> From: Evgeny Babanin <[EMAIL PROTECTED]>
> Newsgroups: groupstudy.cisco
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 03, 2000 1:48 PM
> Subject: Re: file can't be deleted on 3640
>
>
> > I had the same problem (btw 5300 is the same)- You have to erase flash
> > before copying new file.
> >
> > RGRDS,
> > Evgeny
> > "Jim Bond" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Hello,
> > >
> > > I copied IOS file to flash memory but got checksum
> > > error. I wanted to delete the file but failed. I used
> > > the command "delete flash:xxxxx" and got "no such file
> > > or directory" but "show flash" the file is there.
> > >
> > > How can I delete the bad flash?
> > >
> > > Thanks in advance.
> > >
> > >
> > > Jim
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Kick off your party with Yahoo! Invites.
> > > http://invites.yahoo.com/
> > >
> > > ___________________________________
> > > UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
> > > FAQ, list archives, and subscription info: http://www.groupstudy.com
> > > Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
> > > ---
> >
> >
> > ___________________________________
> > UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
> > FAQ, list archives, and subscription info: http://www.groupstudy.com
> > Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
> >
>
> ___________________________________
> UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
> FAQ, list archives, and subscription info: http://www.groupstudy.com
> Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
> ---
___________________________________
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]