Solved

Best practice in defragging Virtual servers. ESXi 4.1, Server 2008 R2.

Posted on 2012-04-02
7
1,677 Views
Last Modified: 2012-04-04
Can you defrag a virtual servers disks like with a physical server?
If I run a defrag on a virtual server, It only analyses the disc and the defrag finishes instantly.

We have several Equallogic SAN's which host the volumes for each virtual guest server.
VM's are managed via vCentre 4.1

What is the best practice in defragging volumes with this design? is there one?
0
Comment
Question by:Mayogroup
  • 4
  • 2
7 Comments
 
LVL 40

Accepted Solution

by:
coolsport00 earned 333 total points
ID: 37799018
I touched on this subject recently at this post:
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_27651590.html

Basically, you have to determine the need based off your virtual infrastructure setup. If you use Thin disks for VMs, it's most certainly a "no" because defrag'ing will touch all your disk and thus 'inflate' your VMDK to thick. This also affects CBT. If you read this brief article about defrag'ing, I think it'll answer your question and you can best decide if you should do it, but mostly, the answer is 'no':
http://blogs.vmware.com/vsphere/2011/09/should-i-defrag-my-guest-os.html

Regards,
~coolsport00
0
 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 167 total points
ID: 37799652
Contact you SAN vendor and ask for their recommendation,
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 333 total points
ID: 37800578
Yes, that is one of the recommendations in the article I posted. But again, if you're using thin disks for your VMs and you want to continue doing so, there's really no point in asking your SAN vendor...you really can't to a defrag. Also, in reality, the performance gain from a defrag tends to be negligible UNLESS there is a lot of file 'movement' that happens on a particular VM or VMs. Then there 'may' be some performance gain.

~coolsport00
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:Mayogroup
ID: 37804314
All good. Thanks for the posts.
I am not trying to say I need to defrag. I realise this is no longer required for windows servers.
I am just wondering what the standard is for SAN technology. I assume there must be something I can do as ongoing maintenance around volumes and VMDK's etc?

I will contact the vendor.
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 333 total points
ID: 37804349
Yes...for SAN specific questions, you'll need to ask your vendor. I know EMC mostly doesn't require it..pretty sure Dell doesn't but others (NetApp, etc.) may.

~coolsport00
0
 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 167 total points
ID: 37805237
Make sure your Partitions in your VMDKs are ALIGNED!
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 333 total points
ID: 37805770
Good point @hanccocka. @Mayogroup - if you are using Windows OS's below 2K8/Win7, then I *highly* suggest this free tool:
http://nickapedia.com/2011/11/03/straighten-up-with-a-new-uber-tool-presenting-uberalign/

I have tested it out and it works well. There is a video in the URL (towards the bottom of the post) that helps show how to use it.
This thread talks about disk alignment more, as well:
http://www.blueshiftblog.com/?p=300 (this is the best blog on alignment I've seen out there IMO)

~coolsport00
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

828 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