Ask the Expert

Defragmenting virtual hard disks to improve performance

Do I need to defragment virtual hard disks on the host or the guest server to improve performance, or both?

    Requires Free Membership to View

This depends on how you have things configured. A virtual hard disk file can get fragmented like any other file, so the best tactic is to not have to defragment it. If you are using a virtual hard disk file for the guest operating system, defragment the system first before creating it so you won't have to defragment the file itself later. However, if you're dedicating an entire physical drive or partition to a given virtual operating system -- which is the best option as far as performance goes -- then all the defragmentation will take place inside the virtual operating system itself.

If you link a virtual disk to a physical disk, this will improve performance and will also eliminate any problems with the virtual hard disk file growing fragmented. You will still need to perform any needed defragmentation on the guest operating system's hard disk from within the guest operating system though.

 


Do you have comments on this Ask the Expert Q&A? Let us know.

This was first published in May 2006

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: