large exchange mailbox database with no users in it

nettech 151 Reputation points
2022-09-18T13:33:30.59+00:00

Hi,

We had several mailboxes in an exchange 2013 mailbox database. The size of the EDB file was over 100GB. All user mailboxes have been migrated to another mailbox database located on another exchange server. Once migration completed we dismounted an empty mailbox database and ran Eseutil /d against it. For some reason we only got 60GB back as the new database is using 48GB.

Both Keep deleted items for (days) and Keep deleted mailboxes for (days): are set to 0

Exchange backup has been taken after moving all user mailboxes to another database.

Get-MailboxDatabase -Status -Identity old | select Name,DatabaseSize,AvailableNewMailboxSpace

Name DatabaseSize AvailableNewMailboxSpace
---- ------------ ------------------------
Old 45.76 GB (49,132,077,056 bytes) 7.938 MB (8,323,072 bytes)

=========================================================================

Get-MailboxDatabase "old" | Get-mailbox - returns no results

=========================================================================

Get-MailboxDatabase "old" | Get-mailbox -Monitoring | select name

Name
----
HealthMailboxe3fe9a9233a54f6a94ab77a1cd10cd01
HealthMailbox39fb77268a8e4179a7e65be9a77c7b02
HealthMailboxc1b2c9a2bd79471c98ea1f40f39761a6

What could be using 48GB os space in an empty mailbox database?

Thanks

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,590 questions
{count} votes

Accepted answer
  1. Andy David - MVP 147.5K Reputation points MVP
    2022-09-19T00:09:39.94+00:00

    The health/monitoring mailboxes are just throwaway mailboxes that can be recreate at will. See my previous answer:
    If you feel they are too large, recreate them:

    https://learn.microsoft.com/en-us/answers/questions/60635/healthmailbox-cleanup.html

    You can delete them all with powershell:
    Get-Mailbox -Monitoring | Remove-Mailbox

    Make sure you also read this and give the necessary permissions so the AD objects are removed:
    https://learn.microsoft.com/en-us/exchange/troubleshoot/administration/remove-mailboxdatabase-cannot-remove-health-mailboxes

    Otherwise, remove the AD objects manually

    Then restart the Microsoft Exchange Health Manager, MSExchangeHM service on each 2019 server to recreate them.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Andy David - MVP 147.5K Reputation points MVP
    2022-09-18T20:47:16.783+00:00

    "AvailableNewMailboxSpace" is not accurate and should not be used really:
    https://blog.rmilne.ca/2013/08/20/how-to-check-database-white-space-in-exchange/

    Having said all that, why did you defrag? Just remove and delete the database on disk if it no longer used:)

    0 comments No comments

  2. nettech 151 Reputation points
    2022-09-18T21:40:14.09+00:00

    We ran defrag to understand how much space is really being used by HealthMailboxes. Seeing 50GB taken by Healthmailbox seemed excessive.

    HealthMailbox-exch1-Old was only using 2.6 GB, but In-Place Archive for it was using the remaining 45 GB

    We ran Get-Mailbox -Monitoring -Database Old | Remove-Mailbox and removed 3 Health Mailboxes from the Old mailbox database. After running another defrag, EDB file size went down to 64MB.

    Based on the discovery we are assuming that In-Place Archive for HealthMailboxes is out of control in other mailbox databases. Is there a way to check? What would be a right way to maintain the size of the HealthMailboxes & In-Place Archive HealthMailboxes at a minimum?

    Thanks

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.