Solved

Reclaiming database space/checking consistency

Posted on 2004-03-23
8
384 Views
Last Modified: 2012-06-27
Ok, I still haven't done this after rebuilding my Exchange server, and I'd like to do it ASAP.  Here's my situation....
- I have a single Exchange 2000 standard server (Windows 2000 Server, SP3)
- Exchange/OS installed on C:\ drive, pub1.edb on D:\ drive with 14.2GB Free
- Originally, database went oversize and I did the reg hack to be able to mount it and delete all kinds of data (It's now down to about 7GB, but still "shows" as 17.2GB)

My questions are:
1.) Is it safe to run the eseutil utility on the .edb file right there on the D:\ drive if there's only 14.2GB free space and the database "shows" as 17.2GB?
2.) I'm assuming all email services need to be stopped and users will not be able to use the Exchange server for the entire time the utility is running, correct?
3.) Is there an easier/safer way to do this?  

Thanks.
0
Comment
Question by:tenover
  • 3
  • 2
8 Comments
 
LVL 8

Expert Comment

by:xxgenius
ID: 10661443
you need over 100% free space on the drive to run a defrag.  this is so the eseutil can make a temp of the database.  if you feel that the database is 7gb you should be ok. it is strongly advised to make a backup before and after the defrag.  email services will be stopped and there will be down time. i have found that it is the easiest and safest way to do it on that machine. i have in the past copied the databases to another server, copied the bin directory and defragged it.  it worked but i wouldn't do it again, at that time i had no other choice.  if you have a spare HD you can add it to that server and use the temp switch in eseutil.
0
 
LVL 8

Expert Comment

by:Emptyone
ID: 10661463
1) Run eseutil /d /td:\tempbase.edb /p
This lets you run the defrag without doing anything with the files on the C: drive. If everything works out, copy the file from the d: drive to where you have your files today. Rename it to the correct name and then mount. As always it is recommended to have a copy of the files you run defrag on. Just in case. :)
2) You have do dismount the stores, and because of that, users will have no access
3) Not as I now of
0
 

Author Comment

by:tenover
ID: 10661527
Thanks guys.....
I KNOW for a fact the actual size is less than 7GB, so I'll use Veritas to do a Full backup of the Mailbox Store, then when it finishes, I'll dismount the Mailbox Store, stop all Exchange services, and run eseutil /d priv1.edb on the D:\ drive.  Emptyone- What do you mean "...without doing anything with the files on the C:\ drive..."?  I'm assuming that my backup of the Mailbox Store that I will do with Veritas will be sufficient as a "...copy of the files you run defrag on...", no?  I'm just paranoid about doing this...Thanks again.
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 8

Expert Comment

by:Emptyone
ID: 10661771
What I mean is that if the defrag fails, you will not have to do a full restore to be up and running again. Because the files are untouched on the C: drive

The Veritas backup will do, but it will in fact be quicker and easier to copy the files. But do what you feel most secure about, and most comfortable doing
0
 

Author Comment

by:tenover
ID: 10661981
Oh, ok.....so you're saying if I run eseutil with the /td:\tempbase.edb /p switch, that it will make a whole seperate "database" to do the defrag on, then if it's successful, I can copy the temp database that was created to the proper mailbox store location, delete the old one, rename the temp one to "priv1.edb" and remount it....right?
0
 
LVL 8

Accepted Solution

by:
Emptyone earned 500 total points
ID: 10662020
That is right yes. But one other person I helped had problems with the new defraged file, so he had to use the copy/backup he made. So as always, it is best to have a backup. :)

But on most cases it is just to copy to proper location, delete old and rename temp file

Good luck reducing the size.

I'm going to get some sleep, looking forward to hear how it worked out
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

825 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