Solved

Lots of .log files in the Exchsrv Directory

Posted on 2010-11-16
6
449 Views
Last Modified: 2012-05-10
I have found quite a large number of .log files in my exchsrv directory (30gb in all). My main priv1.edb is 16gb whilst the priv.1stm is 5gb. the database is has a full back each night.

How can I reclaim my space and remove these .log file, they date back to 4th June 2010.

Thanks
0
Comment
Question by:daiwhyte
6 Comments
 
LVL 20

Accepted Solution

by:
DVation191 earned 250 total points
ID: 34145815
When you backup your exchange databases using an exchange aware application (like ntbackup), the log files that have been committed will be deleted automatically.
http://support.microsoft.com/kb/240145
0
 

Author Comment

by:daiwhyte
ID: 34145841
Veritas Backup 10 is currently responsible for this function and I have selected to flush logs after the backup as been completed.
0
 
LVL 15

Expert Comment

by:JBond2010
ID: 34145883
Ideally the transaction logs should be kept on a seperate partition, and enable Circular Logging which will flush the logs.
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 15

Expert Comment

by:JBond2010
ID: 34146032
Running the following command you can view which logs the database is using then manually discard the rest to reclaim disk space.

eg: eseutil /mh "e:\mailbox store 2.ed"

Log signature: create time 10/11/2010 09:57:17 rand:7801024 computer os version: (5.2.3790 sp 2)

Previous Full Backup:
Log Gen: 36305-36308 (0x8dd1-0x8dd4)


Note Log Gen: and the numbers and then the hexadecimal values. You can run this command from your Exchange Server to see which Transaction Logs are being currently used.

It would be ok to discard the rest of the logs to reclaim space. But make sure not to delete the logs that the Exchange Server is using. This is very important.

So, maybe as best practice moved the transaction logs onto another partition before deletion and then restart and Exchange and if everything starts-up as normal; you can then delete the logs.
0
 
LVL 74

Assisted Solution

by:Glen Knight
Glen Knight earned 250 total points
ID: 34146040
If you are absolutely sure you have a full backup then enable circular logging ONLY to flush the logs then disable it.

Circular logging can be used to help alleviate the problem but is not a permanent fix.

If your backup software is not flushing the logs you are not doing an Exchange aware FULL backup!
0
 

Author Closing Comment

by:daiwhyte
ID: 34163060
Thank you.
0

Featured Post

Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create a Contact 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 >> Contact ta…
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…

914 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

19 Experts available now in Live!

Get 1:1 Help Now