Solved

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

Posted on 2016-11-17
13
36 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
  • 3
  • 3
  • 2
  • +4
13 Comments
 
LVL 6

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 6

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
 
LVL 8

Assisted Solution

by:Kevin k
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 16

Expert Comment

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

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

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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 16

Assisted Solution

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

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 18

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 41

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
In this video we show how to create a Distribution Group 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 >>…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now