02-24-2007 06:35 AM - edited 03-03-2019 03:54 PM
Hello All,
I have a 3640 router with 128MB DRAM and 32MB FLASH. It is currently running IOS c3640-jk9o3s-mz.123-19.bin. I am trying to copy a new image into flash (c3640-ik9o3s-mz.124-7.bin) and receive the following output:
%Error copying flash:c3640-ik9o3s-mz.124-7.bin (No space left on device)
This is what I get when a show flash command is issued:
3640_1#sh flash
System flash directory:
File Length Name/status
1 25690048 c3640-ik9o3s-mz.124-7.bin [deleted]
[25690112 bytes used, 7340028 available, 33030140 total]
32768K bytes of processor board System flash (Read/Write)
How come the entire image does not fit into flash when there is enough room?
Thank you in advance.
02-24-2007 06:49 AM
do a squeeze flash: command
HTH
Hoogen
Do rate if this helps :)
02-24-2007 07:06 AM
I received the same result. Thank you for trying.
02-24-2007 07:13 AM
the last step format your flash and then load the new image
HTH
hoogen
02-24-2007 10:06 AM
Mike,
1. Erase the contents of the flash
erase flash:
2. Squeeze flash contents
squeeze flash:
(remember not to reload your router when you erase the flash, otherwise the router would go to rommon mode and you have to do a disaster recovery)
3. Upload the new IOS
4. Reload once upload is successful
let us know how it goes
HTH, rate if it does
Narayan
02-24-2007 10:25 AM
It did not work but thank you for the input. I still receive the same error message.
02-24-2007 10:58 AM
As suggested try formatting the flash
check out this link for more details on formatting the flash
HTH, rate if it does
Narayan
02-24-2007 02:14 PM
I still receive the same error message at the same point in the copy. I executd the squeeze command and then ran a sh flash: and got this:
3640_1#sh flash
System flash directory:
No files in System flash
[0 bytes used, 33030140 available, 33030140 total]
32768K bytes of processor board System flash (Read/Write)
I have gotten this same output every time I erase the flash memory. It just continues to tank in the same exact spot. Thank you for your effort.
02-25-2007 04:12 AM
Mike,
Please ensure that there are no files in the flash (not even marked deleted). Next, ensure that the laptop/workstation on which you have the tftp server does not go into standby mode and disbale the screen saver as well. Try a different tftp server.
http://tftpd32.jounin.net/download/tftpd32.302.zip
I have seen it work this way. Good luck!
Do let us know, how it goes.
- Vaibhav
02-25-2007 05:45 AM
I tried this procedure 2 times and failed both times in the same spot that it has been failing at. I have also tried different images and get the same results when the image size goes past the point where it fails. Thank you for trying.
02-26-2007 06:56 AM
For 3640 after you use the "delete" command, execute "erase" command. You may need to point to "slot0:" or "slot1:" not "flash:", i.e.
3640# delete slot0:c3640-ik9o3s-mz.124-7.bin
or
3640# delete slot1:c3640-ik9o3s-mz.124-7.bin
then..
3640# erase slot0:
or
3640# erase slot1:
If it still doesn't work, can you post the output of the following?
3640# show flash:
3640# show slot0:
3640# show slot1:
We need to see if there is partition.
02-26-2007 04:57 PM
It failed again. Here we go:
3640_1#sh flash
System flash directory:
File Length Name/status
1 19578456 c3640-ik9o3s-mz.123-19.bin
[19578520 bytes used, 13451620 available, 33030140 total]
32768K bytes of processor board System flash (Read/Write)
**Here is what is in flash before I start**
3640_1#sh slot0:
%Device 'slot0:' is in REMOVED state
%Error show slot0: (No device available)
3640_1#sh slot1:
%Device 'slot1:' is in REMOVED state
%Error show slot1: (No device available)
**No devices in slot 0 or slot 1**
3640_1#delete flash:c3640-ik9o3s-mz.123-19.bin
Delete filename [c3640-ik9o3s-mz.123-19.bin]?
Delete flash:c3640-ik9o3s-mz.123-19.bin? [confirm]
3640_1#erase flash:
Erasing the flash filesystem will remove all files! Continue? [confirm]
Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erased
Erase of flash: complete
3640_1#delete slot0:
Delete filename [c3640-ik9o3s-mz.123-19.bin]?
Delete slot0:c3640-ik9o3s-mz.123-19.bin? [confirm]
%Error deleting slot0:c3640-ik9o3s-mz.123-19.bin (No device available)
3640_1#delete slot1:
Delete filename [c3640-ik9o3s-mz.123-19.bin]?
Delete slot1:c3640-ik9o3s-mz.123-19.bin? [confirm]
%Error deleting slot1:c3640-ik9o3s-mz.123-19.bin (No device available)
**Again, no devices installed**
3640_1#3640_1#copy tftp flash
Address or name of remote host [192.168.1.10]?
Source filename [c3640-ik9os3-mz.124-7.bin]? c3640-ik9o3s-mz.124-7.bin
Destination filename [c3640-ik9o3s-mz.124-7.bin]?
Accessing tftp://192.168.1.10/c3640-ik9o3s-mz.124-7.bin...
Erase flash: before copying? [confirm]
Erasing the flash filesystem will remove all files! Continue? [confirm]
Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erased
Erase of flash: complete
Loading c3640-ik9o3s-mz.124-7.bin from 192.168.1.10 (via Ethernet0/0): !!!!!!!!!
**omitted about a page of !**
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
%Error copying flash:c3640-ik9o3s-mz.124-7.bin (No space left on device)
3640_1#sh flash
System flash directory:
File Length Name/status
1 25690048 c3640-ik9o3s-mz.124-7.bin [deleted]
[25690112 bytes used, 7340028 available, 33030140 total]
32768K bytes of processor board System flash (Read/Write)
3640_1#sh slot0:
%Device 'slot0:' is in REMOVED state
%Error show slot0: (No device available)
3640_1#sh slot1:
%Device 'slot1:' is in REMOVED state
%Error show slot1: (No device available)
3640_1#
Not sure why you wanted the slot0 and slot1 info, but you have it. Thank you for the try.
02-26-2007 06:27 PM
Mike, the flash on the router should be able to accomodate the image that you are trying to copy. I would again suggest trying a different tftp server, if you have't done that already.
I use tftpd32, and it resolves many such issues.
http://tftpd32.jounin.net/download/tftpd32.302.zip
-Vaibhav
02-27-2007 02:16 AM
I have tried the tftp server you provided the link for. The download manages to crap-out at the same exact spot every time no matter what tftp server I use or how I try to erase/delete/squeeze the flash. Thank you for trying.
02-27-2007 02:35 AM
His problem is he cannot totally erase or squeeze the deleted IOS, therefore there is no room for him to install the same or new IOS.
Mike,
If your router have a back-to-back maintenance with Cisco, you should contact them or your Vendor. Maybe send it for RMA, it could be a hardware problem.
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: