05-22-2007 08:49 AM - edited 03-05-2019 04:13 PM
Hell Friends,
Help me in upgrading IOS on 1841. I can see .bin file in flash but when I type del that file I get error file not found.
Regards
Solved! Go to Solution.
05-22-2007 11:03 AM
Hemant
The additional information is useful. It does show that there is a bit less than 8 MB available in flash. The part that I find most interesting is the file named "y" which appears to have been created today and has over 14 MB of space. Can you tell us what that file is?
To load the new image you will need to delete something to free up enough space so that the new image will fit. From my perspective the easy choice would be to delete the file named y. If you do not want to delete this one, then we need to identify enough of the other files in flash so that you can delete them and get enough space for the new image.
HTH
Rick
05-22-2007 08:52 AM
Make sure that all the cases are correct.
05-22-2007 08:59 AM
Hemant
If you are getting a file not found error, the most likely cause is that something is not matching between what you type and what the 1841 is finding. What you should type should be pretty much like this:
delete flash:
perhaps you can try it again and capture and post exactly what you have typed and what error message you got. It would also be helpful if you post the output of show flash.
Remember the colon between flash and the file name. Remember to type the file name exactly (I like to cut and paste to eliminate the possibility of typo mistakes).
HTH
Rick
05-22-2007 09:00 AM
hello,
Can you please paste the output of " dir flash:"
Please see the link below for upgrading the IOS on 1841 router:
http://www.cisco.com/en/US/products/ps5854/prod_troubleshooting_guide09186a00802c35d5.html
HTH,Please rate if it does.
-amit singh
05-22-2007 10:29 AM
Thanks to all of you. I managed to delete the bin file but when I copy from TFTP new one I get error of not enough space.
Regards
05-22-2007 10:40 AM
Hi there,
You need to do "squeeze flash:" after deleting the file to reclaim the memory space occupied by a deleted file, then try copying the new file again.
HTH, please do rate all helpful replies,
Mohammed Mahmoud.
05-22-2007 10:44 AM
Hemant
I am glad that you were able to delete the bin file. If you are getting an error of not enough space then there must be other files in flash. If you would post the output of show flash it might help us to find an answer for you.
Some routers need to use the squeeze command after a file is deleted in flash to recover the space that the file had occupied. But the 1841 is not one of those routers. So the space from the bin file should already be available. The output of show flash should give us a better understanding of what is occupying space in flash.
HTH
Rick
05-22-2007 10:48 AM
Hi,
Sorry, the squeeze flash command applies only to the Class B flash file system. This command is unnecessary with Class C flash file systems, because unused file space is recovered automatically. Moreover, the squeeze flash command is not supported on Cisco 1800 series routers or Cisco 2801 routers.
As Rick has suggested please do post the output of the show flash, and also please check the size of the desired IOS.
HTH,
Mohammed Mahmoud.
05-22-2007 10:53 AM
Here it is.
show flash
-#- --length-- -----date/time------ path
1 14674316 May 22 2007 18:09:20 +00:00 y
2 1821 Apr 30 2007 17:30:54 +00:00 sdmconfig-18xx.cfg
3 4734464 Apr 30 2007 17:31:30 +00:00 sdm.tar
4 833024 Apr 30 2007 17:31:52 +00:00 es.tar
5 1052160 Apr 30 2007 17:32:16 +00:00 common.tar
6 1038 Apr 30 2007 17:32:36 +00:00 home.shtml
7 102400 Apr 30 2007 17:32:56 +00:00 home.tar
8 491213 Apr 30 2007 17:33:18 +00:00 128MB.sdf
9 1684577 Apr 30 2007 17:33:54 +00:00 securedesktop-ios-3.1.1.27-k9.pkg
10 398305 Apr 30 2007 17:34:20 +00:00 sslclient-win-1.1.0.154.pkg
7942144 bytes available (23990272 bytes used)
Thanks
05-22-2007 11:03 AM
Hemant
The additional information is useful. It does show that there is a bit less than 8 MB available in flash. The part that I find most interesting is the file named "y" which appears to have been created today and has over 14 MB of space. Can you tell us what that file is?
To load the new image you will need to delete something to free up enough space so that the new image will fit. From my perspective the easy choice would be to delete the file named y. If you do not want to delete this one, then we need to identify enough of the other files in flash so that you can delete them and get enough space for the new image.
HTH
Rick
05-22-2007 11:13 AM
Awesome Rick, Thanks bunch.
Regadrs
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: