To defrag or not to defrag....VM is the question

Posted on 2014-08-26
Medium Priority
Last Modified: 2014-09-02
Should I defrag my VMs?  

Environ is ESX 5.5, VMDK files aplenty and Labtech automation tool scheduling defrags when a threshold is hit.

My thoughts are not to defrag a VM, EVER.  Unless in a controlled environment.  I'm thinking that replication is running, Snapshots may exist, backups are running, maybe, and what if ALL of my VMs kick off a defrag at the same time....it's going to kill my host.

So, thoughts on defragging VMs......yes or no and why?


Question by:crp0499
LVL 124

Accepted Solution

Andrew Hancock (VMware vExpert / EE MVE^2) earned 1000 total points
ID: 40286586
LVL 62

Assisted Solution

gheist earned 1000 total points
ID: 40287261
1) kills caches
2) wears off SSDs
3) Consumes IOPs

In spirit of vmwares best practices you must avoid creating fragmented files, namely never let disk run too full (like >50% on NTFS or >90% on Linux.

I do defragment system areas yearly
And run boot optimization on clone masters

Featured Post

When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question