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..
ahmeds1277Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nick RhodeIT DirectorCommented:
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
0
ahmeds1277Author Commented:
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 ..?
0
Nick RhodeIT DirectorCommented:
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.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

ahmeds1277Author Commented:
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 ......
0
Nick RhodeIT DirectorCommented:
It will take a little while depending on how many logs you have and how bloated it is
0
ahmeds1277Author Commented:
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
0
Nick RhodeIT DirectorCommented:
Try not including the system state with the backup (if you did already) and if necessary disable your AV if any
0
ahmeds1277Author Commented:
I excluded the system state in this back up and AV is already disabled .
0
Nick RhodeIT DirectorCommented:
What version of exchange are you currently using Sp1, Sp2, or Sp3?

http://support.microsoft.com/kb/152439
0
ahmeds1277Author Commented:
exchange 2010 14.02 sp2 . It used to work fine. do you reckon reinstalling the windows backup component might help
0
ahmeds1277Author Commented:
version 14.2 build 247.5
0
Nick RhodeIT DirectorCommented:
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.
0
ahmeds1277Author Commented:
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
0
ahmeds1277Author Commented:
and i have noticed my block level backup engine service has stopped...
0
Nick RhodeIT DirectorCommented:
What are the details of the error?
0
ahmeds1277Author Commented:
Thanks for all your commenst .

Soultion: I have moved all logs from log/ db  folders , remounted database and took back up again which was successfull.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ahmeds1277Author Commented:
I have tried this and it worked
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.