shareVM- Share insights about using VM's

Simplify the use of virtualization in everyday life

Why run de-frag before compacting a virtual disk?

with one comment

As explained in the article on vhd pre-compactor, the pre-compactor zero’s out the unused blocks. The compactor can then collapse some of these blocks. Ideally if all the zero filled blocks are at the end of virtual image file, then the file can just be truncated. This is essentially what de-fragmentation does. It takes all the free blocks and moves them to the end of the disk as it tries to make all the blocks for the files on the disk to be contiguous.


Written by RS

November 25, 2008 at 6:33 am

One Response

Subscribe to comments with RSS.

  1. Great article on defragmentation from VMW Fusion Team :

    http://blogs.vmware.com/teamfusion/2008/10/tip-defragmenta.html

    I found it through the following link:
    http://www.yellow-bricks.com/2008/11/01/defraging-a-vmdk/

    rosensharma

    November 30, 2008 at 11:42 pm


Leave a Reply