Solved

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

Posted on 2013-12-03
6
280 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
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.

 
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

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In-place Upgrading Dirsync to Azure AD Connect
To show how to create a transport rule 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 >> Rules tab.:  To cr…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

828 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