Solved

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

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

Integrate social media with email signatures

Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
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…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now