Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Error copying flash

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.

18 REPLIES
Silver

Re: Error copying flash

do a squeeze flash: command

HTH

Hoogen

Do rate if this helps :)

Community Member

Re: Error copying flash

I received the same result. Thank you for trying.

Silver

Re: Error copying flash

the last step format your flash and then load the new image

HTH

hoogen

Re: Error copying flash

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

Community Member

Re: Error copying flash

It did not work but thank you for the input. I still receive the same error message.

Re: Error copying flash

As suggested try formatting the flash

check out this link for more details on formatting the flash

http://www.cisco.com/en/US/products/hw/routers/ps259/products_configuration_guide_chapter09186a008007e5fb.html

HTH, rate if it does

Narayan

Community Member

Re: Error copying flash

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.

Cisco Employee

Re: Error copying flash

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

Community Member

Re: Error copying flash

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.

Re: Error copying flash

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.

Community Member

Re: Error copying flash

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.

Cisco Employee

Re: Error copying flash

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

Community Member

Re: Error copying flash

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.

Re: Error copying flash

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.

Silver

Re: Error copying flash

Hi Mike ,

Have you tried loading the IOS using "copy xmodem: flash:flash name" command.

If you are not able to load the IOS using above command then boot the router in rommon mode and use the xmodem procedure to load the new IOS.

Hope this helps you..

Thanks,

Satish

Community Member

Re: Error copying flash

Were all copies from the same source file? I recently tried to restore an IOS to a 2600 by copying the same IOS to over and over. Then I made a new copy from another 2600 and tried it. Worked first time! Even though it wasn't apparent, it seems my original file was corrupt.

Silver

Re: Error copying flash

Use FTP , there is a limitation on the tftp file size (32 meg I beleive). Using FTP should allow you to tranfer the file

Re: Error copying flash

Hi,

As mentioned by another netpro, your TFTP could be a problem as well. In that case, try 3COM Daemon Version 2.0 Revision 10 before you send it for RMA

http://support.3com.com/software/utilities_for_windows_32_bit.htm

1613
Views
0
Helpful
18
Replies
CreatePlease to create content