Remove moved mailboxes from source database
Hello, I have moved several mailboxes from one database to another 2010 database. But for some reason the database size remains the same. Any suggestions on clearing out the mailbox database of disconnected mailboxes? Thanks. Ross
March 16th, 2011 5:21am

The physical database size not gained by moving or deleting the mailboxes. only white space is created. To get the physical database size, offline defragmentation must be performed.
Free Windows Admin Tool Kit Click here and download it now
March 16th, 2011 10:35am

Agree with Rajith, Moving mailbox from database does not compact DB size. you can use ESEUTIL /d for offline defragmentaion. Offline defragmentaion is not a suitable solution for reduce DB size as its required good amount of down time (Depend upon DB size). For this you can move all maibox in other store and delete DB then create new DB and move mailbox back in new DB. Hope you are well aware now.Anil
March 16th, 2011 1:29pm

Hi, When mailboxes are moved from an Exchange 2010 SP1 database to any other database, Exchange doesn't fully delete the mailbox from the source database immediately upon completion of the move. Instead, the mailbox in the source mailbox database is switched to a soft-deleted state. Mailbox data can be accessed during a mailbox restore operation using the MailboxRestoreRequest cmdlet set. The soft-deleted mailboxes are retained in the source database until either the deleted mailbox retention period expires or you use the Remove-StoreMailbox cmdlet to purge the mailbox More information about understanding move requests http://technet.microsoft.com/en-au/library/dd298174.aspx#SoftDel This example purges the soft-deleted mailbox for Jane from mailbox database MBD01. Remove-StoreMailbox -Database MBD01 -Identity Jane -MailboxState SoftDeleted For more information about Remove-StoreMailbox http://technet.microsoft.com/en-au/library/ff829913.aspxPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
March 17th, 2011 5:12am

Thanks for the info about the defrag I will do this on the next scheduled down time. I would simply let that database die but I don't have a great amount of space left on the data drive. I did purge the soft deleted users from the database but like stated above its white space. Thanks for your advice. Ross
March 17th, 2011 5:19am

I ran Powershell command listed in http://64.4.11.252/en-us/library/gg181092.aspx and I got an error: Get-MailboxStatistics -Database MBXDB01 | where {$_.DisconnectReason -eq "SoftDeleted"} | foreach {Remove-StoreMailbox -Database $_.database -Identity $_.mailboxguid -MailboxState SoftDeleted} Pipeline not executed because a pipeline is already executing. Pipelines cannot be executed concurrently. + CategoryInfo : OperationStopped: (Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace) [], PSInvalidOperationException + FullyQualifiedErrorId : RemotePipelineExecutionFailed I need to delete all soft delete disconnected mailboxes, not just one. Thanks.
Free Windows Admin Tool Kit Click here and download it now
April 21st, 2011 9:47am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics