Solved

Defrag Exchange 2003 store to new location and mount

Posted on 2009-05-19
12
601 Views
Last Modified: 2012-05-07
Can somebody help me with the command and process to do an offline defrag of an Exchange Information Store to a new location and then mount the new file instead? I tried it previously with the ESEUTIL and the defrag worked but the mount did not.
(And no, I don't have
ESEUTIL /d "C:\program files\exchsrv\mdbdata\priv1.edb /t"E:\"

Open in new window

0
Comment
Question by:jason_woods
  • 5
  • 5
  • 2
12 Comments
 
LVL 6

Assisted Solution

by:jesusrulesme
jesusrulesme earned 500 total points
Comment Utility
The /t switch will allow you to specify the temp directory, but it will only help you to during the defrag.  Once the defrag is complete, the temp file will be deleted.  Once you've defragged using the /t to specify the E: drive as the temp directory and defragged the database, then you can use the System Manager to move the database to the E: drive.
0
 
LVL 24

Expert Comment

by:Rajith Enchiparambil
Comment Utility
Why are you going for a defrag?
0
 
LVL 4

Author Comment

by:jason_woods
Comment Utility
We have recently archived 20 users from 8-10GB mailboxes down to 0.5GB mailboxes. However the EDB file did not shrink much.

Is there a defrag and move command to do it in one step?
0
 
LVL 6

Expert Comment

by:jesusrulesme
Comment Utility
There is no defrag and move command in one step.  I've been in this situation a number of times, though and I would either defrag and specify the temp directory with the /t command (because there wasn't enough free space on that drive) or move the edb file to a larger drive where I could run the defrag.  
0
 
LVL 24

Expert Comment

by:Rajith Enchiparambil
Comment Utility
Jason,

While the defrag will reclaim the white space, it involves down time, need 110% of free space and unless you are trying a reclaim a significant amount of space, it is of not much use.

Exchange will start using the whote space you have created by deleting stuff, before the database grows any further. What is the size of your store?
0
 
LVL 4

Author Comment

by:jason_woods
Comment Utility
Current store is 110GB.

If I understand correctly then, when I ran the command from above, I essentially defragged my Private Store EDB and all I need to do now is move it?

0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 6

Expert Comment

by:jesusrulesme
Comment Utility
That depends.  How long did the defrag take?  On a 110GB store a defrag would take at least 12-16 hours.  You said that you archived a bunch of data, which is the perfect time to do a defrag.  However, if the defrag is run and you freed up that much space, you should see a significant decrease in the size of the .edb file.
0
 
LVL 4

Author Comment

by:jason_woods
Comment Utility
I have the Exchange Server on a Virtual Machine with a high-end SAN. The Process took 4.5 hours and the temp file on the E: drive only reached 25GB.  By the math, it probably failed at 25%, but I watched the progress go through to 100% linearly.

Originally the EDB file was 140GB and now it's 110GB. This decrease is good, but not the amount it should have been with the archives totaling 105GB (spread amoung 35 PST files). I would expect the EDB file to be between 35GB and 50GB.

So it looks like I had 2 problems:
1) Failed Defrag
2) Not understanding that I would have to move the EDB file to the new location once defrag is complete.

Jason
0
 
LVL 6

Accepted Solution

by:
jesusrulesme earned 500 total points
Comment Utility
You might run isinteg -fix -test alltests to see if there are any issues with the DB.  Then you could rerun defrag and see if it is able to decrease the DB size on a more significant basis.

Another thing to consider is that Exchange can be configured to keep deleted items for x number of days.  It is possible that the stuff that is archived is still waiting to go through the deleted items cycle.  Here is a link to info about the deleted item retention policy.

http://www.msexchange.org/tutorials/MF022.html
0
 
LVL 4

Author Comment

by:jason_woods
Comment Utility
Deleted items are cleared every 15 days.
How long does isinteg take?
0
 
LVL 6

Expert Comment

by:jesusrulesme
Comment Utility
Isinteg should take about as long as the defrag, maybe less.  You might want to set the deleted item retention to 0, restart the information store, then dismount the database and run isinteg, then run a defrag.  That would take a lot of time of course, so you could spread those tasks out over a couple of days to minimize disruption to the network.
0
 
LVL 4

Author Comment

by:jason_woods
Comment Utility
I will give it a shot!
0

Featured Post

How does your email signature look on mobiles?

Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
In this video we show how to create a Contact 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 Recipients >> Contact ta…
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…

763 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