Monday, May 9, 2005

Beware Virtual PC Differencing Disks!

Ah, now that I have your attention, please let me elaborate :)

I just read a post by Russ Nemhauser, Virtual PC - Beyond the Basics, and it reminded me of some caveats I had picked up in my trials. I too thought differencing disks were the way to go and in fact set up several “base” installs to test it out. One of my early reasonings was simply because each .vhd image had about 1 - 2 gigs of duplicate information - that is, a base OS plus tools and assorted service packs. I figured I could free up 10 gigs or so with a single base image.

The reality is that the differencing drives quickly grew to 3 - 4 gigs in size themselves! Considering things like the paging file, event logs, IIS logs, temp directories, etc. it made sense why this was. However, in the long run I ended up using just as much disk space if not more as if I stuck with individual images. Plus it meant I had to remember to always cart along the base image or the differencing image was useless. Yes, I know about the new compacting tool but it's waaayyy too hard to do all this for each image to free up space - just check out these posts by John Howard and Rob Eberhardt.

In the end I stuck with having a single baseline image of an OS which I copy and rename to start a new image. I followed Megan's tips on sysprepping virtual machines with the baseline beforehand. This does mean that a new service pack might have to be rolled out to multiple virtual machine images but I would have to do that anyway with differencing drives since the base drive cannot be touched ever again or the differences become invalidated and meaningless.

Original post

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.