cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
26113
Views
0
Helpful
20
Replies

Impossible to upgrade IOS Catalyst 3560?

torleif
Level 1
Level 1

Hello!

I want to upgrade a Catalyst 3560-48PS to the last IOS.

I get an errormessage stating that there is insufficient space in flash: I have deleted all files in flash - but I still get the same error message. According to the documentation there should be enough memory. Messages are pasted below.

What am I missing?

Regards,

Torleif

Switch#dir

Directory of flash:/

No files in directory

15998976 bytes total (15997952 bytes free)

Switch#archive download-sw tftp://192.168.9.13/c3560-ipservicesk9-tar.122-55.SE.tar

Loading c3560-ipservicesk9-tar.122-55.SE.tar from 192.168.9.13 (via Vlan9): !!!!!!!

[OK - 15964160 bytes]

Loading c3560-ipservicesk9-tar.122-55.SE.tar from 192.168.9.13 (via Vlan9): !!!!!!!!

examining image...

extracting info (109 bytes)

extracting c3560-ipservicesk9-mz.122-55.SE/info (519 bytes)

extracting info (109 bytes)

System Type:             0x00000000

  Ios Image File Size:   0x00C19A00

  Total Image File Size: 0x00F37200

  Minimum Dram required: 0x08000000

  Image Suffix:          ipservicesk9-122-55.SE

  Image Directory:       c3560-ipservicesk9-mz.122-55.SE

  Image Name:            c3560-ipservicesk9-mz.122-55.SE.bin

  Image Feature:         IP|LAYER_3|PLUS|SSH|3DES|MIN_DRAM_MEG=128

Error: There is insufficient space in flash: to install the required

Error: image.  Clean up some old images, and try again.

Switch#

1 Accepted Solution

Accepted Solutions

Sorry - I have not been clear enough.

After booting the switch I format the flash. At that moment the flash is empty.

Then I download the 12.2.55 tar file - and I get an errormessage that there is not enoug space in flash for the 12.2.55 tar file.

Oh cr@p!  I made a mistake!

You've choosen and downloaded the WRONG IOS file.

Let me explain:  You have an appliance with 16 mb of flash.  You are trying to upgrade an IP Services to an appliance with only 16 mb of flash.  To do so you'll need a "special" file, a file with the prefix of "lm" or "lmk" (aka LITE).  The bad news is that 12.2(55)SE does NOT have an IP Services file with "lm" or "lmk".  The nearest one is 12.2(53)SE.  Be careful with this version because I've had bad history with this.

The only way is for you to drop further down to 12.2(50)SE and try this.   The 12.2(50)SE does not have an "lm" or "lmk" suffix but this will do.

View solution in original post

20 Replies 20

Leo Laohoo
Hall of Fame
Hall of Fame
What am I missing?

As what the error message says:  Your appliance's flash is running low.  Clean up first before running this command again.

rizwanr74
Level 7
Level 7

You can format the flash.

Be sure, not to reboot the switch.

thanks

You can format the flash.

Be sure, not to reboot the switch.

That'll work (nice, quick and very dirty!).

If you do go down this path, make sure you also save your config AFTER you format

Thanks for your suggestions.

Even if I format the flash I still get the same error message...

Any other ways of doing this?

Torleif

Switch#format flash:
Format operation may take a while. Continue? [confirm]
Format operation will destroy all data in "flash:".  Continue? [confirm]
flashfs[1]: 0 files, 1 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 15998976
flashfs[1]: Bytes used: 1024
flashfs[1]: Bytes available: 15997952
flashfs[1]: flashfs fsck took 11 seconds.
Format of flash complete
Switch#arc dow
Switch#$d-sw tftp://192.168.9.13/c3560-ipservicesk9-tar.122-55.SE5.tar
Loading c3560-ipservicesk9-tar.122-55.SE5.tar from 192.168.9.13 (via Vlan9): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 16640000 bytes]

Loading c3560-ipservicesk9-tar.122-55.SE5.tar from 192.168.9.13 (via Vlan9): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
examining image...
extracting info (110 bytes)
extracting c3560-ipservicesk9-mz.122-55.SE5/info (522 bytes)
extracting info (110 bytes)

System Type:             0x00000000
  Ios Image File Size:   0x00C2B200
  Total Image File Size: 0x00FDEA00
  Minimum Dram required: 0x08000000
  Image Suffix:          ipservicesk9-122-55.SE5
  Image Directory:       c3560-ipservicesk9-mz.122-55.SE5
  Image Name:            c3560-ipservicesk9-mz.122-55.SE5.bin
  Image Feature:         IP|LAYER_3|PLUS|SSH|3DES|MIN_DRAM_MEG=128

Error: There is insufficient space in flash: to install the required
Error: image.  Clean up some old images, and try again.

Switch#

strange ... your DIR shows that there are no files?

So where is the running image located ?

are there not a difference between format and erase ?

on some devices you need to squeeze the flash aswell ...

or try the /overwrite option

HTH

After booting the switch I have formatted the flash, so the flash is completly empty.

The squeeze command does not work.

I have tried the /overwrite option..

Torleif

The squeeze command does not work.

The squeeze command doesn't work for this IOS version (12.2).

Can you please post the output to the command "dir flash:"?

Before trying to upgrade the software the dir command shows:

Switch#dir

Directory of flash:/

No files in directory

15998976 bytes total (15997952 bytes free)

At the moment I have installed ios 12.2.35. This is the latest ios that I have been able to install.

The dir flash: command now shows:

Switch#dir flash:
Directory of flash:/

    2  -rwx         616   Mar 1 1993 00:01:50 +00:00  vlan.dat
    3  drwx         192   Mar 1 1993 18:14:51 +00:00  c3560-ipservicesk9-mz.122-35.SE5
  461  -rwx        2065   Mar 1 1993 00:02:15 +00:00  config.text
  462  -rwx          24   Mar 1 1993 00:02:15 +00:00  private-config.text

15998976 bytes total (5511680 bytes free)
Switch#

Torleif

I suspect a defective flash/device

i could be interresting to know how a reboot goes.

If the flash and filesystems will pass the POST diags etc,

note that a reboot very likely will be servicedisruptive as the device i likely to not reboot.

But it might retur to rommon and you could follow the "recover from bad flash" process and TFTP download the image via ROMMON

just a thought ...

HTH

I am grateful to all suggestions.

Boot is no problem. I have booted the switch several times.

As long as I use IOS 12.2.35 or earlier upgrade is no problem - it is the different 12.2.55 versions that makes problems.

If I try to upgrade using the 12.2.55 bin-files only I get an error message that the bin files are corrupt.

Is there any way to verify that the flash is OK?

Perhaps I should try to fill up the flash with different files to see if I get any error messages on the way?

Torleif

There is a point along the way where you have lost me...

how can you format the flash, show dir then tells there no files, but you can reboot and the switch reboot and comes back online ??

have you tried to download 12.2.52 and try that, then upgarde to latest ?

or try re-download your TAR or just the bin file

Sorry - I have not been clear enough.

After booting the switch I format the flash. At that moment the flash is empty.

Then I download the 12.2.55 tar file - and I get an errormessage that there is not enoug space in flash for the 12.2.55 tar file.

According to the spesifications all the 3560s have 16Mb of flash. 16Mb is the requirement for the 3560 12.2.55 IOS.

After giving up the 12.2.55 IOS I downloaded 12.2.35 tar in order to have an IOS next time I boot the switch.

Everytime I try to download the bin file only, I get an error message that the bin file is corrupt.

Sorry - I have not been clear enough.

After booting the switch I format the flash. At that moment the flash is empty.

Then I download the 12.2.55 tar file - and I get an errormessage that there is not enoug space in flash for the 12.2.55 tar file.

Oh cr@p!  I made a mistake!

You've choosen and downloaded the WRONG IOS file.

Let me explain:  You have an appliance with 16 mb of flash.  You are trying to upgrade an IP Services to an appliance with only 16 mb of flash.  To do so you'll need a "special" file, a file with the prefix of "lm" or "lmk" (aka LITE).  The bad news is that 12.2(55)SE does NOT have an IP Services file with "lm" or "lmk".  The nearest one is 12.2(53)SE.  Be careful with this version because I've had bad history with this.

The only way is for you to drop further down to 12.2(50)SE and try this.   The 12.2(50)SE does not have an "lm" or "lmk" suffix but this will do.

Thank you all for your help, advise and clearifycation.

I get a bit confused when an IOS file that needs minimum of 16Mb flash does not fit in a 16Mb flash.

Torleif

Review Cisco Networking for a $25 gift card