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

Flash Memory Math

My Catalyst 2950 switch is showing this when I do a dir flash:

Directory of flash:/

2 -rwx 2980731 Mar 01 1993 00:03:17 c2950-i6q4l2-mz.121-19.EA1c.bin

3 -rwx 273 Jan 01 1970 00:01:25 env_vars

4 -rwx 676 Mar 01 1993 00:00:18 vlan.dat

5 -rwx 4226 Jan 04 2007 20:34:13 config.text

6 -rwx 47 Jan 04 2007 20:34:13 private-config.text

7 -rwx 110 Mar 01 1993 00:01:44 info

8 drwx 2432 Mar 01 1993 00:04:46 html

85 -rwx 110 Mar 01 1993 00:04:49 info.ver

7741440 bytes total (1754624 bytes free)

Where is my missing free bytes gone? When i add the list of files that are shown it adds up to 2988605 bytes. When i subtract this from the total available I come up with 4752835 bytes that should be free. Where is my missing free bytes (2998211)?

2 ACCEPTED SOLUTIONS

Accepted Solutions
Bronze

Re: Flash Memory Math

Entry # 8 is a directory. If you add the size of the files in this directory to the size of the bytes listed here you might get the correct number of bytes used.

dir flash:/html

Regards,

Erik Tamminga

Bronze

Re: Flash Memory Math

Yes, you can delete the folder. iirc the rmdir or delete statement will do this for you. Consult "?" in the root-mode of the switch for details on how to delete files/folders.

Regards,

Erik Tamminga

5 REPLIES
Bronze

Re: Flash Memory Math

Entry # 8 is a directory. If you add the size of the files in this directory to the size of the bytes listed here you might get the correct number of bytes used.

dir flash:/html

Regards,

Erik Tamminga

New Member

Re: Flash Memory Math

I do see that now! Thanks

Can this directory be deleted? I only connect to my switch through telnet or SSH.

Bronze

Re: Flash Memory Math

Yes, you can delete the folder. iirc the rmdir or delete statement will do this for you. Consult "?" in the root-mode of the switch for details on how to delete files/folders.

Regards,

Erik Tamminga

Bronze

Re: Flash Memory Math

You'll loose http:// access to the switch if you delete these files. Backup the files to tftp before you delete them if you ever need them again. You can also download these files from CCO if you loose them (you need download permissions though).

Regards,

Erik Tamminga

New Member

Re: Flash Memory Math

Excellent! Thanks for the info Erik. I am looking to upgrade IOS and I currently do not have room to leave the existing image file as a backup in case things go bad with the upgrade. By getting rid of this html directory I should be able to now have both images on the switch until I am sure the new one is stable.

Thanks again

308
Views
0
Helpful
5
Replies