Exchange 2010 Server Low On Space

We have an Exchange 2010 server that will be decommissioned shortly but right now I need it to work.  It is rejecting mail from outside the organization as it only has 25GB of space left on the E: drive.  I'm worried about adding a drive to the RAID 5 the E: drive lives on and I want to know if it's possible and if it would be better to add a single drive to the server and set it up as the F: drive, create a mailbox store on the F: drive and move some of the mailboxes to that F: drive

Also how can I tell if a mailbox store is being used?  I believe I moved all mailboxes off of one of my mailbox stores but it is still showing that it is using 25GB of storage
PDISAsked:
Who is Participating?
 
Jose Gabriel Ortega CEE Solution Guide - CEO Faru Bonon ITCommented:
1. Check the space taken from the exchange logs by running:
https://gallery.technet.microsoft.com/office/What-is-the-size-of-my-0e1993a7
(if you can post it do it).

if not, you need to check the EDB file in GB with the GB size of logs.
If they are too big, you can enable circular logging.

Set-StorageGroup -Identity "First Storage Group" -CircularLoggingEnabled $true

Then, unmount the DB and mount it again.
and you will get more space and the email will start to flow.

here's the result of the steps, I did this recently in one of my clients:
magic.png
2
 
SeanSystem EngineerCommented:
As JoseO said best bet is to check for logging. If that is already on then you can do a few things.

You could create a new disk and move users as well to free up space just make sure the new database is backed up.

You could also check for disconnected mailboxes.
Get-MailboxDatabase | Get-MailboxStatistics | Where { $_.DisplayName -eq "<display name>" } | fl DisplayName,MailboxGuid,Database,DisconnectReason

This will list all mailboxes that were deleted but might still be in the 30 day recoverable time. those can be removed by running this:

Get-MailboxStatistics -Database databasename  | where {$_.DisconnectReason -eq "SoftDeleted"} | ForEach {Remove-StoreMailbox -Database $_.Database -Identity $_.MailboxGuid -MailboxState SoftDeleted}
0
 
PDISAuthor Commented:
I tried running the Set-StorageGroup -Identity "First Storage Group" -CircularLoggingEnabled $true but I received the following error

exchangeerror.PNG
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
PDISAuthor Commented:
Here is results from your script

exchangeerror1.PNG
0
 
PDISAuthor Commented:
I found the method for enabling circular logging from the management console by going to
In the console tree, expand Server Configuration, and then click Mailbox.
In the work pane, right-click the storage group for which you want to enable or disable circular logging, and then click Properties. The <Storage Group Name> Properties dialog box appears.
Select or clear the Enable circular logging check box.

But I do not see Circular Logging as an option

mailbox.PNG
0
 
SeanSystem EngineerCommented:
The command to enable this is:
Set-MailboxDatabase -CircularloggingEnabled:$true
1
 
Jose Gabriel Ortega CEE Solution Guide - CEO Faru Bonon ITCommented:
OK try
Set-MailboxDatabase  -identity "Mailbox Database 0482295700" -CircularloggingEnabled:$true

Open in new window

Then unmount and mount the DB.

You have almost 1 TB of logs! Jezz
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.