Solved

Exch 2010 DB with 3 damaged trans logs - can I dismount then remount without issue?

Posted on 2013-12-03
6
279 Views
Last Modified: 2013-12-03
Hi Experts.  
I have an Exchange 2010 box with multiple mounted databases that is running ok except I can't backup a certain DB because the Backup in Progress flag is stuck on.  

I need to restart the Info Store Service to clear this flag but cannot right now because the DB in question was on a drive that was filling up so I moved the translogs to another server and freed up the space I needed.   At the weekend I moved a big production file to another drive and have now moved the trans logs back to the Exchange box. There's now plenty of space but it's being eaten up by trans logs as expected.

Before I restart the Info Store Service I want to flush these trans logs by enabling then  disabling circular logging, dismounting and remounting the store accordingly.

eseutil /ml shows all the logs are present but 3 are damaged.

If I dismount the DB with the circular logging enabled will the damaged logs be a problem?


Thanks.
Paul.
0
Comment
Question by:looops
  • 4
  • 2
6 Comments
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39692106
The database will probably fail to mount with the damaged logs.
The only option you are going to have is to remove all of the logs, then stop the store and repair the database. Once done, you should then be able to restart the store and mount the database. I would then recommend that the database is replaced, by moving all mailboxes to a new database and the damaged one dropped.

Simon.
0
 

Author Comment

by:looops
ID: 39692112
Thanks Sembee, bad news is the DB is 1tb big!   I can't wait too long for the repair to work as the server is in production and my experience is repair takes  about 1gb per hour.  

Any clever work arounds?
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39692120
If the database is mounted then the only other option is to move all users to new database/s so you can just drop that one.
This is the primary reason why having large databases is a bad idea.

Simon.
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 63

Accepted Solution

by:
Simon Butler (Sembee) earned 500 total points
ID: 39692122
Your mistake was moving the logs. If you don't have space you can compress the logs (only the oldest ones, nothing that isn't a log file or timed in the last hour). That will give you space to do a backup etc. By compressing the files rather than the directory or drive it has no impact on the server performance and when the logs are flushed, the compression is gone as well.

Simon.
0
 

Author Comment

by:looops
ID: 39692134
Isn't there a trick where I delete the CHK file and then dismount?
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39692650
No idea - it isn't something I have ever done.

Simon.
0

Featured Post

Are your AD admin tools letting you down?

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.

Question has a verified solution.

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

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
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 demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

785 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