Thursday, March 11, 2010

Caring for Your Dynamips Install — Deleting Unwanted Files

February 24, 2008 by Greg Ferro · 2 Comments 

Dynamips and dyna­gen are well behaved pro­grams most of the time. Occasionally I am con­fig­ur­ing a fea­ture or two that causes IOS to crash (most recently I was con­fig­ur­ing MPLS and redis­tri­bu­tion on c2600 IOS which got really busted).

Then I noticed that my hard drive didn’t have a lot of free space.…

I have a MacBook Pro with a 160Gb drive, and I need to be care­ful about avail­able space. I looked into the my Dynalab dir­ect­ory (why ?and found a num­ber of files that can be deleted. As you can see in the screen­shot, I have a log file that is over 1 Gigabyte in size for R8, and the dynamips log file is 250MB

filesinmips.png

Since these are log files they can be deleted, as the log files are locked by dynamips make sure it is not running.

The log file is due to the IOS crash I had. I no longer use any other images but the C3640 image. I think that this uses less memory because of the memory shad­ow­ing fea­tures imple­men­ted in dynamips. As I under­stand it, when you use the ghostios==true, dynamips loads a single copy of the IOS image into RAM and then all of the routers you use will ref­er­ence that single copy of the file.

Please rate this post:

  Why Rate Posts?
1 Star - It\\\'s Crud2 Stars - It\\\'s Tosh3 Stars - Something\\\'s missing4 Stars - Needs works5 Stars - Good Enough6 Stars - Good7 Stars - Excellent8 Stars - Brilliant9 Stars - Astonishing10 Stars - Awesomely Godlike? (No Ratings Yet)
Loading ... Loading ...

Comments

2 Responses to “Caring for Your Dynamips Install — Deleting Unwanted Files”
  1. Nizar says:

    Can you ask Greg if he knows how to con­fig­ure Olive (“Dynamips” for Juniper)?

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!