Defrag of server drive taking painfully long.

I am in the process of prepping my servers to add hard drives and then adding that space to my existing partitions.  I am using a software package called partition manager 10.0.  Prior to adding drives and  repartitioning the instructions call for a chkdsk to be run on all current partitions.  I completed that last night.  I ended up taking a couple hours but no bad sectors were found so far so good.  I have a C and D drive set up in RAID 5.  (c being 25 gb and d being roughly 200gb).  The second step in their instructions is to run a defragment on both drives.  At midnight last night i turned off the screen saver and started a defragment on the d drive and went home.  I woke at 7 am today drove back into work expecting this volume to be complete.  When i arrived it was sitting at 9%.  Are you kidding 6 hours and some change to get to 9%?  How can i expedite this process?  Can i run at startup or something?
techitch2Network AdminAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shreedhar EtteCommented:
Hi,

What is the percentage of Free Disk space on the Drive where you're performing the Defrag.

It should have 15% free disk space, for the defrag to run.

Also it depends on the file fragmentation level and Avg. File size. If it is highly fragmented, more time.

Hope this helps,
Shree
0
techitch2Network AdminAuthor Commented:
30% free on D....only 8% on C.  I believe the drive are highly fragmented.  Can i do a defrag at boot so various services aren't running......i'm thinking that may be faster?
0
abt-itCommented:
It's recomment that a windows Systempartition should have at least 10% of free Space, otherwise M$ says, the the OS could run into trouble....

Try to delete or move Files from that system before defragmenting.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Nenad RajsicCommented:
the best way to solve your defrag problem would be to offload some files from your C drive onto an external hard drive and then defrag your drive. Make sure that you have at least 15% free or your defrag might be slow again. Also disable any service that might be using some of your larger files so that they can be moved during your defrag process.
0
Encrypted1024Commented:
One of the main things that could be causing issues is online databases and virus protection software. If you have databases on that server you should take them offline and disable your virus protection software and make sure no backups are running. Defrag triggers 100% change on your volume which will cause snapshots and virus protection to backup and scan your entire volume all at once.
0
techitch2Network AdminAuthor Commented:
this server has SQL and exchange running on it.  I did turn kaspersky off while running the defrag.  I have contacted the paragon partition manager to ask if it is in fact "necessary" to defrag before i add disks and allot the new drive space to these two volumes.
0
Nenad RajsicCommented:
it is not necessary to defrag if you run chk disk. make sure you backup your server before you continue. I would also stop all the services especially exchange (that is if it's not mission critical out of hours). How big are your exchange stores?
0
techitch2Network AdminAuthor Commented:
I have one store at 28 GB.....i think?  Private store.....consists of two files.
0
Nenad RajsicCommented:
stopping your exchange services will allow your defrag process to move and arrange those files on your hard drive. Again you don't have to defrag before partitioning it. if check disk doesn't report any error you are good to go. (take backup first)
0
DavidPresidentCommented:
It could actually take days, but you are going about it incorrectly.

0.  Best practice .. always have full, current backup before doing anything with the hardware.

1. Run the RAID_level parity check/rebuild.  This insures that there are no errors and unreadable blocks.  This tests 100% of the disk, and if you attempt a migration/update of the RAID config, and have bad blocks, then you could very well end up with unrecoverable data loss.   You must do this first.  This gets 100% of the physical disks, and obviously 100% of logical blocks.  (This will run much faster if you do it from the BIOS while system is not running your O/S).

2. Update all RAID firmware & drivers  READ RELEASE NOTES FIRST.   You never know if an update necessitates a full backup.

3. then, do the windows based scandisk/chkdsk, to clean up any filesystem errors.

4. Then defrag.


One reason it takes so long is that you could very well have some parity errors that are being corrected higher up in the food chain, via windows, and this is much less efficient then letting the RAID hardware do it.

0
DavidPresidentCommented:
P.S.  windows will neither detect nor correct 100% of the RAID.  Only the embedded RAID firmware can do this.
0
Encrypted1024Commented:
I am pretty sure that if you take the databases offline (like the exchange store) you will be able to run a defrag.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.