Solved

Is it dangerous to use Sdelete on my exchange server + my sql servers?

Posted on 2011-09-13
8
1,660 Views
Last Modified: 2012-05-12
I am planning on using Sdelete and defrag on my exchange VM + my SQL VMs

i am wondering if anyone has done this before? does the machine need to be out of production when doing the sdelete? should i use the exchange defrag tool on the server to do an offline defrag or is the online defrag of exchange 2007 good enough?

I am a little worried about the effects of sdelete + a defrag program on exchange + SQL but I need to get my incremental backup size down on all of my VMs.

any advice would be great. thanks
0
Comment
Question by:Thomas_Wray
[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
  • 5
  • 3
8 Comments
 
LVL 121
ID: 36530395
Personally, I think you are going to waste your time.

It's not dangerous, (BUT ALWAYS HAVE A BACKUP before any disk maintenance) but I do not think you will see the benefits you are expecting.

What is dangerous is an Exchange Offline Defragment, you may end up with missing mailboxes or corrupt mailboxes, either leave the Online degfragmentation do its work or create a new Mailbox Store on a new virtual disk and MOVE the Mailboxes from one store to the other.

What are you using to backup?

If you were using a CBT (Change Block Tracking) application aware third party backup product e.g. Veeam Backup and Replication of VMware Data Recovery, only block changes are backed up each backup, so Incrementals backups are small, or only the changes in the day are Backed-up.

0
 
LVL 121
ID: 36530408
We have been recently testing V-Locity with good results
http://www.diskeeper.com/business/v-locity/

As for your question, sdelete and defragment, hti the datastore hard, so It would be best completed out of hours, or during quiet periods.
0
 

Author Comment

by:Thomas_Wray
ID: 36530410
Your right I am using Veeam, it was Veeam directly that reccomended this process.

I have done it on some non critical servers and it seems to help..
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 121
ID: 36530444
Okay, well if Veeam recommend it!

I would be very careful of the Exchange Offline Defrag.

What you can do if you are interested is to check what changes are occuring day by day between backups by following this article

http://jpaul.me/?p=1316

It will give you in "real money" the rate of change or size Incremental in Gigs.

It's very helpful.
0
 

Author Comment

by:Thomas_Wray
ID: 36530469
Yes they advised me that i move the Paging file to another VHD and then exclude it.

so i did that and another part of their support email states:

Defragment the VM from within the operating system, and then run sdelete on the OS.

You can find sdelete here:
 
http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx
 
Sdelete works by writing zeros to the disk where "deleted" data resides. In order for this tip to have an effect on job speeds, inline deduplication needs to be enabled (inline deduplication will not copy zero MB blocks over the network).

The command you want to run would be:

sdelete -c DIRECTORY
 
where DIRECTORY is a drive letter or a folder that has data removed from it frequently.

After running sdelete you can perform a full backup and track the speed of the backup. Incremental and full backups should benefit greatly from these actions, especially if you have a heavily fragmented disk. If you do not do a full backup after running sdelete you will have an extremely large transfer (we would be tracking the unused "1"s that have been changed to "0"s), but then subsequent backups should be faster.


Obviously they didnt state anything about doing this on an exchange VM in particular so i am twitchy about it!
0
 
LVL 121
ID: 36530488
Ah, okay, the content of the email is a little different.

It's not dangerous, but the effort involved, I do not think will be very rewarding with the benefits.

What sizes are your incrementals?

Use the scripts above to check rate of changes?

Is CBT enabled?
0
 

Author Comment

by:Thomas_Wray
ID: 36534590
Yes CBT is enabled, i had to use a 4mb block size on my VMFS datastore because the datastore as 1TB in size. I am getting around 83gb every night on an incremental backup...
When we install Vsphere 5 i will make a new datastore and vmotion it there, as i believe vpshere 5 is 1mb block size as standard for any VMFS datasore size.

I will have to use the srcipts mentioned but I just cant work out why its so large every day...
0
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 36537051
This may work for you -  V-locity 3 for your Virtual systems

Diskeeper Corporation has just released version three of V-Locity. V-locity 3 is designed to enormously improve the performance and efficiency of all VMware ESX/ESXi and Microsoft Hyper-V hypervisor virtual platforms automatically, intelligently and transparently.

V-locity 3 includes new technologies, which allow the V-locity Guest to sense an increase in disk I/O activity, regardless of whether the increased activity comes from the same Virtual Machine (VM), a different VM using the same physical resources, or even a different host connected to the same SAN fabric.

It also has a powerful engine that zeros out unused data blocks on virtual disks and makes virtual disk compaction easy. It also allows VMotion (VMware) or Live Migration (Microsoft) to compact a disk on-the-fly when they migrate virtual disks, this occurs online with no need for a maintenance window.


 V-locity 3 for your Virtual systems
http://www.diskeeper.com/downloads/direct.aspx?b=E5B13686-3FA1-42D2-AFFA-70296BB1FA52&id=188211

0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

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.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.
how to add IIS SMTP to handle application/Scanner relays into office 365.

717 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