Exchange 2003 log question

Posted on 2011-04-22
Last Modified: 2012-05-11
I have verified that I have committed logs and I need to reclaim some space.

My question is:

Can I MOVE the log files that have been committed WITHOUT dismounting the store?

I was in the process of running a backup, but it failed about 85% the way through.  Now I don't have the time to run the backup before I run out of space on the drive.  I also have a userbase that is going to be working late tonight and I don't want to take down the store before moving the logs if I don't have to.
Question by:croplife
    LVL 29

    Accepted Solution


    Yes. You can move all the logs that are not active Exx.log will be the active log. The others are all used for recovery. Therefore if you have to move them make sure you DON'T delete them. Find out ASAP why your backup failed. I would also back these logs up before deleting them just in case.
    LVL 1

    Author Comment

    Thanks Mass!

    Everything I've read instructs you to dismount the store.  Actually, the articles assume that the measure (moving files) is required as a result of  NO disk space and a dismounted database.  I haven't seen an article the specifies if the database is mounted, you can move committed logs.

    You're certain that I can just move these committed files without first cleanly dismounting the database?

    Thanks again.  I am sweating it out over here.
    LVL 16

    Expert Comment

    by:Viral Rathod
    Nope,you need to dismount the store to move the log files

    1) First Dismount the store
    2)Run eseutil /mh to confirm that it is in a clean shutdown state,CLEAN SHUTDOWN" means almost for sure there is no corruption
    3) After confirmation move the all the log files ,.chk files to another folder or drive and then try to mount the store

    Ref :
    LVL 5

    Expert Comment


    You will have to follow the setps mentioned by Viral Rathod

    Reason you cannot move the log files while the database is mounted because even if the E00.log is the current log file we are not sure which log files are yet got commited to database.

    So thats the reason it's alawys recommended to dismount the database and do a health check on database the database should be normally in cleanshutdown state. You can then safely move the log files.

    FYI Dismounting the database should not take much time if database size is not Large
    LVL 3

    Assisted Solution

    Ye sure... you can move the committed log files with out dismounting the stores...
    Use the below switch to know the last committed log file , and you can remove all the older logs.
    eseutil /mk "edb.chk- give the path to your .chk file in quotes"
    LVL 3

    Expert Comment

    And one more as your backup is failing  i would suggest not to delete the logs. instead you move to another location till you take a full backup of your store...

    Hope this helps
    LVL 1

    Author Closing Comment

    Thanks everyone.  Mass and Ashok are correct.  I allocated the majority of the points to Mass since his was first and I began moving committed logs based on his suggestion.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Email statistics and Mailbox database quotas You might have an interest in attaining information such as mailbox details, mailbox statistics and mailbox database details from Exchange server. At that point, knowing how to retrieve this information …
    Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
    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…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    779 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

    9 Experts available now in Live!

    Get 1:1 Help Now