Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Thu, 19 Jan 2006 07:10:03 -0800,    group: microsoft.public.exchange2000.information.store        back       


offline defrag using ESEUtil   
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
date: Thu, 19 Jan 2006 07:10:03 -0800   author:   Brian alias

Re: offline defrag using ESEUtil   
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-2142028833@news.postalias> wrote in message 
news:D21F016E-D207-475D-B603-682A1D5B71A7@microsoft.com...
> 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
date: Thu, 19 Jan 2006 20:30:31 +0100   author:   Leif Pedersen [MVP]

RE: offline defrag using ESEUtil   
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-2142028833@news.postalias>
>Subject: offline defrag using ESEUtil
>Date: Thu, 19 Jan 2006 07:10:03 -0800
>Lines: 10
>Message-ID: 
>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
>
>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  
>
date: Fri, 20 Jan 2006 05:09:03 GMT   author:   (Winfred Weng [MSFT])

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us