Run out of local disk space on on-premises Exchange server

%3CLINGO-SUB%20id%3D%22lingo-sub-333364%22%20slang%3D%22en-US%22%3ERun%20out%20of%20local%20disk%20space%20on%20on-premises%20Exchange%20server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-333364%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20Office%20365%20hybrid%20configuration%20with%20Exchange%202016.%20I%20noticed%20the%20folder%20C%3A%5CProgram%20Files%5CMicrosoft%5CExchange%20Server%5CV15%5CMailbox%5CMailbox%20Database%201872985310%20is%20growing%20very%20big%20on%20the%20on-premises%20Exchange%20server.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3BWhat%20is%20this%20folder%20for%3F%20Can%20I%20clean%20up%20this%20folder%20to%20reduce%20the%20folder%20size%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20also%20have%2010%20GB%20logging%20in%20folder%20V15.%26nbsp%3B%20how%20to%20clean%20up%20this%20folder%20as%20well%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENeed%20help!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-333364%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-352011%22%20slang%3D%22en-US%22%3ERe%3A%20Run%20out%20of%20local%20disk%20space%20on%20on-premises%20Exchange%20server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-352011%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F74422%22%20target%3D%22_blank%22%3E%40Grace%20Yin%3C%2FA%3E%20%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes%2C%20regarding%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F51768%22%20target%3D%22_blank%22%3E%40Lynn%20Towle%3C%2FA%3E%20you%20need%20to%20do%20the%20full%20backup%20to%20clear%20the%20transaction%20logs.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIs%20not%20advised%20to%20use%20circular%20log.%20Only%20in%20labs%2C%20never%20in%20production.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-346667%22%20slang%3D%22en-US%22%3ERe%3A%20Run%20out%20of%20local%20disk%20space%20on%20on-premises%20Exchange%20server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-346667%22%20slang%3D%22en-US%22%3EYay!%20Glad%20you%20figured%20it%20out!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-346612%22%20slang%3D%22en-US%22%3ERe%3A%20Run%20out%20of%20local%20disk%20space%20on%20on-premises%20Exchange%20server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-346612%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Lynn%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20reply.%20We%20didn't%20enable%20circular%20log.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20figured%20out%20how%20to%20reduce%20the%20log%20size.%20I%20will%20need%20to%20select%20Custom%20Backup%20in%20Windows%20backup%20and%20select%20VSS%20full%20backup.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20812px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F79426i302AACD8E915AF5B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22log.jpg%22%20title%3D%22log.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-345292%22%20slang%3D%22en-US%22%3ERe%3A%20Run%20out%20of%20local%20disk%20space%20on%20on-premises%20Exchange%20server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-345292%22%20slang%3D%22en-US%22%3E%3CP%3EOh%2C%20and%20the%20easiest%20way%20to%20see%20what%20is%20connected%20to%20that%20database%20is%20to%20log%20into%20the%20ecp%2C%20add%20a%20column%20to%20show%20you%20what%20is%20attached%20to%20which%20database%20in%20the%20recipients%20menu%2C%20and%20then%20sort.%20If%20any%20mailboxes%20are%20attached%20to%20it%2C%20you%20will%20see%20there.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-345276%22%20slang%3D%22en-US%22%3ERe%3A%20Run%20out%20of%20local%20disk%20space%20on%20on-premises%20Exchange%20server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-345276%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20logging%20folder%20doesn't%20surprise%20me%2C%20that%20folder%20can%20get%20fairly%20large.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20you%20have%20circular%20logging%20enabled%20on%20your%20database%3F%20Those%20logs%20are%20not%20being%20purged%20it%20seems.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20have%20a%20link%2C%20but%20there%20is%20a%20way%20to%20manually%20purge%20the%20log%20files%2C%20but%20you%20have%20to%20take%20the%20database%20offline%20to%20do%20so.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20the%20info%20for%20circular%20logging.%20It's%20for%202013%2C%20but%20I%20think%20it%20works%20the%20same%20or%20similar%20for%202016.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fconfigure-circular-logging-for-a-mailbox-database-exchange-2013-help%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EExchange%20circular%20logging%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%2C%20if%20you%20are%20using%20a%20backup%20program%2C%20you%20may%20want%20to%20check%20to%20see%20if%20it%20needs%20circular%20logging%20enabled%20or%20not.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-344891%22%20slang%3D%22en-US%22%3ERe%3A%20Run%20out%20of%20local%20disk%20space%20on%20on-premises%20Exchange%20server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-344891%22%20slang%3D%22en-US%22%3E%3CP%3EJust%20want%20to%20correct%20the%20wrong%20information.%20We%20do%20not%20have%20hybrid%20environment.%20We%20have%20directory%20sync.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-344431%22%20slang%3D%22en-US%22%3ERe%3A%20Run%20out%20of%20local%20disk%20space%20on%20on-premises%20Exchange%20server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-344431%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Nuno%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20just%20checked%20the%20server.%20The%20biggest%20file%20is%20Mailbox%20Database%201872985310.edb%20(25%20GB)%20in%20C%3A%5CProgram%20Files%5CMicrosoft%5CExchange%20Server%5CV15%5CMailbox%5CMailbox%20Database%201872985310.%20Besides%20this%20file%2C%20there%20are%20almost%2040K%20items%20of%201%20MB%20text%20files.%20They%20all%20together%20is%2040%20GB.%20Please%20see%20the%20image%20below.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20980px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F78008iA4A242D754587B2A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Email.JPG%22%20title%3D%22Email.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20the%20logging%20folder%20is%2010%20GB.%20See%20the%20image%20below.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20777px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F78056iD9403719740E96E1%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22mail.JPG%22%20title%3D%22mail.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20advise%20how%20to%20reduce%20the%20size.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-341132%22%20slang%3D%22en-US%22%3ERe%3A%20Run%20out%20of%20local%20disk%20space%20on%20on-premises%20Exchange%20server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-341132%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Nuno%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFolder%20%22%3CSPAN%3EMailbox%20Database%201872985310%3C%2FSPAN%3E%22%20in%26nbsp%3B%3CSPAN%3EC%3A%5CProgram%20Files%5CMicrosoft%5CExchange%20Server%5CV15%5CMailbox%5C%20is%20very%20big.%20What%20is%20this%20folder%20for%3F%20How%20to%20clean%20up%20to%20free%20space%3F%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EFolder%20%22log%22%20is%20also%20big.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EPlease%20advise!%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-341074%22%20slang%3D%22en-US%22%3ERe%3A%20Run%20out%20of%20local%20disk%20space%20on%20on-premises%20Exchange%20server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-341074%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F74422%22%20target%3D%22_blank%22%3E%40Grace%20Yin%3C%2FA%3E%20%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Backup%20only%20clear%20your%20transaction%20logs%20files%2C%20you%20will%20need%20to%20know%20what%20files%20or%20folders%20are%20consuming%20more%20space%20to%20figure%20out%20the%20root%20cause.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20example%2C%20if%20your%20database%20is%20very%20big%20you%20need%20to%20see%20what%20mailboxes%20are%20inside%20and%20their%20size.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-340119%22%20slang%3D%22en-US%22%3ERe%3A%20Run%20out%20of%20local%20disk%20space%20on%20on-premises%20Exchange%20server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-340119%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Nuno%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20reply.%20I%20have%20made%20full%20backup%20of%20the%20server%20by%20Windows%20Backup%2C%20but%20the%20disk%20space%20is%20still%20low.%20The%20used%20disk%20size%20did%20not%20reduce.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20advise!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMany%20thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-333409%22%20slang%3D%22en-US%22%3ERe%3A%20Run%20out%20of%20local%20disk%20space%20on%20on-premises%20Exchange%20server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-333409%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F74422%22%20target%3D%22_blank%22%3E%40Grace%20Yin%3C%2FA%3E%2C%20make%20a%20full%20backup%20of%20the%20server%20to%20clear%20the%20transaction%20log%20of%20the%20database%2C%20you%20can%20use%20the%20Windows%20Backup%20or%20third%20party%20that%20you%20can%20have.%20(Never%20clean%20the%20log's%20manually)%20you%20can%20corrupt%20your%20database.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

Hi,

 

We have Office 365 hybrid configuration with Exchange 2016. I noticed the folder C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 1872985310 is growing very big on the on-premises Exchange server.

 

 What is this folder for? Can I clean up this folder to reduce the folder size?

 

I also have 10 GB logging in folder V15.  how to clean up this folder as well?

 

Need help!

 

Thanks,

11 Replies
Highlighted

Hi @Grace Yin, make a full backup of the server to clear the transaction log of the database, you can use the Windows Backup or third party that you can have. (Never clean the log's manually) you can corrupt your database.

Highlighted

Hi Nuno,

 

Thank you for your reply. I have made full backup of the server by Windows Backup, but the disk space is still low. The used disk size did not reduce.

 

Please advise!

 

Many thanks!

Highlighted

Hi @Grace Yin

 

The Backup only clear your transaction logs files, you will need to know what files or folders are consuming more space to figure out the root cause.

 

For example, if your database is very big you need to see what mailboxes are inside and their size.

Highlighted

Hi Nuno,

 

Folder "Mailbox Database 1872985310" in C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\ is very big. What is this folder for? How to clean up to free space? Folder "log" is also big.

 

Please advise!

 

Thanks!

Highlighted

Hi Nuno,

 

I just checked the server. The biggest file is Mailbox Database 1872985310.edb (25 GB) in C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 1872985310. Besides this file, there are almost 40K items of 1 MB text files. They all together is 40 GB. Please see the image below. 

 

Email.JPG

 

Also the logging folder is 10 GB. See the image below.

mail.JPG

 

Please advise how to reduce the size.

 

Thanks in advance!

Highlighted

Just want to correct the wrong information. We do not have hybrid environment. We have directory sync. 

Highlighted

The logging folder doesn't surprise me, that folder can get fairly large.

 

Do you have circular logging enabled on your database? Those logs are not being purged it seems.

 

I don't have a link, but there is a way to manually purge the log files, but you have to take the database offline to do so.

 

Here is the info for circular logging. It's for 2013, but I think it works the same or similar for 2016.

 

Exchange circular logging

 

Also, if you are using a backup program, you may want to check to see if it needs circular logging enabled or not.

Highlighted

Oh, and the easiest way to see what is connected to that database is to log into the ecp, add a column to show you what is attached to which database in the recipients menu, and then sort. If any mailboxes are attached to it, you will see there.

Highlighted

Hi Lynn,

 

Thank you for your reply. We didn't enable circular log.

 

I figured out how to reduce the log size. I will need to select Custom Backup in Windows backup and select VSS full backup.

 

log.jpg

 

 

Highlighted
Yay! Glad you figured it out!
Highlighted

Hi @Grace Yin ,

 

Yes, regarding @Lynn Towle you need to do the full backup to clear the transaction logs.

 

Is not advised to use circular log. Only in labs, never in production.