cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13410
Views
0
Helpful
16
Replies

IOS upgrade space issue

netternewbie
Level 1
Level 1

Hi Folks,

Have a small stack of two 3750 routers.  Get the following error message every few secounds:

%STACKMGR-4-STACK_LINK_CHANGE: Stack Port 1 Switch 1 has changed to state DOWN

%STACKMGR-4-STACK_LINK_CHANGE: Stack Port 1 Switch 1 has changed to state UP

Now I replaced the stacking cables but no joy. It was ok for an hr or so but then the error messages popped up again. Also random links on this stack back to access layer user switches have been going up and down randomly. So I have decided to take the next step and upgrade the IOS.

Although when I try and copy a new IOS I get the following error:

%Error writing flash:/c3750-ipservicesk9-mz.122-55.SE6.bin (No space left on device)

Seems this image is 130MB while the image that is currently on it is 74MB and free space is 54MB.

How do I get the image onto the router? If I delete the current image from flash will that cause the router to stop functioning?

Also I noticed there seems to be more than one flash directory. See below:

copy tftp: ?

  flash1:         Copy to flash1: file system

  flash2:         Copy to flash2: file system

  flash:          Copy to flash: file system

  null:           Copy to null: file system

  nvram:          Copy to nvram: file system

  running-config  Update (merge with) current system configuration

  startup-config  Copy to startup configuration

  system:         Copy to system: file system

  vb:             Copy to vb: file system

The current router image seems to be in flash1 and flash 2 also. Could I delete the image from flash1. Upload it there and then boot the router from flash1?

Any help at all appreciated.

Thanks.

1 Accepted Solution

Accepted Solutions

Disclaimer


The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Ok, so do I copy the image to flash? flash1? flash2? Or all three?

Is flash just an alias for flash1 and flash2?

All 3, no.  Flash is an alias for flash1 OR flash2, which depends on which switch is the master switch for the stack.

View solution in original post

16 Replies 16

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

On the older 3750s the flash size is 16Mb.  So, the current image must be 7.4Mb with 5.4Mb available.  The newer images are about 15 to 17Mb.

Can you post "sh flash1 and sh flash2

BTW, the reason you see multiple flashes is because each switch in the stack has its own flash

HTH

Thanks,

Here is flash1 and flash2:

sh flash1:

Directory of flash1:/

    2  -rwx     7460386  Oct 25 2011 17:02:36 +01:00  c3750-ipservices-mz.122-25.SEE2.bin

    4  -rwx       45134  Nov 19 2012 09:11:01 +00:00  config.text

   90  -rwx          27  Nov 19 2012 09:11:01 +00:00  private-config.text

    5  drwx         192   Mar 1 1993 00:04:10 +00:00  c3750-i9-mz.121-19.EA1d

   86  -rwx        1696   Jun 7 2012 09:52:25 +01:00  vlan.dat

    3  drwx           0   Jul 6 2006 20:00:53 +01:00  crashinfo_ext

   87  drwx         384  May 31 2011 18:40:16 +01:00  crashinfo

15998976 bytes total (2023936 bytes free)

sh flash2

Directory of flash:/

    2  -rwx     7460386  Oct 25 2011 16:47:41 +01:00  c3750-ipservices-mz.122-25.SEE2.bin

   83  -rwx       45134  Nov 19 2012 09:11:01 +00:00  config.text

   89  -rwx          27  Nov 19 2012 09:11:01 +00:00  private-config.text

    5  drwx         128  Oct 10 2011 15:05:28 +01:00  c3750-i9-mz.121-19.EA1d

   85  -rwx        1696   Jun 7 2012 09:52:25 +01:00  vlan.dat

   86  drwx           0  Dec 20 2010 10:44:19 +00:00  crashinfo_ext

   87  drwx         128  Oct 13 2011 11:49:09 +01:00  crashinfo

15998976 bytes total (5487104 bytes free)

Disclaimer


The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.

Liability Disclaimer

In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.

Posting

As Reza described, older 3750s only have 16 MB flash, which appears to be true for your 3750s.

You can use a newer IOS as long as you can get it to fit into flash.

You can delete the "running" IOS flash image, just hope your box doesn't try a reload until the replacment IOS is loaded.

In your case, you'll probably want to remove directories (and all their contents) for:

c3750-i9-mz.121-19.EA1d

crashinfo_ext

crashinfo

See this: http://www.cisco.com/en/US/products/hw/switches/ps5023/products_configuration_example09186a00804799d7.shtml#cfbin1

Ok, so your flash is 16Mb.  The image you are trying to load is 11.7 MB.  So, if you delete the existing image, you have enough room.  But as Joe said, after you delete the old image DO NOT reboot the switch until you load the new image, save and then reboot.

HTH

Thanks JosephDoherty, Reza Sharifi,

Ok I will delete the old IOS and then copy the new IOS. I will copy it to flash1 and flash2. Do I also need to copy it to flash?

Thanks.

Disclaimer


The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Ok I will delete the old IOS and then copy the new IOS. I will copy it to flash1 and flash2. Do I also need to copy it to flash?

No, as "flash" is the stack master's flash. I.e., it's the same as either flash1 for flash2, which depends on which switch is the active master for the stack.

I know why you've run out of flash space.

You currently have TWO IOS in there.  You need to delete either one of them or both.

Here are the commands to delete either one of the old IOS:

1.  "delete /f /r flash1:c3750-i9-mz.121-19.EA1d" AND "delete /f /r flash2:c3750-i9-mz.121-19.EA1d"

OR

2.  " delete /f /r flash1:c3750-ipservices-mz.122-25.SEE2.bin" AND "delete /f /r flash2:c3750-ipservices-mz.122-25.SEE2.bin"

Hi leolaohoo,

c3750-i9-mz.121-19.EA1d is only 128 in size though?

Thanks

Disclaimer


The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.

Liability Disclaimer

In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.

Posting

c3750-i9-mz.121-19.EA1d is only 128 in size though?

It's a directory.  Likely contains files and/or subdirectories.  If it does, also likely more than 128 bytes of flash space are being consumed.  If it is empty, no real reason to have it cluttering up you flash even though space consumption is almost nil.

Thanks JosephDoherty,

Yes you are right it is a directory.

Directory of flash:/c3750-i9-mz.121-19.EA1d/

    6  drwx        2432   Mar 1 1993 00:03:22 +00:00  html

   84  -rwx         430   Mar 1 1993 00:04:10 +00:00  info

On the upgrade I will copy the image to flash1 and flash2. Do I also need to copy it to flash?

  In a stack you should only need to copy the IOS to the flash of the stackmaster switch which will in turn propagate the code to the other switches in the stack.

Disclaimer


The   Author of this posting offers the information contained within this   posting without consideration and with the reader's understanding that   there's no implied or expressed suitability or fitness for any purpose.   Information provided is for informational purposes only and should not   be construed as rendering professional advice of any kind. Usage of  this  posting's information is solely at reader's own risk.

Liability Disclaimer

In   no event shall Author be liable for any damages whatsoever (including,   without limitation, damages for loss of use, data or profit) arising  out  of the use or inability to use the posting's information even if  Author  has been advised of the possibility of such damage.

Posting

  In a stack you should only need to copy the IOS to the flash of the stackmaster switch which will in turn propagate the code to the other switches in the stack. 

Glen, I don't recall seeing that behavior (discounting what the archive download-sw command does).  I also just tried copying a file to flash: and it only appeared on the stack master's flash: (on my stack, flash1:).

Might this be something you've seen with a specific IOS or specific 3750 series and/or requires some configuration option?

PS:

Or auto-upgrade?

Ok, so do I copy the image to flash? flash1? flash2? Or all three?

Is flash just an alias for flash1 and flash2?

Since you are using the .bin file, you need it in flash1 and flash2

see this link for step by step instructions:

If your switch supports archive download-sw command, you can use .tar file. If you use the tar file you just copy it once to the master and then you run the archive download-sw, it will copy the image to the second switch.

With .tar and archive download-sw command, it takes about 45minutes to do both switches.  So be patient.

The instruction for tar file also in this link:

http://www.cisco.com/en/US/customer/products/hw/switches/ps5023/products_configuration_example09186a00804799d7.shtml#cfbin1

HTH

Review Cisco Networking for a $25 gift card