Solved

Exchange 2010 - EDB defrag stuck, cancelled and now the DB wont mount

Posted on 2016-11-17
13
42 Views
Last Modified: 2016-11-25
Dear EE

Please can someone assist me.

So, as per the title, I was defragging an EDB. It was stuck on the last part for a few hours...."moving the temp.edb to replace original edb"

After a quick google I endded the task via CTRL + C.

Now the DB wont mount.

I still got the temp.edb file it created.

Any ideas??
0
Comment
Question by:TTAF4
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +4
13 Comments
 
LVL 7

Expert Comment

by:Andy
ID: 41892552
What's the error you get when you are trying to mount the DB?

Do you have a backup of the original as you may have corrupted it by ctrl-c?
I would restore from a backup if you have one.
1
 

Author Comment

by:TTAF4
ID: 41892554
no backups. this is a client of mine.
0
 
LVL 7

Expert Comment

by:Andy
ID: 41892557
"Never" offline defrag a single DB without a backup!!!

OK, what error do you get?
Is it in a DAG? If it is, remove the failed database copy, delete any files and recreate the database copy.
1
Does Powershell have you tied up in knots?

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 12

Assisted Solution

by:Ajit (Kevin k)
Ajit (Kevin k) earned 100 total points
ID: 41892642
As above suggested, be sure to make a copy to another machine before doing offline defrag. Also look into your System and Application Event logs on the Exchange server to see if there have been any critical or warning errors occurring.

using eseutil /ml to figure out what log file is damaged, then deleting it, then trying to mount. Here is an article which lets you how to use the Eseutil function to restore Exchange databases: http://blog.technotesdesk.com/how-to-use-the-eseutil-function-to-restore-exchange-databases/

If the log files are healthy, then perform the Soft recovery with the command Eseutil /r <Log Prefix> /l “Path of the log files” /d “Path of the database”.

Hope this helps!
1
 
LVL 17

Expert Comment

by:Viral Rathod
ID: 41892839
Database is clean shutdown or dirty shutdown.

Please run eseutil/mh and post the results.
1
 
LVL 43

Assisted Solution

by:Amit
Amit earned 100 total points
ID: 41892840
I don't see you have much option left, apart from creating dial-tone and restoring data from backup. If no backup, update customer db is lost and cannot be recovered any more. Or you can try out 3rd party tools for edb to pst.
1
 
LVL 17

Assisted Solution

by:Viral Rathod
Viral Rathod earned 100 total points
ID: 41892842
1
 
LVL 17

Assisted Solution

by:Viral Rathod
Viral Rathod earned 100 total points
ID: 41892843
If database is dirty shutdown then you need to take the backup and repairs the database.

Do not do anything else first post the results of eseutil /mh
1
 
LVL 19

Assisted Solution

by:suriyaehnop
suriyaehnop earned 100 total points
ID: 41893500
I believe your db is dirty shutdown that why you won't able t mount it. Run eseutil /mh "path of database"

1. Run soft recovery to clean the db. Restore the log file from latest tape backup

Eseutil /r "E0n" /d <database path> /l <db log path>

2. If soft recovery failed. Run hard repair. Process will take long time. My last hard repair took about 8 hours to complete

Eseutil /p <database path>
1
 
LVL 11

Assisted Solution

by:Tej Pratap Shukla ~Dexter
Tej Pratap Shukla ~Dexter earned 100 total points
ID: 41894039
Hi,
Go for repairing the EDB file using ESEUTIL Comands. If after recovering (Soft/Hard) the file successfully then try to mount the file into the Exchange server.
If ESEUTIL commands is not working in your case, then you have to go with any third party tool to recover corrupt Exchange database. I know some popular tool which you could try by downloading its demo version:
- SysTools Exchange Recovery
- PCVITA EDB to PST Converter
- Recovery Tools For Exchange Server

There are many other tools also available in the market, which you can explore by googleness.
1
 

Accepted Solution

by:
TTAF4 earned 0 total points
ID: 41895371
wow thank you all for the many suggestions.

this i what i did to resolve this issue.

i deleted the original db. copied the temp.edb to the original location.

gave it the original name and mounted.

worked like a charm.
0
 
LVL 43

Expert Comment

by:Amit
ID: 41899099
Great it worked in your case. However, going forward avoid using ctrl + c let defrag get completed by its own. Defrag can take long time to complete. Nearly 4GB per hour.
0
 

Author Closing Comment

by:TTAF4
ID: 41901390
this is what fixed the problem
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SMTP Receive connector logging 1 46
exchange, windows server 2008 4 58
Hybrid Exchange 6 29
How to delete/change 3rd party SMS text messaging provider in Outlook 2010 1 32
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In-place Upgrading Dirsync to Azure AD Connect
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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

752 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