Lucien Avramov Sat, 07/25/2009 - 11:20
User Badges:
  • Red, 2250 points or more

Not sure how you can use CNA, but make sure you copy all the files to a computer / tftp server.


You can compress the running-config :

switch(config)#service compress-config


Then a write mem should compress your image on flash


If you delete the boot image, you will save space, but if the switch crashes, it will go to rommon and you will have to upload the file again to flash memory

javier.castillo Sat, 07/25/2009 - 11:34
User Badges:

Thanks for the replay!

Unfortunatelly I got the message "Boot ROMs do not support NVRAM compression.

Disabling service compress-config."

I just need to know if there is something else I can do other than put more memory.

Leo Laohoo Sun, 07/26/2009 - 02:17
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

Do a "dir" and post the output.


Are you using HTML to log into the switch? If not delete the HTML directory. It should give you enough space for 2 .bin files.

javier.castillo Sun, 07/26/2009 - 06:00
User Badges:

I don't think getting rid of the HTML folder will give me enough space:

2 -rwx 109 Feb 28 1993 19:09:32 -05:00 info

4 -rwx 549 Dec 31 1969 19:01:50 -05:00 env_vars

5 -rwx 736 Jun 12 2007 06:11:41 -05:00 vlan.dat

6 -rwx 1048 Feb 18 2009 13:34:10 -05:00 multiple-fs

7 -rwx 3110758 Feb 28 1993 19:11:29 -05:00 c2950-i6q4l2-mz.121-22.EA6.bin

8 drwx 4160 Feb 28 1993 19:12:09 -05:00 html

377 -rwx 109 Feb 28 1993 19:12:49 -05:00 info.ver

378 -rwx 5275 Feb 18 2009 13:34:10 -05:00 config.text

379 -rwx 25 Feb 18 2009 13:34:10 -05:00 private-config.text


7741440 bytes total (2983936 bytes free)

Leo Laohoo Sun, 07/26/2009 - 21:16
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

Hi Javier,


Sounds like it could. Delete the HTML file and you should have more than enough for the second .BIN file.

javier.castillo Mon, 07/27/2009 - 06:11
User Badges:

There is not files tagged as deleted or error so squeeze command didn't help.

This is what I got when I try to do the upgrade:

Determining the total flash size.

Extracting the info file from the tar image.

Reading the info file of the tar image file.

Actual free space 3074560

Required Space 5792768

Software upgrade failed.

There is insufficient flash space for the new image.

Total free space required is 5792768 bytes.

Remove unwanted files from the flash and upgrade again.


jbrenesj Mon, 07/27/2009 - 09:41
User Badges:
  • Silver, 250 points or more

Try deleting the html directory + files anyways, it always contains some files inside that hold some of your flash space.


Compare yours with my switch:


C2950G-24#dir

Directory of flash:/


2 -rwx 110 Mar 01 1993 00:46:04 +00:00 info

3 -rwx 3721946 Mar 14 1993 23:11:11 +00:00 c2950-i6k2l2q4-mz.121-22.E

A13.bin

4 -rwx 3117390 Mar 01 1993 01:18:01 +00:00 c2950-i6q4l2-mz.121-22.EA8

5 -rwx 616 Mar 01 1993 00:00:20 +00:00 vlan.dat

7 -rwx 186 Mar 01 1993 00:06:58 +00:00 env_vars

8 -rwx 24 Apr 24 1993 07:23:27 +00:00 private-config.text

9 -rwx 3013 Apr 24 1993 07:23:27 +00:00 config.txt

415 -rwx 110 Mar 01 1993 00:49:41 +00:00 info.ver


7741440 bytes total (893952 bytes free)


------------------------

I have two IOS files just fine. The only difference is the html dir

jbrenesj Mon, 07/27/2009 - 09:46
User Badges:
  • Silver, 250 points or more

But anyways, you need:


Total free space required is 5792768 bytes


Since you are installing a .tar image you are going to need to delete the current .bin file as well.

Otherwise delete the html directory and try the upgrade with only the .bin file

Leo Laohoo Mon, 07/27/2009 - 14:05
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

Hi Javier,


The 2950 is not capable of storing 2 FULL IOS (IOS BIN file plus the HTML) but it can accomodate 2 BIN files.


1. Delete the HTML sub-directory;

2. Copy the 2nd bin file from your TFTP server to the switch;

3. Point the bootvar to the 2nd BIN file; and

4. Reboot the switch.


Hope this helps.

Actions

This Discussion