Solved

how to defrag exchange 5.5 - edb file was reduced by just 200KB

Posted on 2004-08-31
5
446 Views
Last Modified: 2008-02-01
help...

Our priv.edb is almost 13 GB and we're running out of harddisk space in our exchange 5.5- NT server. So I created a batch file to run the offline defrag and it was scheduled to execute, 10pm last night. However, when I arrived in the office this morning, the batch file was still running (how long will it usually takes to defrag?)... On the screen, it showed... defragmenting ispriv  ..... %  complete (will it indicate the number or percentage completed ?). After half an hour the batch file window disappeared without restarting the exchange services which was included in my batch file.  Although the priv.edb file size was reduced by just 200 KB. What’s wrong with my batch file?  Any suggestions?


net stop MSExchangeSA /y
net stop MSExchangeDS /y
net stop MSExchangeSA

rem *****backup edb files - drive N - mapped drive *****
copy e:\exchsrvr\mdbdata\*.* N:\backup\

rem *** defrag ****
c:\winnt\system32\eseutil /d /ispub /tN:TEMPDFRGPUB.EDB
c:\winnt\system32\eseutil /d /ispriv  /tN:TEMPDFRGPRIV.EDB


net start MSExchangeSA
net start MSExchangeIS
net start MSExchangeMTA
net start MSExchangeDS
net start MSExchangeIMC
net start MSExchangeES


thanks a lot,
aimee
0
Comment
Question by:ryedined
[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
  • 2
  • 2
5 Comments
 

Assisted Solution

by:nethelpr
nethelpr earned 30 total points
ID: 11951667
Please verify that you have enough space on the drive to do the defrag. You'll need ~26GB free (about double the size of the IS).
Have you tried to run a manual defrag of the IS? I'd try that and see if you get any errors during the defrag. Please let me know if you need any more assistance.
0
 
LVL 104

Expert Comment

by:Sembee
ID: 11953336
What is your reason for defragging? Microsoft do not recommend the procedure unless you have a large amount of white space in the database. In this scenario I would call anything over a 1gb a large amount of white space.

Look for event ID 1221 in the application log of your Exchange server.

Simon.
0
 

Author Comment

by:ryedined
ID: 11959621

Hi! There's enough space on the drive to do the defrag. No, I havent tried running a manual defrag. I'll try to do it tonight...

sembee, there's only 800MB drive space left where priv.edb file is located so i need to compress the file. any suggestions to compress the edb files?

thanks,
aimee

0
 

Author Comment

by:ryedined
ID: 12042568
hi... i really need your help... we only have 600MB space left in our exchange server... I did the offline defrag but it didnt help....

Is there a way in exchange 5.5 to delete or purge 6 months old emails in all mailboxes? aside from cleaning each mailbox or using exmerge?

thanks a lot
0
 
LVL 104

Accepted Solution

by:
Sembee earned 45 total points
ID: 12043187
You can use mailbox manager - it is part of the Exchange tools.
http://www.microsoft.com/technet/prodtechnol/exchange/55/maintain/mailmg.mspx

Once you have cleared the messages, Exchange will clear them out of the database. The size of the database will not change though - there will just be a large amount of white space in the database. Exchange will use that first.

If you want to compress the database then you will need the amount of space already indicated - ie around double the size of the database at the moment.
This can be done on another machine - but there must be total downtime of Exchange while the process is running.
Simon.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why do messages keep disappearing from MS Outlook 2016 sent folder 4 46
exchange, OWA, 7 37
Remote Powershell Issue 3 30
Mail Exchanger (MX) Record 5 32
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

735 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