VMware

Bonus Tip: Snapshots | Main | Make Windows Unity windows look like Mac OS X Windows: WindowsBlinds with VMware Fusion

November 03, 2008

VMware Fusion 201: Preallocated Virtual Disks

Last time I covered sparse virtual disks. This time, let's look at the other option: preallocated virtual disks.

Preallocatedvmdk If you recall, the main advantage of sparse disks is that space is not grabbed upfront, but rather as needed. A preallocated disk, on the other hand, is (as you might expect) preallocated. You tell Fusion that the virtual disk should be 10 GB, and Fusion goes off and grabs 10 GB of disk space. Performance may be slightly better with a preallocated disk.

There are fewer problems with fragmentation on a preallocated virtual disk. As you might recall, there are three layers where a sparse virtual disk can get fragmented: the guest filesystem, the .vmdk file, and the host filesystem. A preallocated disk avoids fragmentation at the .vmdk file level, and fragmentation at the host OS filesystem level will not grow worse over time (since Fusion already grabbed all the disk space, there's no need to get more). For best results, you can defragment the host filesystem before creating a preallocated virtual disk to make sure it's as contiguous as possible.

Having a preallocated disk doesn't mean that your virtual machine will always be the same size, however. The most obvious example is that taking a snapshot or using AutoProtect will increase the needed space, and snapshots tend to grow over time.

Personally, I stick with sparse virtual disks. I like the flexibility of having extra space, which lets me keep more virtual machines at the same time than if I had to commit all that space right away. The only downside is that I have to be a little more careful about not running out of space, but I keep enough free that it's never a problem.

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341c328153ef010535cf7169970b

Listed below are links to weblogs that reference VMware Fusion 201: Preallocated Virtual Disks:

Comments

The comments to this entry are closed.

About this Blog

A blog about virtualization on the Mac platform and insight and highlights from the VMware Fusion Team for running Windows on your Mac.

Subscribe via RSS  

Or submit your email for updates:

End-User Computing Blog


Read additional blog posts for VMware Fusion on the VMware End-User Computing Blog.

Visit Now

Search Team Fusion Blog

VMware Fusion Community


Discussions and resources for VMware Fusion.

Visit Now
Mozy banner

Twitter


Facebook

YouTube


    VMware Blogs