Archive Command - extract tar to flash fails

Answered Question
Feb 24th, 2009

Trying to extract tar file in flash. I deleted all bin files to free up room, but still fails on space. Any ideas?

The primary idea was to add manager to the switch.

S22950#dir

Directory of flash:/

2 -rwx 6553600 Mar 04 1993 03:37:34 +00:00 c2950-i6q4l2-tar.121-22.EA

1.tar

4 -rwx 856 Mar 01 1993 01:26:47 +00:00 vlan.dat

5 -rwx 5 Mar 01 1993 01:26:52 +00:00 private-config.text

7 -rwx 55 Jan 01 1970 00:02:36 +00:00 env_vars

8 drwx 0 Mar 03 1993 21:10:23 +00:00 crashinfo

7741440 bytes total (1184768 bytes free)

S22950#archive tar /xtract c2950-i6q4l2-tar.121-22.EA1.tar flash:/

extracting info (109 bytes)

extracting c2950-i6q4l2-mz.121-22.EA1.bin (3081999 bytes)

%Error writing flash://c2950-i6q4l2-mz.121-22.EA1.bin (Not enough space on devic

e)

S22950#

S22950#sh ver

Cisco Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA12, RELEASE SOFTWARE

(fc1)

Copyright (c) 1986-2008 by cisco Systems, Inc.

Compiled Mon 07-Jul-08 23:39 by amvarma

Image text-base: 0x80010000, data-base: 0x80570000

ROM: Bootstrap program is C2950 boot loader

S22950 uptime is 3 days, 21 hours, 20 minutes

System returned to ROM by power-on

System image file is "flash:/c2950-i6q4l2-mz.121-22.EA12.bin"

cisco WS-C2950T-48-SI (RC32300) processor (revision G0) with 20957K bytes of mem

ory.

Processor board ID FOC0947Z5LC

Last reset from system-reset

Running Standard Image

48 FastEthernet/IEEE 802.3 interface(s)

2 Gigabit Ethernet/IEEE 802.3 interface(s)

32K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address: 00:16:46:B9:A3:C0

Motherboard assembly number: 73-9102-04

Power supply part number: 34-0965-01

Motherboard serial number: FOC094718XG

Power supply serial number: DAB0944JAA2

Model revision number: G0

Motherboard revision number: A0

Model number: WS-C2950T-48-SI

System serial number: FOC0947Z5LC

CLEI Code Number: CNMRU002RC

Top Assembly Part Number: 800-24111-03

Top Assembly Revision Number: A0

Version ID: N/A

Configuration register is 0xF

S22950#

I have this problem too.
0 votes
Correct Answer by Edison Ortiz about 7 years 10 months ago

Gregg,

Glad to be of help. Please remember to rate helpful posts

__

Edison.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Edison Ortiz Tue, 02/24/2009 - 08:07

You don't have enough space to extract a .tar file directly from the switch file system.

You must perform this task from a tftp server, please refer to this documentation:

http://www.cisco.com/en/US/docs/switches/lan/catalyst2950/software/release/12.1_22_ea11x/configuration/guide/swiosfs.html#wp1064669

I recommend copying the .tar file to a TFTP server, delete the .tar file from the switch file system and perform the process as described in the URL above.

If you don't reboot the switch, during the steps outlined above, you should be fine.

HTH,

__

Edison.

greggswitzer Tue, 02/24/2009 - 08:46

Hi Edison,

Thanks for the info. It has completed

the TFTP process, and seems okay. It

did get a timed-out msg at the end. Not

sure what that is about, but everything appears fine.

Thanks Again

Gregg

Correct Answer
Edison Ortiz Tue, 02/24/2009 - 08:52

Gregg,

Glad to be of help. Please remember to rate helpful posts

__

Edison.

Actions

This Discussion