Unable to delete IOS from Flash

Answered Question
Mar 21st, 2010

Hi all,


i have 3550 and i am upgrading the IOS.


Switch#delete flash:c3550-ipservicesk9-mz.122-40.SE
Delete filename [c3550-ipservicesk9-mz.122-40.SE]?
Delete flash:c3550-ipservicesk9-mz.122-40.SE? [confirm]
%Error deleting flash:c3550-ipservicesk9-mz.122-40.SE (Is a directory)


i did sh flash


Switch#sh flash

Directory of flash:/

    2  -rwx         285  Feb 28 1993 17:10:34 -07:00  info
    3  drwx         128  Feb 28 1993 17:13:59 -07:00  c3550-ipservicesk9-mz.122-40.SE
  406  -rwx         285  Feb 28 1993 17:14:38 -07:00  info.ver
  407  -rwx         580  Mar 21 2010 15:09:27 -06:00  vlan.dat
  409  -rwx        2821  Mar 21 2010 15:50:45 -06:00  config.text
  410  -rwx          24  Mar 21 2010 15:50:45 -06:00  private-config.text
  411  -rwx        1048  Mar 21 2010 15:50:45 -06:00  multiple-fs


it shows that current IOS is drwx  so how can i delete the c3550-ipservicesk9-mz.122-40.SE


many thanks

mahesh

Correct Answer by Leo Laohoo about 6 years 11 months ago

Yes you are ready to go.

Correct Answer by glen.grant about 6 years 11 months ago

It's a directory so you have to use " del /force /recursive flash:c3550-ipservicesk9-mz.122-40.SE  .

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
glen.grant Sun, 03/21/2010 - 19:06

It's a directory so you have to use " del /force /recursive flash:c3550-ipservicesk9-mz.122-40.SE  .

mahesh18 Sun, 03/21/2010 - 19:35

Hi glen


thanks for great reply


i did following


Switch#copy tftp://192.168.1.8/c3550-ipbase-mz.122-44.SE6.bin flash:
Destination filename [c3550-ipbase-mz.122-44.SE6.bin]?
Accessing tftp://192.168.1.8/c3550-ipbase-mz.122-44.SE6.bin...
Loading c3550-ipbase-mz.122-44.SE6.bin from 192.168.1.8 (via Vlan1): !OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!OO!
[OK - 6719771 bytes]

6719771 bytes copied in 146.552 secs (45852 bytes/sec)
Switch#sh flash

Directory of flash:/

    2  -rwx         285  Feb 28 1993 17:10:34 -07:00  info
    3  -rwx     6719771  Mar 21 2010 20:33:01 -06:00  c3550-ipbase-mz.122-44.SE6.bin
  406  -rwx         285  Feb 28 1993 17:14:38 -07:00  info.ver
  407  -rwx         580  Mar 21 2010 15:09:27 -06:00  vlan.dat
  409  -rwx        2821  Mar 21 2010 15:50:45 -06:00  config.text
  410  -rwx          24  Mar 21 2010 15:50:45 -06:00  private-config.text
  411  -rwx        1048  Mar 21 2010 15:50:45 -06:00  multiple-fs


just want to make sure that ios is copied successfully as i see O in the output


thanks


mahesh

Jerry Ye Sun, 03/21/2010 - 21:49

Use the verify command to make sure it is the same as the one posted on CCO before rebooting


verify /md5 flash:/image_name


HTH,

jerry

mahesh18 Sun, 03/21/2010 - 22:07

Hi,


thanks for help


here is output


Switch#verify /md5 flash:/c3550-ipbase-mz.122-44.SE6.bin
................................................................................................................................................................................................................................

................................................................................................................................................................................................................................

................................................................................................................................................................................................................................

................................................................................................................................................................................................................................

................................................................................................................................................................................................................................

...................................................................................................................................................................................................................................

...................................................................................................................................................................................................................................

...................................................................Done!
verify /md5 (flash:/c3550-ipbase-mz.122-44.SE6.bin) = 9fab1c87835b467b998bb917135786c5


does it shows i am all set?

mahesh18 Sun, 03/21/2010 - 22:28

Hi leolaohoo


thanks for confirming it.

one last question what does O  mean while IOS was being copied to flash?


does it mean slowness?


mahesh

Leo Laohoo Mon, 03/22/2010 - 14:31

It's good that you ask.  In my humble experience, when you get "O" and your upgrade failed, mostly it's because there's not enough flash memory space.  You won't get the explaination of "not enough space" when you are dealing with old appliance such as the 2900/3500 but starting from the 2940/2950 and up (not sure about the 2948G).


Now, when you get "O" but your upgrade is successful, it only means that your WAN/LAN link is pretty slow.  (Like pumping a 2900XL IOS using a 256k satellite link, lucky I didn't have heart attack!)


Hope this helps.

Actions

This Discussion