When you prepare a parent virtual machine for instant clones or View Composer linked clones, it is recommended that you disable scheduled defragmentation. Windows schedule weekly disk defragmentations by default. Defragmentation significantly increase the size of a clone's virtual disk and does not make disk access more efficient for instant clones or View Composer linked clones.
The clones share the parent virtual machine's OS disk but each clone maintains changes to the file system in its own virtual disk. Any activity, including defragmentation, will increase the size of each clone's individual virtual disk and therefore increase storage consumption. As a best practice, defragment the parent virtual machine before you take a snapshot and create the pool.
The following steps apply to Windows 7 and Windows 8. The steps might vary on different Windows operating systems.
- In vSphere Client, select the parent virtual machine and select Open Console.
- Log in as an administrator.
- Click Start and type defrag in the Search programs and files box.
- In the Programs pane, click Disk Defragmenter.
- In the Disk Defragmenter dialog box, click Defragment disk.
The Disk Defragmenter consolidates defragmented files on the virtual machine's hard disk.
- In the Disk Defragmenter dialog box, click Configure schedule.
- Deselect Run on a schedule (recommended) and click OK.