Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 145
  • Last Modified:

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?
0
MacGyver80
Asked:
MacGyver80
  • 5
  • 3
  • 2
  • +1
1 Solution
 
Rajitha ChimmaniCommented:
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
0
 
Simon Butler (Sembee)ConsultantCommented:
Offline defrag is not risk free and should be avoided.
Moving the mail to a new database is the preferred method as it is risk free and involves no downtime. Offline defrag requires total downtime of the server.

Simon.
0
 
MacGyver80Senior Systems AdministratorAuthor Commented:
Only issue is the client only has one Mail DB.
0
Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

 
Rajitha ChimmaniCommented:
You cannot free up physical drive space by deleting the mailboxes. You got to create a new empty DB and move the mailboxes.
0
 
MacGyver80Senior Systems AdministratorAuthor Commented:
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.
0
 
Gareth GudgerCommented:
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.
0
 
MacGyver80Senior Systems AdministratorAuthor Commented:
What if I've already deleted the mailboxes and purged them via powers hell?
0
 
Gareth GudgerCommented:
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.
0
 
MacGyver80Senior Systems AdministratorAuthor Commented:
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.
0
 
Gareth GudgerCommented:
I am confused. Do you have a second database?
0
 
MacGyver80Senior Systems AdministratorAuthor Commented:
Yes.  Apparently one for the mailboxes with no archiving and public folders.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 5
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now