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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Impossible to upgrade IOS Catalyst 3560?

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#

Everyone's tags (4)
1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Gold

Impossible to upgrade IOS Catalyst 3560?

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.

20 REPLIES
Hall of Fame Super Gold

Impossible to upgrade IOS Catalyst 3560?

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.

Impossible to upgrade IOS Catalyst 3560?

You can format the flash.

Be sure, not to reboot the switch.

thanks

Hall of Fame Super Gold

Impossible to upgrade IOS Catalyst 3560?

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

New Member

Impossible to upgrade IOS Catalyst 3560?

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#

New Member

Impossible to upgrade IOS Catalyst 3560?

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

New Member

Impossible to upgrade IOS Catalyst 3560?

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

Hall of Fame Super Gold

Impossible to upgrade IOS Catalyst 3560?

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:"?

New Member

Impossible to upgrade IOS Catalyst 3560?

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

New Member

Impossible to upgrade IOS Catalyst 3560?

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

New Member

Impossible to upgrade IOS Catalyst 3560?

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

New Member

Impossible to upgrade IOS Catalyst 3560?

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

New Member

Impossible to upgrade IOS Catalyst 3560?

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.

Hall of Fame Super Gold

Impossible to upgrade IOS Catalyst 3560?

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.

New Member

Impossible to upgrade IOS Catalyst 3560?

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

Hall of Fame Super Gold

Impossible to upgrade IOS Catalyst 3560?

Thanks for the ratings.  Did it work?

New Member

Re: Impossible to upgrade IOS Catalyst 3560?

12.2(50) was too big.

12.2.(46) installed fine.

Torleif

Hall of Fame Super Gold

Impossible to upgrade IOS Catalyst 3560?

Ok.  Thanks. 

Hall of Fame Super Gold

Impossible to upgrade IOS Catalyst 3560?

Got another option for you ... If you don't NEED to use the HTML subdirectory you can just push the BIN file.  12.2(55)SE5 is approximately 12 Mb so it should fit.

New Member

Re: Impossible to upgrade IOS Catalyst 3560?

Worked fine!

First time I tried I used the archive command - which of corse did not work with bin files. When I tried with copy tftp it worked fine!

Thank you!

New Member

Impossible to upgrade IOS Catalyst 3560?

Hi

Just to add my 2 cents. I believe the tar file you were trying to use for the upgrade needs 32mb of flash because it contains the IOS binary and the web based management files, you can use the the archive download-sw with the "imageonly" and "overwrite" options to archive the same result as the copy of the binary file alone.

archive download-sw /imageonly /overwrite source-url

Also at this time 12.2(55)SE6 is available for download, this version requires only 16MB of flash in most of the 3560 (non-E / non-X).

Regards

13683
Views
0
Helpful
20
Replies
CreatePlease login to create content