Esxi: How to defrag VM disks

Like physical disk drives, virtual disks can become fragmented. Defragmenting disks rearranges files, programs, and unused space on the virtual disk so that programs run faster and files open more quickly. Defragmenting does not reclaim unused space on a virtual disk; to reclaim unused space, shrink the disk.

For best disk performance, follow these steps:

1. Run a disk defragmentation utility inside the virtual machine.

2. Power off the virtual machine, then defragment its virtual disks from the virtual machine settings editor (VM > Settings). Select the virtual disk you want to defragment, then click Defragment.

Note: This capability works only with virtual disks, not physical or plain disks.

3. Run a disk defragmentation utility on the host computer

Defragmenting disks may take considerable time.

Note: The defragmentation process requires free working space on the host computer’s disk. If your virtual disk is contained in a single file, for example, you need free space equal to the size of the virtual disk file. Other virtual disk configurations require less free space

  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

How to add a SSL Certificate to Mailcleaner

MailCleaner is an excellent and free mail filtering solution for small businesses/non-profits.  I...

Windows 2012 How to specify Remote Desktop Licensing Mode

There are 2 ways to do that: Open Server Manager. Navigate to the Remote Desktop Services...

Change published FQDN for Server 2012 or 2012 R2 in RDS Deployment

This is a guide to resolve the problem using web app with Server 2012 RDWeb, the  internal /...

Routing VM with OVH with PFSENSE

To enable Pfsense for internet connection a static route is needed as follows: route add -net...

How to diagnostic carriers routing problems

Sometimes it happens that carriers misconfigure router or for other reasons some IPs are not...