Exchange Server 2000 - thousands of log files in the MBDDATA folder

Posted on 2004-10-25
Medium Priority
Last Modified: 2012-05-05
My exchange server recently fell over (about half an hour ago to be precise), giving me a headache I could have done without on a Monday morning. Luckily, I found the problem to be disk space before I did anything too destructive!

However, the disk space issue is mainly being caused by Exchange, as there are literally THOUSANDS of log files in the MBDDATA folder alongside the data stores.

How can I stop Exchange creating these log files in such an alarming amount, and which ones can I safely delete to free up some space?


Question by:TeamLink
LVL 20

Accepted Solution

ikm7176 earned 220 total points
ID: 12399392
Perform online backup of your exchange servers using exchange-aware backup software (NTbackup, Veritas exec..etc). It will automatically delete the Transaction log files.


see the link below for some other possibilities


Expert Comment

ID: 12399926
Also check that you are not being hit by an NDR spam attack. Simply disable sending non-delivery reports to outside senders.

Assisted Solution

v_alber earned 160 total points
ID: 12399986

   You have a couple of options how to get rid of these log files:
   1) ntbackup will purge the log files
   2) running eseutil /mh on your priv1.edb files will tell you what log file range in use right now, meaning you can delete
       all other logs.
  I would recommend running the backup.
  In the future, if you don't want those logs files to be there, and you are not attending to run backups (not such a good
  idea), you can enable circular logging, meaing you are going to have only five log files which will be overwritten automatically. Keep in mind, that in case of disaster recovery yoy can loose lot's of data if you do that.
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


Author Comment

ID: 12405973
I tried running a backup, and this didn't delete any log files at all? Am I missiing something, is there any particular settings I need to achieve what I want?

I also tried eseutil /mh but it said that the database was in use - do I need to unmount the stores to run this?

I have log files that go right back to June and earlier - these surely aren't used anymore?

I can't believe there isn't a "tidy up log files more than x days" old feature. How crap is MS Exchange 2000!!!

Finally, as an aside, is Exchange 2003 any better at managing logs, as upgrading is a definite possibility.

Expert Comment

ID: 12407577
  You have to run eseutil when the database is offline. Dismount the stores and run eseutil /mh priv.edb. By the way, what is the version of exchange you are using. As mentioned above, don't delete the log files manually. If you are using Enterprise version of exchange, then how many  stores are there in the storage group.

Author Comment

ID: 12408813
Thanks for everyoness tips. My full backup was not deleting log files as the public store was not mounted (we don't use it). When I mounted this, and ran a full backup, all the logs disappeared! hurrah!

Thanks again,

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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.

Join & Write a Comment

What is the biggest problem in managing an exchange environment today? It is the lack of backups, disaster recovery (DR) plan, testing of the DR plan or believing that it won’t happen to us.
Disk errors can be the source of sundry problems for the Exchange server, the most common one being that the database fails to mount.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question