cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2816
Views
5
Helpful
3
Replies

Error deleting Image in bootflash

Tarun Vyas
Level 1
Level 1

I had plan to upgrade cisco 4948 switch, but while upgrading downloading image through TFTP got a space error, so I decided to delete old image from bootflash: but I am not able to delete image getting error.

1) NO SPACE ERROR

Loading cat4500-entservicesk9-mz.150-2.SG9.bin from 192.168.88.8 (via Vlan13): !

%Error copying tftp://192.168.88.8/cat4500-entservicesk9-mz.150-2.SG9.bin (Not enough space on device)

2) SHOW IMAGE DETAILS

 

HOSTNAME#sh bootflash:

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

1   .D image        D2718DD7  DBF45C   39 14152668 Feb 12 2007 12:31:23 +05:30 cat4500-entservicesk9-mz.122-31.SGA.bin

2   .D image        CE47E7C0 1B0C990   41 13948084 Jul 25 2010 11:28:46 +05:30 cat4500-entservicesk9-mz.122-31.SGA11.bin

3   .D image        639E3FDC 2D9F6F0   38 19475680 Dec 28 2014 05:38:44 +05:30 cat4500-entservicesk9-mz.150-2.SG9.bin

 3) NOT ABLE TO DELETE OLD IMAGE

HOSTNAME#delete bootflash:cat4500-entservicesk9-mz.122-31.SGA11.bin

Delete filename [cat4500-entservicesk9-mz.122-31.SGA11.bin]?

Delete bootflash:cat4500-entservicesk9-mz.122-31.SGA11.bin? [confirm]

%Error deleting bootflash:cat4500-entservicesk9-mz.122-31.SGA11.bin (File not found)

 

Please  suggest what I can do to upgrade device and I am also afrad that if my device got reboot will it load current IOS or will go on ROMON mode.

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

Can you post the output of "dir"

Also, if you download a new IOS and set the bootloader to boot from the new IOS, after the reboot the new IOS should load.

HTH 

Hi Reza,

I am saying their is no space in bootflash: to download the new image in bootflash. To make a free space available in bootflash I need to delete old image and having issue while deleting old image.

 

Please get the dir output

 

HOSTNAME#dir

Directory of bootflash:/

 

No files in directory

amikat
Level 7
Level 7

Hi,

All your files within the bootflash seem to be marked as "deleted" which is rather strange. There is a command "squeeze bootflash:" to permanently erase deleted files from the Class A flash file system, but before you consider to use this one you should understand that your bootflash remains empty after.

I have noticed that you are trying to tftp the same image as the #3 image in the bootflash. So you may try to undelete that one via the "undelete 3 bootflash:" command and if succeeded set the bootvar accordingly.

Good Luck!

Best regards,

Antonin

Review Cisco Networking products for a $25 gift card