Offline defrag of Exchange 2010 DAG DB
Posted on 2010-09-03
Please do not just tell me I don't ever need to defrag, thanks.
I am having a problem with my email archiving solution at the moment which should be resolved shortly. This has lead to my two DAG'd DBs getting dangerously close to filling their partitions.
I have installed a new partition on all the DAG servers and I will be creating a third DB soon to spread the mailboxes out.
Once the archiving solution comes back and mailboxes are shrunk I want to know how much free space there actually is on my two original partitions. So while I have this empty third partition before I create the third DB, I have the chance to either (A) create the third DB and shuffle all mailboxes to it from each database one at a time recreating the other two databases in the process or (B) use the space to offline defrag the other two DBs.
The reason I don't want to do (A) is that one of the nodes of the DAG is in another office and it would take a looooong time for it to catch up with all the moving around of mailboxes.
So I would prefer to do the defrags, however I can't find the procedure to do this with regards to DBs in a DAG. Every post on t'interweb is just answered with you don't need to do it.
I know the DB files won't grow while there is space 'in side' them but I want to know exactly how much free space I have so that I can effectively balance the final 3 DBs.
I could in theory bring the third EX server back to this office for the dance of the mailboxes but that would be a pain and only worth it is the defrag process is extremely painful or dangerous.