Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2012-04-02
7
Medium Priority
?
1,693 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 1332 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 123

Assisted Solution

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

Assisted Solution

by:coolsport00
coolsport00 earned 1332 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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 1332 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 123

Assisted Solution

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

Assisted Solution

by:coolsport00
coolsport00 earned 1332 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
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…

721 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