Avatar of ahmeds1277
ahmeds1277 asked on

Transaction logs filling all space on drive

The transaction logs are being generated 5-8 per second under main database folder. i took a full server back , VSS full backup after making  100 GB available out of TB , which completed successfully but it didnt clear logs.

I have to stop the information store service now other wise its going on. chewing space. i have made another 150 Gb available by moving old logs to a network share.

i been searching  for the solution today , select custom option while taking back up and then select only D drive and select full back then. that would clear logs .. i am thinking of trying that , as the D drive is 850 Gb at the moment so it will take 7-9 hours.

Any help is much appreciated..
Exchange

Avatar of undefined
Last Comment
ahmeds1277

8/22/2022 - Mon
Nick Rhode

Do a customer backup of the exchange datastore.  This will flush out the logs once the datastore is backed up or you could if necessary enable circular logging.  If you enable circular logging the log files overwrite themselves.  This is not necessarily best practice and might want to verify your backups are solid if you wish to use it.

http://exchangeserverpro.com/exchange-2010-faq-disk-filling-log-files/


Understanding Circular Logging:  http://msdn.microsoft.com/en-us/library/aa579094(v=exchg.140).aspx

Circular Logging Powershell:  Set-MailboxDatabase -CircularloggingEnabled:$true
ASKER
ahmeds1277

My database and logs are being stored on same drive and secondly just a week ago i had to access back up for restoring mails and  my windows back caould see al back ups but when ever i was selecting one it was saying it cannot find any backup .. so at this point i would like  to avoid relying on backups..

so you suggetsing that instead of vss full back which inclused both C and D drive , i should select custom and the nsleect only the D drive which contains the database folder including all logs ..?
Nick Rhode

You would do a backup once.  In the link there will be another link which will take you to a guide on backing up the server in general.  It will also show you how to do a onetime backup of the exchange database in order to flush out all the logs to free up space.  Have the full backups been clearing the transaction log store?  Or are they just sticking even after the backup.  Sounds like you have a backup issue which the guide will help you with.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER
ahmeds1277

before the full back used to clear the logs now its not. I have just started a custom backup in which i have selected only the D drive and vss full back up ... its been 40 min , its running consistency check ......
Nick Rhode

It will take a little while depending on how many logs you have and how bloated it is
ASKER
ahmeds1277

Backup ended before completion . The Handle is invalid

I get these two errors :  
ID 9782

Exchange VSS Writer (instance 37adfa2e-bbca-43f2-b4cb-3940055d5c7f:1) has completed the backup of database 'Mailbox Database 0345837017' with errors. The backup did not complete successfully, and no log files were truncated for this database.


Id 517
The description for Event ID 517 from source Microsoft-Windows-Backup cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

EV_RenderedValue_0.00
2147942406
%%2147942406


Any help please
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Nick Rhode

Try not including the system state with the backup (if you did already) and if necessary disable your AV if any
ASKER
ahmeds1277

I excluded the system state in this back up and AV is already disabled .
Nick Rhode

What version of exchange are you currently using Sp1, Sp2, or Sp3?

http://support.microsoft.com/kb/152439
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER
ahmeds1277

exchange 2010 14.02 sp2 . It used to work fine. do you reckon reinstalling the windows backup component might help
ASKER
ahmeds1277

version 14.2 build 247.5
Nick Rhode

Was there any recent updates to the exchange server (perhaps a rollup or anything?)  You could try re-doing the backup component for something is failing and I believe that is why your having an issue with exchange because its not purging the logs.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
ahmeds1277

I have removed and re-added the Windows Backup comp and then did a custom back up again but it failed after doing 139 gb saying invalid handle ... the windows has not done any updates... as well
ASKER
ahmeds1277

and i have noticed my block level backup engine service has stopped...
Nick Rhode

What are the details of the error?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
ASKER CERTIFIED SOLUTION
ahmeds1277

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
ahmeds1277

I have tried this and it worked