Solved

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

Posted on 2016-11-17
13
41 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 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
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.

 
LVL 11

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 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 42

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 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 42

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create an Address List 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 Organization >> Ad…
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…

821 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