12-28-2011 11:05 PM - edited 03-07-2019 04:05 AM
Dear All,
I have a bootflash in 4507R with the size of 60MB. I upgraded the ios from cat4500-ipbasek9-mz.122-37.SG1.bin (12.8MB Size) to cat4500-entservices-mz.122-37.SG1.bin (13.8 MB SIZE) and deleted the previous IOS.
But previous IOS is still getting shown in sh bootflash: command. Furthermore, dir bootflash: commands shows there is only one IOS , which is running. Please Help, how I can free the space from bootflash , as I again have to upgrade the another new IOS ( of 16MB), which I tried through solarwinds tftp and couldn't upload successfully because of its limitation. Now, If I try to upload the new IOS through FTP, it gives me memory space error. Please help, how I can free the space captured by old IOS and also how I can delete the 3rd unknown entry of IOS (shown below output of commands)?
Switch-4507R#sh bootflash:
-#- ED ----type---- --crc--- -seek-- nlen -length- ---------date/time--------- n
ame
1 .D image E97E90C2 CCCCEC 34 12897388 Aug 31 2007 06:45:01 +05:00 c
at4500-ipbasek9-mz.122-37.SG1.bin
2 .. image 304B0B8E 19D746C 37 13674240 May 15 2011 20:32:17 +05:00 c
at4500-entservices-mz.122-37.SG1.bin
3 .D unknown 49EF2527 29D34EC 37 16760832 Dec 23 2011 10:16:42 +05:00 c
at4500-entservices-mz.122-54_SG1.bin
15911700 bytes available (43332844 bytes used)
==================================================================
Switch-4507R#dir bootflash:
Directory of bootflash:/
2 -rwx 13674240 May 15 2011 20:32:17 +05:00 cat4500-entservices-mz.122
-37.SG1.bin
59244544 bytes total (15911700 bytes free)
====================================================================
Switch-4507R#delete bootflash:cat4500-entservices-mz.12-54_SG1.bin ?
<cr>
Switch-4507R#delete bootflash:cat4500-entservices-mz.12-54_SG1.bin
Delete filename [cat4500-entservices-mz.12-54_SG1.bin]?
Delete bootflash:cat4500-entservices-mz.12-54_SG1.bin? [confirm]
%Error deleting bootflash:cat4500-entservices-mz.12-54_SG1.bin (File not found)
Switch-4507R#
========================================================
Please help, Thanks in advance
Regards,
Waqas
Solved! Go to Solution.
12-28-2011 11:09 PM
Try this: squeeze bootflash:
12-29-2011 02:37 AM
Hey Waqas,
Did it work? If it did, can you please mark this thread as "Answered"?
12-28-2011 11:09 PM
Try this: squeeze bootflash:
03-04-2014 11:12 AM
Leo
Thanks for this solution. I know this is a couple of years after you posted this but this solution helped me out today
This morning I had this
Router#sh bootflash:
-#- ED ----type---- --crc--- -seek-- nlen -length- ---------date/time--------- name
1 .. image D7314B58 C64090 17 12468240 Jan 19 2005 14:51:37 +00:00 S4KL3E-12.2.20EWA
2 .D unknown 9FF110A9 1BC4110 38 16121856 Mar 3 2014 19:15:03 +00:00 cat4500-entservicesk9-mz.150-2.SG2.bin
3 .. image 2155B5B6 2E53074 38 19459812 Mar 4 2014 13:27:01 +00:00 cat4500-entservicesk9-mz.150-2.SG2.bin
13291404 bytes available (48050292 bytes used)
Now I have this
Router#sh bootflash:
-#- ED ----type---- --crc--- -seek-- nlen -length- ---------date/time--------- name
1 .. image D7314B58 C64090 17 12468240 Jan 19 2005 14:51:37 +00:00 S4KL3E-12.2.20EWA
2 .. image 2155B5B6 1EF2FF4 38 19459812 Mar 4 2014 13:27:01 +00:00 cat4500-entservicesk9-mz.150-2.SG2.bin
29413388 bytes available (31928308 bytes used)
U R D Man
09-27-2018 12:53 AM
Thank Very much LEO
it is help me also :)
Regards
12-29-2011 02:37 AM
Hey Waqas,
Did it work? If it did, can you please mark this thread as "Answered"?
02-17-2012 01:57 AM
Hi Leolaohoo,
Thanks for your help. It worked.
Regards,
Waqas
02-18-2012 03:20 PM
Thank you very much.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide