Cisco 827 flash problem

Unanswered Question
Aug 1st, 2010
User Badges:

Hi,


I have a Cisco 827-4V with 16MB flash, but if i try to copy a file larger than 8MB it gives me an error that there is no space.

But the 4 extra megas are there. I need this space to boot 12.4 IOS that are bigger than 8 MB.


Does anybody knows what would be happening?

Here is some information:


sh flash:


System flash directory:
No files in System flash
[0 bytes used, 12320764 available, 12320764 total]
12288K bytes of processor board System flash (Read/Write)


sh flash: summary
Partition   Size    Used      Free      Bank-Size  State          Copy Mode
  1        12031K      0K    12031K     1024K      Read/Write     Direct
                                     +  1024K
                                     +  1024K
                                     +  1024K
                                     +  1024K
                                     +  1024K
                                     +  1024K
                                     +  1024K
                                     +  4096K
12288K bytes of processor board System flash (Read/Write)


It seems that the last block (4096K) can't be mixed with the others (1024K)


Thank you,


Andoni.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Leo Laohoo Sun, 08/01/2010 - 17:11
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Try the command "squeeze flash:".

txopa1974 Mon, 08/02/2010 - 08:50
User Badges:

Thank you for your fast answer  leolaohoo !!


I will saw you what I'm talking about


Router1#del flash:c820-v6y6-mz.123-26.bin
Delete filename [c820-v6y6-mz.123-26.bin]?
Delete flash:c820-v6y6-mz.123-26.bin? [confirm]




Router1#sh flash:


System flash directory:
File  Length   Name/status
  1   6918948  c820-v6y6-mz.123-26.bin [deleted]
[6919012 bytes used, 5401752 available, 12320764 total]
12288K bytes of processor board System flash (Read/Write)



Router1#squeeze flash:
Squeeze operation may take a while. Continue? [confirm]
squeeze in progress... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Squeeze of flash complete

Router1#sh flash:


System flash directory:
No files in System flash
[0 bytes used, 12320764 available, 12320764 total]
12288K bytes of processor board System flash (Read/Write)


Router1#copy tftp: flash:
Address or name of remote host [192.168.1.2]?
Source filename [192.168.1.2]? c820-k9osv6y6-mz.123-8.T11.bin
Destination filename [c820-k9osv6y6-mz.123-8.T11.bin]?
Accessing tftp://192.168.1.2/c820-k9osv6y6-mz.123-8.T11.bin...
Erase flash: before copying? [confirm]n
Loading c820-k9osv6y6-mz.123-8.T11.bin from 192.168.1.2 (via Ethernet0): !!!!!!!
%Error copying flash:c820-k9osv6y6-mz.123-8.T11.bin (No space left on device)


Router1#sh flash:


System flash directory:
File  Length   Name/status
  1   8388608  c820-k9osv6y6-mz.123-8.T11.bin [deleted]
[8388672 bytes used, 3932092 available, 12320764 total]
12288K bytes of processor board System flash (Read/Write)

The size of c820-k9osv6y6-mz.123-8.T11.bin is of 10014940  bytes. And I have to boot it from tftp.


There is a workaround for this??


Thak you in advance.

Leo Laohoo Mon, 08/02/2010 - 14:54
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

This is wierd.


YOu can copy c820-v6y6-mz.123-26.bin but you can't copy c820-k9osv6y6-mz.123-8.T11.bin?  Have you tried copying another version of the IOS?

txopa1974 Mon, 08/02/2010 - 15:14
User Badges:

Hello leolaohoo,


I can copy c820-v6y6-mz.123-26.bin because is smaller than 8 MB (I think)


c820-v6y6-mz.123-26.bin      6918948 bytes


c820-k9osv6y6-mz.123-8.T11.bin      10014940 bytes


Thank you in advance,


Andoni.

Leo Laohoo Mon, 08/02/2010 - 15:44
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Yes, but the flash is 12320764 size.  It's more than your 10mb IOS ... by the way, what TFTP client are you using?  Are you using TFTP32?

txopa1974 Mon, 08/02/2010 - 16:00
User Badges:

Hi,

Look at the show flash: detail , it seems that the last bloxk size of 4 KB can't be mixed with the previous of 1KB. I don't know if it's posible to erase webflash: and add it to flash: it seems that the 827-4V is toos old  .


I use the tftp server tftpd-hpa package in my linux sustem (ubuntu), no tftp client, but iI have installed the tftp-hpa package too.


I hace copied other IOS to the flash, and it seems the only problem is to be bigger than 8MB.

Again, any workaround??


Thank you in advance,


Andoni.

Leo Laohoo Mon, 08/02/2010 - 16:06
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

I don't know if you can use this, but can you try using "TFTP32"?  Some TFTP clients have difficulties transfering very large files.


http://tftpd32.jounin.net/tftpd32_download.html

txopa1974 Tue, 08/03/2010 - 15:31
User Badges:

Hi,


I have made a probe with a notebook and I've copied the file correctly to the notebook:


tftp> get c820-k9osv6y6-mz.123-8.T11.bin
getting from 192.168.1.2:c820-k9osv6y6-mz.123-8.T11.bin to c820-k9osv6y6-mz.123-8.T11.bin [octet]
Received 10014940 bytes in 44.2 seconds [1811104 bit/s]

tftp> quit
andoni@andoni-txiki:/tmp$ ls -lrt

-rw-r--r-- 1 andoni andoni 10014940 2010-08-04 00:27 c820-k9osv6y6-mz.123-8.T11.bin


Thank you again,


Andoni.

Leo Laohoo Tue, 08/03/2010 - 15:34
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

IF this is resolved, can you mark this topic as "Answered"?  Thanks.

txopa1974 Tue, 08/03/2010 - 16:49
User Badges:

Hello,


The issue is not  resolved, I can copy from tftp server to my notebook, but I can't  copy from the tftp server to the flash memory of the router. That is what I need. I will try the tftp32 tftp server later.


Thank you in advance,


Andoni.

Actions

This Discussion