Thursday, February 26, 2015

MS EXCHANGE DATA STORAGE, ITS ERRORS AND THERE SOLUTIONS

Microsoft Exchange Server is a Microsoft product which can be treated as a multipurpose application. It is one of the most popular mail servers that is used worldwide. Apart from acting as Mail Server it also features a scheduler and a contact manager, which allows a user to organize his/her data and work in a managed way.
The Exchange Server has a mailbox that stores all its data and related information. This mailbox file are called the Exchange Database (EDB) and have the extension “*.edb”.

Exchange Database (EDB) files
It acts as the main repository for a defined mailbox that stores its data. It contains all the in – process massages as well as the non – SMTP messages. It incorporates a b – tree data storage format. There are two type of EDB files:
  •  Priv.edb: It rations the personal data of a user’s that includes as the emails, headers & the attachments.
  •  Pub.edb: It rations the Sharable data which is accessible to multiple users such as scheduler.


Every EDB data file has its corresponding STM file that is a sub storage data file that contains the streamed Exchange data.

Fig: EDB Storage Structure


Now these database do not always stay in a healthy state as they can get corrupted as well. The 3 basic causes that causes data damage are:
  • Inappropriate data written in storage media.
  • Data is written in the wrong location on the storage media.
  • Data altered after getting stored.

These causes result in many database errors that can categorized as:
  • Page or file system level errors
  • Database or JET level errors
  • Application or the exchange info store errors.

On the basis of above categorization the errors that arise are:
  • 1018 JET_errReadVerifyFailure
  • 1019 JET_errPageNotInitialized
  • 1022 JET_errDiskIO

To recover from these errors Microsoft provides us an EDB repair utility called the Eseutil tool.

Eseutil.exe
It is a tool that checks, alters and finally repairs an EDB data file. In case of an EDB file corruption, Eseutil.exe is the Microsoft provided solution that repair & backup a damaged EDB data file. The access to the Eseutil.exe tool is via Windows PowerShell. The PowerShell is also a Microsoft product that is a task automation & configuration management framework. It has a scripting language that is accessed via command-line shell, constructed on the .NET Framework. The Eseutil.exe tool works with ESE (Extensible Storage Engine).

Eseutil.exe works in the following manner:

Step 1: To repair the EDB at the page level the /p extension is used.
Step 2:  To rebuild the index & completely defragment a database, /D extension can be used.

Even after being such a powerful utility, if we talk of complete data recovery the Eseutil.exe is not the 100% solution provider. This happens because it only recovers the EDB from the page level and database level errors but does not repair the corruption caused due to the application level error. For this another Microsoft supported tool is provided that is the ISInteg.exe. But this tool has its own drawbacks. It repair the data file but consumes 10% extra space then the data file. Another drawback of this tool is that it consumes a lot of time and if a person who is novel to the exchange usage can get quite confused while using the tool.

Hence what we can conclude about the Eseutil.exe and ISInteg.exe is:
  • They are time consuming.
  • Complicated tools.
  • Requires extra hard disc space.
  • 100% Data recovery not guaranteed.

Therefore what we require is a more genuine and a trustworthy application for Exchange EDB recovery which is capable of recovering complete data.

No comments:

Post a Comment