Exchange 2010 - Disconnected Mailbox

Hello 

We have Exchange 2010 server. I have noticed that on one of the drives (Mailbox Data store )has very low disk space left. 

I have done New local Move request to bunch of users but still doesn't seem to free up the free. 

Also i have more than 100 disconnected Mailbox and quite a few of them show that its from the same database as above on the low disk space. 

I run Remove-Mailbox -identity "John Brown" 

and got an error 'The Operation couldn't be performed because object 'John Brow' couldn't be found on DC'

run this cmd as well

Get-MailboxStatistics -Database "Mailbox Database 08310xxxx | Where-Object {$_.DisconnectDate -Notlike $NULL} | FL DisplayName, DisconnectDate, MailboxGuid

Error iam getting - Mailbox database "xx xx0 8310xxxx "doesnt exist.

I would like to clear all the Discconnected mailbox and how can i free up the disk What can i delete?

If any one has experience this please share. Thank you 

Cheers 

KB

April 28th, 2015 5:15pm

I really don't know why you obfuscate the mailbox database name.  It's just an arbitrary random number.

I really can't help you when you don't post the complete steps you've taken including the exact commands copied rather than transcribed and the complete unadulterated error messages.

Free Windows Admin Tool Kit Click here and download it now
April 28th, 2015 5:56pm

Hi Ed 

First command i run is 

Get-MailboxStatistics -Database "Standard Users" | Where-Object {$_.DisconnectDate -Notlike $NULL} | FL DisplayName, DisconnectDate, MailboxGuid

and i got the list of users and the DisconnectedDate and MailboxGuid 

Second command i run is this 

Remove-Mailbox -StoreMailboxIdentity b55f25e1-09a3-4d04-a5de-f8fa6e083707 -Database "Standard Users"

and it returned with error 

Mailbox "b55f25e1-09a3-4d04-a5de-f8fa6e083707" doesn't exist on database "Standard Users".
    + CategoryInfo          : NotSpecified: (0:Int32) [Remove-Mailbox], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : 63512F0D,Microsoft.Exchange.Management.RecipientTasks.RemoveMailbox

 

Thank you 

KB

April 28th, 2015 6:25pm

Have you tried enclosing the GUID in quotes?
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2015 6:47pm

See if this thread helps.

https://social.technet.microsoft.com/Forums/en-US/7a2b58d8-67d4-4571-bac7-5b7f8e09a887/unable-to-remove-disconnected-mailbox?forum=exchange2010

April 28th, 2015 6:50pm

Yes have tried in quotes same error as above. 
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2015 7:06pm

I have went through the above link and it seem to work on few mailbox and few returns with the same error as above. 

Also noticed that the Database store is running low on disk space is there something i could delete?

cheers

KB

April 28th, 2015 7:50pm

Actually the best way to handle that is to move all mailboxes out of the store that's too large to a new mailbox database and then delete the empty one.  That's also a way to get rid of the disconnected mailboxes, although it's a bit drastic for just that.
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2015 7:52pm

Have moved all large mailboxes to another data store but it doesn't seem to make any difference on the disk size. 

Cheers 

KB

April 28th, 2015 10:48pm

It won't.  Databases never shrink on their own.  You have to move ALL the mailboxes, then delete and recreate the database, or dismount it, remove all the database and log files, then mount it with the -Force switch, which will create a new empty database.
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2015 11:00pm

ok so a couple of things

A: Disconnecting and Moving Mailboxes from a DB will not reduce the physical size of the DB EVER

B: What it will do is free up internal space for use by other mailboxes and items, HOWEVER even that only takes place after deleted item and mailbox retention has passed

C: Move mailboxes will also incur log generation so you need to consider that before doing mailbox moves and take action, i.e. circular logging OR make backups of the DB's to truncate the logs.  That said thats a non issue since you already moved all the mailboxes.

That said before I tell you how to handle this please confirm the following since the resolution is destructive and I want to ensure you are not doing more damage before continuing

1. ALL mailboxes are moved out of the problem database into a new database.

2. For the problem DB what is the DB path and LOG path?

3. Right click on the path for the DB and the LOGs and select properties and report back the size

4. What is the size of the problem EDB?

April 28th, 2015 11:05pm

Hi Ed 

First command i run is 

Get-MailboxStatistics -Database "Standard Users" | Where-Object {$_.DisconnectDate -Notlike $NULL} | FL DisplayName, DisconnectDate, MailboxGuid

and i got the list of users and the DisconnectedDate and MailboxGuid 

Second command i run is this 

Remove-Mailbox -StoreMailboxIdentity b55f25e1-09a3-4d04-a5de-f8fa6e083707 -Database "Standard Users"

and it returned with error 

Mailbox "b55f25e1-09a3-4d04-a5de-f8fa6e083707" doesn't exist on database "Standard Users".
    + CategoryInfo          : NotSpecified: (0:Int32) [Remove-Mailbox], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : 63512F0D,Microsoft.Exchange.Management.RecipientTasks.RemoveMailbox

 

Thank you 

KB

Hi,

Please remove the disconnected mailbox by the following steps:

Get-MailboxDatabase | Get-MailboxStatistics | where {$_.disconnectdate -ne $null} | fl DisplayName,MailboxGuid,Database,DisconnectReason

If the MailboxState is Disabled for this disconnected mailbox, we can run the following command to delete it:

Remove-StoreMailbox -Database "Standard Users" -Identity "b55f25e1-09a3-4d04-a5de-f8fa6e083707" -MailboxState Disabled

If it is SoftDeleted, please run:

Remove-StoreMailbox -Database "Standard Users" -Identity "b55f25e1-09a3-4d04-a5de-f8fa6e083707" -MailboxState SoftDeleted

Regards,

Free Windows Admin Tool Kit Click here and download it now
April 29th, 2015 8:20am

Tried doesn't work same error as above. 

cheers

KB

April 30th, 2015 11:09pm

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

Other recent topics Other recent topics