Exchange 2016 storage location size

I got a question regarding the size of the storage location of my Exchange Server.
Currently i use a local disk with a usage of 500GB, but i dont know why it is that big.

I got 44GB of Installation files, logs, junk. Database size is 123GB. AvailableNewMailboxSpace is 70.28MB.
-> {Get-MailboxDatabase -Status | select Name,DatabaseSize,AvailableNewMailboxSpace}

How is it possible to verify that the Exchange database file is causing this Usage?
Is offline defrag necessary?

Key data:

Server
Windows Server 2016 1607 (Build 14393.1914)
Exchange 2016 v15.1 (15.01.1034.026)
Oliver ZiegerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jose Gabriel Ortega CEE Solution Guide - CEO Faru Bonon ITCommented:
You should have been Full of logs.

Try this script:
https://gallery.technet.microsoft.com/What-is-the-size-of-my-0e1993a7?redir=0

this will give you the actual size of your EDB (actual DB file) and the LOGs size.

I'm pretty sure that you have a lot of lots, so you will have to enable circular logging in your database(s).

(get-mailboxdatabase | select  Name).Name | %{ 
	#enable circularlogging
	set-mailboxDatabase $_ -CircularLoggingEnabled:$true
	#dismount db
	Dismount-Database -Identity $_ -confirm:$false
	#mount DB
	Mount-Database -Identity $_ -confirm:$false
}

Open in new window

Process is comented (Enable circular logging in the DBs, then unmount the DBs and mount the DBs to make the changes effectively).
Depending on the number of DBs this process will take more or less time.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jason CrawfordTransport NinjaCommented:
Don't bother with an offline defrag that will cause an outage, just create a new DB and move all the mailboxes to it.  Once that's done delete the old DB and enjoy all the new storage space.
0
Oliver ZiegerAuthor Commented:
Hey Jose,

thanks for your Script!
It shows me 369GB of Logs...

I guess its generally a good Idea to disable circular logging again?
These Logs are automatically delted when i do a Backups with the WindowsServer Backup solution?

Thank you!
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Oliver ZiegerAuthor Commented:
I guess disabling circular logging via owa is equal to your suggestion?

https://www.petenetlive.com/KB/Article/0001224
0
Jose Gabriel Ortega CEE Solution Guide - CEO Faru Bonon ITCommented:
They are similar, stopping the service "Information Store" also will dismount and mount the DB again.

Btw I converted your answer to a new script...
It's here: https://gallery.technet.microsoft.com/office/Enable-CircularLogging-In-beaaa3bd

If I'm not aware of the increase of storage consumption I would just let it on. just need to change the "$true" for $false in the script in line #3 from the answer  a42394988
0
Oliver ZiegerAuthor Commented:
Thank you again for your answers.
Worked fine, im im looking forward to configure exchange logging now.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Storage

From novice to tech pro — start learning today.

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.