Solved

SBS 20211 Exchange 2010 MailStore Defrag

Posted on 2013-11-11
8
1,390 Views
Last Modified: 2013-11-12
Situation:

Client has SBS 2011 Standard and they are running out of hard drive space. The mailstore is 160GB with 100GB of white space.  In the past we've copied the database to another box and used ESEUTIL to defrag.  Copy the mailstore back, mount the store and we're back in business.

Several blogs and articles suggested to create a new mailstore, move the mailboxes to this mailstore, then dismount the old mailstore and move forward.  The new mailstore is working great and cleaned up a bunch of space, however every time you create a new user the mailbox is associated with the old mailstore.  The process right now is create user, mount the old mailstore, move the mailbox, dismount the old mailstore.  Now were really out of space and adding hard drives is not an option.

Several blogs had said not to remove the original mailstore as SBS 2011 is tightly integrated to that mailstore.  

The current thought process is to defrag the original mailstore, then mount and move the mailboxes back to the old mailstore.  Then delete the new mailstore.

Looking for solutions and though I'd check here.
0
Comment
Question by:breynolds01
  • 5
  • 3
8 Comments
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 39639908
The problem is, of course, in the SBS wizards.  The only workaround would be to stop using the SBS wizards and create new accounts manually the way you would on a standard domain.  That way, you can chose the mail store where you want the account to be added.  If you're an experienced domain admin then you shouldn't really have a problem doing this. You do, however, need to make sure that the account is created in the right OU/container and belongs to the appropriate SBS groups so that they have access to the SBS services like faxing, RWW, etc.
0
 
LVL 2

Author Comment

by:breynolds01
ID: 39639919
You are correct.  However SBS is so wizard driven we like to make sure the servers are running as vanilla as possible.  

What I'm looking for is a best practice on how to handle SBS 2011 exchange stores if there is such a thing.  I'm confident our plan of action will be successful however after reading this article I had some doubts and thought there might be a better way.

Offline Defrag And DAG Databases, Oh My!
0
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 39639939
Are you using a DAG?  That is not common practice in SBS2011 AFAIK.
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 39639970
Here's an article on defragging the Exchange 2010 database in the absence of a DAG:

http://exchangeserverpro.com/defrag-exchange-2010-mailbox-database/

The problem may be that if your disk space is really tight, you might not have enough space to perform an offline defrag.
0
 
LVL 2

Author Comment

by:breynolds01
ID: 39639975
No we are not, you are correct.  I linked the wrong article.  The article below is the one used to create the new database and move the mailboxes.  Is there a command to specify the new database in exchange to the SBS will create new mailboxes in the created store?

Moving mailboxes to a new mailstore, delete old mailstore is so much faster than an offline defrag.  

Database Maintenance in Exchange 2010
0
 
LVL 38

Accepted Solution

by:
Hypercat (Deb) earned 500 total points
ID: 39640028
I think I found it!! Give this a try:

http://support.microsoft.com/kb/2500559
0
 
LVL 2

Author Comment

by:breynolds01
ID: 39640171
Excellent find.

I applied the registry setting for the new database, created a new user, mailbox was create in the new mailstore and verified using this command in EMS:

Get-Mailbox | Sort database, name | Format-Table name, database

I then removed the old mailstore from Exchange and deleted the files.  Just recovered over 220GB of space.  Great work Hypercat!
0
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 39641689
Thanks - a benefit to us both as I can envision running into this same issue with some of my own clients.

Cheers!
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
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…
In this video we show how to create an Accepted Domain 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 >> Ac…

749 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