Solved

Lots of .log files in the Exchsrv Directory

Posted on 2010-11-16
6
448 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
Wish Marketing would stop bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

 
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
This video discusses moving either the default database or any database to a new volume.

707 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

20 Experts available now in Live!

Get 1:1 Help Now