Avatar of MacGyver80
MacGyver80Flag for United States of America

asked on 

Exchange 2010 SP3 - Mailbox deletion

EE,

I'm a bit confused about the deletion of Mailboxes from the Server and the purge of the mailboxes from "Disconnected Mailbox".

I ran the following to remove the mailboxes from "Disconnected Mailbox:

-Deleted Mailbox

-To remove from Disconnect Mailbox:
Remove-StoreMailbox –database “DB2” –identity “DisplayName” –MailboxState Disabled

-What I thought was the final command to complete the process:
Get-MailboxDatabase | Clean-MailboxDatabase

Now after the last command was applied, I check the free space on the drive that is hosting the Mailstore and I see no increase in space...????

Is there something I missing?
ExchangePowershellEmail Servers

Avatar of undefined
Last Comment
MacGyver80
Avatar of Rajitha Chimmani
Rajitha Chimmani
Flag of United States of America image

All deleted mailboxes will only create whitespace within the drive. You cannot retrieve actual disk space by deleting something. Any new mailboxes created or new data entered will try to occupy this whitespace.

You should either perform offline defragmentation or move the mailboxes over to a new database to retrieve the disk space.

More info on offline defragmentation process in below link

http://blogs.technet.com/b/rmilne/archive/2013/08/23/offline-defrag-and-dag-databases_2c00_-oh-my_2100_.aspx
ASKER CERTIFIED SOLUTION
Avatar of Simon Butler (Sembee)
Simon Butler (Sembee)
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of MacGyver80
MacGyver80
Flag of United States of America image

ASKER

Only issue is the client only has one Mail DB.
You cannot free up physical drive space by deleting the mailboxes. You got to create a new empty DB and move the mailboxes.
Avatar of MacGyver80
MacGyver80
Flag of United States of America image

ASKER

So what would be the steps if I already performed deletion of the mailboxes using the steps above?  They've already been purged from the server.
Avatar of Gareth Gudger
Gareth Gudger
Flag of United States of America image

Only issue is the client only has one Mail DB.

Exchange Standard lets you have up to 5 mailboxes databases. Just spin up another database. Then move the users as Simon pointed out.
Avatar of MacGyver80
MacGyver80
Flag of United States of America image

ASKER

What if I've already deleted the mailboxes and purged them via powers hell?
Avatar of Gareth Gudger
Gareth Gudger
Flag of United States of America image

So you have purged all mailboxes in the database? Are there any valid mailboxes still remaining? If so, move those. If you have purged everything then you can just remove the database.
Avatar of MacGyver80
MacGyver80
Flag of United States of America image

ASKER

There is huge free space issue in this company.  There is pretty much no additional space on the drives that the server is installed on.
Avatar of Gareth Gudger
Gareth Gudger
Flag of United States of America image

I am confused. Do you have a second database?
Avatar of MacGyver80
MacGyver80
Flag of United States of America image

ASKER

Yes.  Apparently one for the mailboxes with no archiving and public folders.
Exchange
Exchange

Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.

213K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo