Solved

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

Posted on 2004-10-25
628 Views
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?

Thanks.

Phil.
0
Question by:TeamLink
    6 Comments
     
    LVL 20

    Accepted Solution

    by:
    Perform online backup of your exchange servers using exchange-aware backup software (NTbackup, Veritas exec..etc). It will automatically delete the Transaction log files.

    ------DONT DELETE THE LOG FILES MANULLY-----

    see the link below for some other possibilities

    http://blogs.msdn.com/exchange/archive/2004/05/10/129149.aspx
    0
     
    LVL 4

    Expert Comment

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

    Assisted Solution

    by:v_alber
    Hi,

       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.
    0
     

    Author Comment

    by:TeamLink
    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.
    0
     
    LVL 7

    Expert Comment

    by:vasanthgnb
    Hai,
      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.
    Regards,
    B.Vasanth.
    0
     

    Author Comment

    by:TeamLink
    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,
    Phil.
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Everyone is familiar with the standard SMTP email address format (user@domain.com). SMTP is a standard that allows e-mail to be exchanged between e-mail servers of different types and vendors, across the internet. What you may not know is that Excha…
    Easy CSR creation in Exchange 2007,2010 and 2013
    In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
    In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

    913 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now