Solved

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

Posted on 2012-04-02
7
1,688 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 121

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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

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 121

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
This article describes how to import Lotus Notes Contacts into Outlook 2016, 2013, 2010 and 2007 etc. with a few manual steps. You can easily export and migrate Lotus Notes contacts into Microsoft Outlook without having to use any third party tools.
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
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…

617 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