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

x
?
Solved

Degrag or don't defrag a C drive on RAID 5 SBS 2008

Posted on 2011-09-15
11
Medium Priority
?
1,529 Views
Last Modified: 2012-06-27
I recently had my RAID rebuild and have now noticed a lag in large queries on SQL.  I don't know much, so thought I would ask for input. Should I defrag my C and E drives which are on a RAID 5 or is that a bad idea?  My RAID rebuilt itself because I had pulled one HD thinking I would put in a new one, for no other reason than to have a fresh new drive.  Learned that it takes my RAID about 20 hours to rebuild, anyway, wondering if that somehow made things slower?
0
Comment
Question by:rodynetwork
[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
  • 4
11 Comments
 
LVL 12

Expert Comment

by:marcustech
ID: 36543152
No reason not to defrag the drives, but the array being rebuilt won't have in itself affected the level of fragmentation on the drives. Has the rebuild definitely completed, because while the rebuild is running performance will be significantly reduced, depending on drives and controllers. Also, is the "new" drive you've plugged in the same as the one removed?
0
 

Author Comment

by:rodynetwork
ID: 36543609
I didn't actually go through with implementing the new drive.  I just let it rebuild. It started at 7am Sunday morning and it was painfully slow until late Monday morning.  I shut down and restarted on Tuesday and the pre-boot RAID interface thing said RAID -Normal.  It had previously said RAID-Rebuildable.  So I take that to mean it is done rebuilding since is says Normal now.  Performance is basically about right, just seems a little slow on some large SQL queries, but nothing like Sunday afternoon.

How to do a defrag on SBS 2008 and is that something that will take forever?  There is 387 GB of data total on that RAID 5
0
 
LVL 12

Expert Comment

by:marcustech
ID: 36543701
It will run for a fair while, I'd kick it off at close of business to reduce impact, although it should run in the background anyway.
defrag c: -w -v
from an administrative command prompt should see you fine
0
Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

 

Author Comment

by:rodynetwork
ID: 36543976
Is there anything should be concerned about?  I don't want to find my server won't run the next day...I know it sounds dumb, but gotta ask. I don't know much...
0
 

Author Comment

by:rodynetwork
ID: 36544058
Do I need to stop any services?

Do I need to consider anything with regard to Exchange and SQL?  We have a database that is accessed by our business app.
0
 
LVL 12

Assisted Solution

by:marcustech
marcustech earned 2000 total points
ID: 36549065
No, you shouldn't need to stop any services,  Exchange and SQL will be fine - however it does say here:
If you run regular disk defragmentation on an Exchange computer, you should do it during off-hours and preferably with Exchange databases stopped. Disk defragmentation is a very I/O intensive process. Therefore, the Exchange database engine could have difficulty accessing the hard drives in a timely manner.

This isn't to say that it will damage the exchange database in any way - it won't, but you won't be running at full speed while the defrag is in progress.
0
 

Author Comment

by:rodynetwork
ID: 36549191
How do I stop the Exchange database engine?  Is that in Admin tools>Services?
0
 

Author Comment

by:rodynetwork
ID: 36561776
I may try defraging tonite. Still have a question regarding stopping Exchange...

How do I stop the Exchange database engine?  Is that in Admin tools>Services?
0
 
LVL 12

Accepted Solution

by:
marcustech earned 2000 total points
ID: 36563982
Just stop the Exchange services and restart them afterwards.

http://exchange.sembee.info/2007/shutdown-script.asp
0
 
LVL 6

Expert Comment

by:jaredr80
ID: 37960030
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
New style of hardware planning for Microsoft Exchange server.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

722 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