cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3041
Views
5
Helpful
18
Replies

IOS delete and upgrade problem

cowetacoit
Level 1
Level 1

I have made two attempts to delete the following images and upgrade to the newest image. The current running boot image is called "flash". The image release is in the Show Version. I get the following error when i try to delete the 2 cat4000 files. Of course i'm out of disk space to put the newest image on the switch. Thanks in advance for the help.

Library_4510#sh bootflash:

-#- ED ----type---- --crc--- -seek-- nlen -length- ---------date/time--------- name

1 .D image 64CD0875 C53B3C 31 12401340 Dec 7 2007 10:25:23 +00:00 cat4000-i9s-mz.122-25.EWA11.bin

2 .. config 1C0F5C98 C57044 2 13448 Feb 18 2008 06:11:25 +00:00 no

3 .. image 8B70D372 182B344 5 12403328 Feb 19 2008 13:55:33 +00:00 flash

4 .D image A3D3B363 24F4664 31 13406880 Feb 20 2008 06:36:45 +00:00 cat4500-ipbase-mz.122-40.SG.bin

5 .. config 5A083253 24FB734 5 28751 Apr 10 2008 05:12:21 +00:00 rtftp

6 .D image 4D2777C4 30D021C 31 12405352 Mar 13 2009 08:21:48 +00:00 cat4000-i5s-mz.122-25.EWA14.bin

8584676 bytes available (50659868 bytes used)

Library_4510#delete bootflash:cat4000-i9s-mz.122-25.EWA11.bin

Delete filename [cat4000-i9s-mz.122-25.EWA11.bin]?

Delete bootflash:cat4000-i9s-mz.122-25.EWA11.bin? [confirm]

%Error deleting bootflash:cat4000-i9s-mz.122-25.EWA11.bin (File not found)

Library_4510#sh ver

Cisco IOS Software, Catalyst 4000 L3 Switch Software (cat4000-I5S-M), Version 12.2(25)EWA12, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2007 by Cisco Systems, Inc.

Compiled Thu 15-Nov-07 18:21 by kellythw

Image text-base: 0x10000000, data-base: 0x114BC884

ROM: 12.2(20r)EW1

Dagobah Revision 226, Swamp Revision 34

Library_4510 uptime is 3 hours, 44 minutes

Uptime for this control processor is 3 hours, 44 minutes

System returned to ROM by reload

Running default software

cisco WS-C4510R (MPC8245) processor (revision 4) with 524288K bytes of memory.

Processor board ID FOX114102E1

MPC8245 CPU at 400Mhz, Supervisor V

Last reset from Reload

9 Virtual Ethernet interfaces

296 Gigabit Ethernet interfaces

511K bytes of non-volatile configuration memory.

Configuration register is 0x2102 (will be 0x2101 at next reload)//////////////I changed it back in case of a power outage. with 0x2102 it would boot to ROMMON because the cat4500 image wouldn't load. See the following Boot maker command. This wouldn't take. In ROMMON i'd issue BOOT and it would bootup the file name FLASH.

boot-start-marker

boot system flash bootflash:cat4500-ipbase-mz.122-40.SG.bin

boot-end-marker

1 Accepted Solution

Accepted Solutions

The images are deleted but you need to do a squeeze command to free up the space.

squeeze bootflash:

You can try dir bootflash: and show bootflash: after execute the squeeze command.

HTH,

jerry

View solution in original post

18 Replies 18

Jerry Ye
Cisco Employee
Cisco Employee

Hi,

You can try this:

delete bootflash:/cat4000-i9s-mz.122-25.EWA11.bin

HTH,

jerry

Library_4510#delete bootflash:/cat4000-i9s-mz.122-25.EWA11.bin

Delete filename [cat4000-i9s-mz.122-25.EWA11.bin]?

Delete bootflash:/cat4000-i9s-mz.122-25.EWA11.bin? [confirm]

%Error deleting bootflash:/cat4000-i9s-mz.122-25.EWA11.bin (File not found)

Library_4510#

:/

Can you provide the output of the following command

show file system

Regards,

jerry

Yes. Thanks again. I'm stumped.

Library_4510#show file systems

File Systems:

Size(b) Free(b) Type Flags Prefixes

* 59244544 8584676 flash rw bootflash:

- - flash rw slot0:

- - opaque rw system:

- - opaque ro crashinfo:

524280 522704 flash rw cat4000_flash:

524280 511824 nvram rw nvram:

- - nvram rw slavenvram:

- - flash rw slavebootflash:

- - flash rw slavecat4000_flash:

- - flash rw slaveslot0:

- - opaque ro slavecrashinfo:

- - unknown rw slavercsf:

- - opaque rw null:

- - opaque ro profiler:

- - network rw tftp:

- - network rw rcp:

- - network rw http:

- - network rw ftp:

- - opaque ro cns:

Not a problem. Can you provide the output of the following command

dir bootflash:/

Library_4510#dir bootflash:/

Directory of bootflash:/

2 -rw- 13448 Feb 18 2008 06:11:25 +00:00 no

3 -rwx 12403328 Feb 19 2008 13:55:33 +00:00 flash

5 -rw- 28751 Apr 10 2008 05:12:21 +00:00 rtftp

59244544 bytes total (8584676 bytes free)

The images are deleted but you need to do a squeeze command to free up the space.

squeeze bootflash:

You can try dir bootflash: and show bootflash: after execute the squeeze command.

HTH,

jerry

No problems during production?

SQUEEZE command is invalid

It is doing I/O on the disk, just like copying image into the disk, no reboot is required. I've done it during production before. If you company's change management policy is tight, then you should ask for a change window.

HTH,

jerry

AHH....Hidden command. It is "squeezing" now.

Thanks guys!

Now, i wonder why it didn't accept the boot marker command?

The boot system command doesn't check for the software on disk. You can put whatever you want, but during boot up, if the image is not on disk, it will go into ROMMON if there isn't valid secondary boot statement.

HTH,

jerry

Try adding or removing space after bootflash:/cat4000-i9s-mz.122-25.EWA11.bin.

Mohamad

There were no spaces after the image name. I added a space and still got "file not found". The switch has been rebooted a couple times just to make sure it wasn't already deleted and needed a reboot.

Can you squeeze memory?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco