Solved

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

Posted on 2004-08-31
5
448 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cannot transfer Outlook autocomplete file to a new Exchange profile 4 42
Certificate Questions - Exchange 2016 11 46
office 365 5 39
Exchange 2010 3 28
Utilizing an array to gracefully append to a list of EmailAddresses
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…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

739 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