Offline defrag not shrinking exchange database - Exchange 2010
Hi,
I've moved a couple mailboxes to a new store, and then logged into each mailbox and deleted all the users info. I then do a MailboxStatistics on the store to get TotalItemSize. Combined all the mailboxes now are about 100MB but the Store size is still 38GB.
Completed a offline defrag a couple of times and no change. Also checked white space for the Store and it shows only 2.5mb free. Is there something else I need to run to get the lost space free.
Thanks,
March 4th, 2013 8:49am
Hi,
Have you checked the whitespace with the following cmdlet?
Get-MailboxDatabase -Status | Select-Object Server,Name,AvailableNewMailboxSpace
Regards from ExchangeOnline
Windows Administrator's Area
Free Windows Admin Tool Kit Click here and download it now
March 4th, 2013 9:34am
Hi,
Thanks for reply.
I have, and it shows there is only 14MB white space. Attached pic you can see the size of the mailboxes in the Temp Store, with the temp store being 38GB. There is no disconnected mailboxes in that store, so I don't know where the space is being wasted.
March 5th, 2013 4:06am
Hi
If you have moved mailboxes out of a store then copies of them will still be in a "soft deleted" state in the database: http://technet.microsoft.com/en-us/library/ff829913(v=exchg.141).aspx
These will be there until the mailbox retention period expires or you remove them manually using the commands in that link.
Cheers, Steve
Free Windows Admin Tool Kit Click here and download it now
March 5th, 2013 4:50am
Ok. I've figured out that the space is being used by the Recoverable Items for the selected mailboxes. Is there a way to purge them using PS.
[PS] C:\Windows\system32>Get-MailboxFolderStatistics "username" -FolderScope RecoverableItems | Format-List Name,Folder
Name : Recoverable Items
FolderAndSubfolderSize : 607.2 MB (636,686,437 bytes)
Name : Calendar Logging
FolderAndSubfolderSize : 0 B (0 bytes)
Name : Deletions
FolderAndSubfolderSize : 31.72 KB (32,481 bytes)
Name : Purges
FolderAndSubfolderSize : 605.9 MB (635,285,491 bytes)
Name : Versions
FolderAndSubfolderSize : 0 B (0 bytes)
March 5th, 2013 8:50am
Hi,
Refer the link
http://technet.microsoft.com/en-us/library/ff678798.aspxRegards from ExchangeOnline
Windows Administrator's Area
Free Windows Admin Tool Kit Click here and download it now
March 5th, 2013 9:01am
Not sure why this post was reported as abusive, perhaps a Mod can fix this.
Steve
March 5th, 2013 9:12am
Thanks... That worked awesome with all but one of the accounts. Just disabled the account and created on new store.
Free Windows Admin Tool Kit Click here and download it now
March 6th, 2013 2:49am