Home > Microsoft Exchange Tips > Exchange Server Administration Tips > Using an external hard drive to defragment Exchange
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

Using an external hard drive to defragment Exchange


Serdar Yegulalp
05.19.2005
Rating: -4.00- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Please let others know how useful this tip is via the rating scale at the end of it. Do you have a useful Exchange or Outlook tip, timesaver or workaround to share? Submit it to our tip contest and you could win a prize.


Over time, Exchange databases suffer from internal fragmentation that can hinder performance. The best time to defragment them is when there have been major changes to Exchange user accounts -- an influx or exodus of users, for instance, or a major departmental reorganization. To this end, Microsoft provides the command-line tool, ESEUTIL.

The bigger the .EDB file, the harder it is for ESEUTIL to defragment it. The system requires at least as much free space as the size of the .EDB file to perform a defragmentation, much in the same way a drive needs at least a certain amount of free space to be defragmented. Microsoft's standard recommendation is 110% of the size of the database itself: if you have a 25 GB Exchange database, then you'll need about 28 GB free space to defragment it.

It's entirely possible you may find yourself in a situation where you don't have enough free space on the drives in the system to do the defrag, and you can't add hard drives to the server (perhaps because it's hosted remotely or has other services running on it that can't be taken offline).

One possible solution, if you have USB 2.0 ports on the machine, is to mount a removable USB 2.0 hard drive and use that as temporary space for ESEUTIL to perform the defragmentation. Firewire drives are also fine, although USB 2.0 is a little more prevalent (and anecdotally a little faster) than Firewire. (Don't use USB 1.1, which is far too slow to handle this kind of work.)

Two of ESEUTIL's command-line switches, the /t and /s switches, control where temporary and streaming files are kept during the defrag process. With them, you can point ESEUTIL to the temporary drive as scratch space. (Don't attempt to point ESEUTIL to a network-shared drive as scratch space, unless you want to saturate your network and slow the defrag process down to a crawl. Use local hard storage of some kind, whether a drive mounted permanently in the system or an external one.)

About the author: Serdar Yegulalp is editor of the Windows Power Users Newsletter and a regular contributor to SearchExchange.com.


Do you have comments on this tip? Let us know.
Related information from SearchExchange.com:

  • Tip: Is an offline defragmentation really worth it?
  • Topics Library: Exchange defragmentation tips and expert advice



    Rate this Tip
    To rate tips, you must be a member of SearchExchange.com.
    Register now to start rating these tips. Log in if you are already a member.


    Submit a Tip




    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    Exchange Server Administration Tips
    Exchange Server 2007 hardware planning for continuous replication
    Benefits of SAN-based storage in Microsoft Exchange Server 2007
    How to generate HTML reports with the Exchange Management Shell (EMS)
    Hosted Exchange Server adoption to infiltrate the enterprise
    Using ActiveSync without a front-end Exchange server
    Use the Exchange Management Shell Set command to block senders
    Why boot an Exchange server from a storage area network (SAN)?
    How to test Exchange Management Shell commands
    Grant or deny permissions to access a user's Exchange 2007 mailbox
    Control query results with Exchange Management Shell's Format command

    Microsoft Exchange Server Defragmentation
    How to calculate white space in an Exchange streaming (.STM) file
    Is an Exchange 2003 offline defrag needed prior to moving databases?
    Defragment Exchange information store database files
    Defragment Microsoft Outlook .PST files for better performance
    Should you use NTFS compression on Exchange Server files?
    Exchange Server Standard Maintenance Checklist
    Optimize Exchange Server 2003 database maintenance
    Running ESEUTIL to compact an information store without installing Exchange Server
    Top 10 Exchange tips of 2005
    Virtual memory fragmentation in Exchange

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary

    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

  • HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsWebcastsWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts