2 September 2010

Caring for Your Dynamips Install – Deleting Unwanted Files

Dynamips and dynagen are well behaved programs most of the time. Occasionally I am configuring a feature or two that causes IOS to crash (most recently I was configuring MPLS and redistribution 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 careful about available space. I looked into the my Dynalab directory (why ?and found a number of files that can be deleted. As you can see in the screenshot, 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 shadowing features implemented in dynamips. As I understand 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 reference that single copy of the file.

Please rate this post:

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 ...

About Greg Ferro
Greg is a Network and Security Architect / Designer / Engineer working freelance in the UK and worked for Resellers, DotCom's, Large Corporate's and Service Providers across a variety of products & Vendors. He prefers to work for end users, believes in the life cycle, total cost of ownership and that near enough is often good enough. He likes talking about himself in the first person to feel "royal", even when hosting the Packet Pushers Podcast on Data Networking. More about Greg at http://etherealmind.com/who-am-i/ and you can follow him on Twitter.

Comments

  1. Nizar says:

    Can you ask Greg if he knows how to configure Olive (“Dynamips” for Juniper)?

Speak Your Mind

*