Solved

Lots of .log files in the Exchsrv Directory

Posted on 2010-11-16
6
451 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
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

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
Read this checklist to learn more about the 15 things you should never include in an email signature.
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 video we show how to create an Address List 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 Organization >> Ad…

820 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