Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

offline defrag using ESEUtil

1 view
Skip to first unread message

Brian

unread,
Jan 19, 2006, 10:10:03 AM1/19/06
to
Moved a lot of mailboxes off a Ex2k server, need to do an offiline defrag to
shrink the IS since I don't have a lot of hard drive space left on this
server. In looking at KBs 192185 and 244525 I see I can do an defrag on
another server which I must do since not enough space on the Ex2K svr. A few
questiosn the KB's do not seem to cover. Other than the /d switch are there
any other switches I need to use, where will it place the defraged db's, do I
need to copy the .edb and the .stm file or just the .edb files to the server
doing the defrag, do I dismount the IS before I copy the db's, once the
degrag is done do I just copy over the new db's over the old ones? Lots of
details I would like to know that the KB's don't mention. Thanks

Leif Pedersen [MVP]

unread,
Jan 19, 2006, 2:30:31 PM1/19/06
to
Hi,

This article is also a must read : http://support.microsoft.com/?kbid=328804

The database you want do defrag must be dismounted or the information store
service must be stopped.

If you want to defrag on another computer both the edb file and the stm file
must be copied to this computer (and after defragmentation must be copied
back).

You can tell eseutil to use a temp directory on another server and write the
defragmented database to this drive - after defragmentation is over eseutil
can copy the new files back or let the database stay on the network drive
and let you copy the files manually (depends on the command line switches
entered by you).

Remember to make a backup before starting.

Leif

"Brian" <c49a36a4-...@news.postalias> wrote in message
news:D21F016E-D207-475D...@microsoft.com...

Winfred Weng [MSFT]

unread,
Jan 20, 2006, 12:09:03 AM1/20/06
to
Hi there,

Thank you for posting here!

Thanks for Leif's sharing. The detailed information you need is provided in
the KB 328804 article provided by Leif. Also, I have listed some key
information to answer your questions as below:

1. Before you perform the defragment, it is strongly recommended that you
backup the the Exchange database.

How to Back Up and Restore an Exchange Computer by Using the Windows Backup
Program
http://support.microsoft.com/?id=258243

2. We need to dismount the store on which you want to perform the
defragment.

3. The amount of free disk space needed to defragment a database (Eseutil
/d) is 110 percent of the size of the file being defragmented. More
information is documented in the following Microsoft KB article:

XADM: Free Disk Space Requirements for Eseutil.exe
http://support.microsoft.com/?id=183888

4. If the drive which hosts the Exchange dababases on your side does not
have such much free space, we can use the Eseutil /t switch to redirect the
temporary defragmentation database to a drive with plenty of free space.
The command would be similar to the following one:

c:\program files\exchsrvr\bin>eseutil /d "c:\program
files\exchsrvr\mdbdata\priv1.edb" /tG:\Folder1\TempDfrg.edb

Note: This command will automatically move defraged database to the
original location and you do not need to do this manually.

You can refer to the following Microsoft KB article for more information
about this:

255035 XADM: How to Recover Hard Disk Space from Exchange Server Databases
http://support.microsoft.com/?id=255035
Note: You can refer to the "Offline Defragmentation with Redirected
Temporary Database" section.

5. Do NOT use eseutil /p command if you just want to perform an offline
defragment.

6. After the offline defragment, please also take a backup of the database.

I hope the information above is helpful.

If anything in my post is unclear, feel free to let me know.

Have a good day!

Thanks & regards,

Winfred Weng
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.

This and other support options are available here:

BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/

If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/common/international.aspx
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>Thread-Topic: offline defrag using ESEUtil
>thread-index: AcYdCmyDWnj7xddvTDGztfnvutqWhg==
>X-WBNR-Posting-Host: 162.42.230.150
>From: "=?Utf-8?B?QnJpYW4=?=" <c49a36a4-...@news.postalias>
>Subject: offline defrag using ESEUtil
>Date: Thu, 19 Jan 2006 07:10:03 -0800
>Lines: 10
>Message-ID: <D21F016E-D207-475D...@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.exchange2000.information.store
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.exchange2000.information.store:18933
>X-Tomcat-NG: microsoft.public.exchange2000.information.store

Leesha

unread,
Nov 26, 2008, 7:41:00 PM11/26/08
to
Winfred,

My problem is somewhat similar to Brian's, except that I am attempting to
defrag my personal PC. I continue getting "not enough space" results for a
more than a few files. How do I defragment files that are too large to
defragment?

I have used the defrag option on my Windows PC. My PC information is as
follows:

Windows XP (2002 Version)
20 GB Hard drive
2.64 GB Free space

Any assistance you can provide will be greatly appreciated. If you need
additional information re: my PC, let me know. Thank you.

0 new messages