Solved

Help with Shrinking Exhange 2003 Database

Posted on 2011-09-28
6
165 Views
Last Modified: 2012-05-12
We are running a Exchange 2003 mail server and I am starting to run out of space and need some assistance.  Below are the key points:

1. Database size limit set in the registry is 70 Gigs.

2. The free space on the physical disc where the database file and logs are kept is 1.5 Gigs.

3. The total size of all of the mailboxes recently exceeded 70 Gigs and was causing the mail store to be detached when maintenance ran early in the AM.  

A few days ago, I requested that users go in and delete any messages that were no longer needed and also empty their deleted items folder.  Between all of the users they probably removed 10-15 Gigs of email messages.  

Right now, the priv1.edb file is 68 Gigs and the priv1.stm is 15.8 Gigs.  Do I need to perform an offline defrag to recover the space created by the users deleting old messages?
0
Comment
Question by:csimmons1324
  • 2
  • 2
  • 2
6 Comments
 
LVL 6

Accepted Solution

by:
E_T_B earned 250 total points
ID: 36719528
Yes.  Use eseutil to defrag your database.

http://www.msexchange.org/tutorials/Exchange-ISINTEG-ESEUTIL.html
0
 

Author Comment

by:csimmons1324
ID: 36719557
It is my understanding that there needs to be 110% physical free space available on the disc to do an offline defrag.  Obviously, I don't have that much space available on the Exchange server.  Am I able to move the database to a network drive and run the defrag from there?  Or, is there anything else that I can do to the database while it is still on the Exchange server to shrink it?
0
 
LVL 6

Expert Comment

by:E_T_B
ID: 36719575
Yes, you can move the DB to a network drive.  The DB will not shrink any other way.
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 12

Assisted Solution

by:Deepu Chowdary
Deepu Chowdary earned 250 total points
ID: 36719586
Yes you can do that, but it was not a good practise.
Make sure you are just copying the database to network drive and not moving.
Also you must use a /t Path switch or set path = command.
Before doing that once check what is the free space available after online defrag completed.
Check eventviwer for event id 1221.
0
 

Author Comment

by:csimmons1324
ID: 36719842
Event 1221 is saying that there is 1.6 Gigs of free space after online defragmentation has terminated.  Since it says that the defrag has terminated, does this mean that it completed or was terminated for one reason or another before it could complete?

As I stated before, there is currently 1.6 Gigs of free space on the physical drive.  However, the past few mornings the database store has been shutdown due to lack of free space caused by the creation of .log files in the MDBDATA folder.  Is it safe to remove these log files to free up space so that I can bring the mailbox store back online?
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36719957
Never touch log files.
Use backup utility and backup exchange, so that log files will get automatically purged.
For example using NTbackup in windows 2003 (Inbuilt) and taking information store backup will purge logs.
In windows 2008 this was replaced by windows backup utility which will do the same business.
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

Title # Comments Views Activity
Export Exchange Cert 5 42
ACTIVE DIRECTORY 18 51
How does user access Outlook on-premise archive on Exchange server 17 36
Email forwading to another account 6 21
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
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…

831 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