I recently tried a restore of an Exchange Backup on to a DR (disaster Recovery) system as I wanted to test the diskpart utility as our exchange servers are running out of space.
I ran a full AD and Exchange backup of the live system, then plugged that backup server into a small DR Network.I had already backed up and restored AD. So I restored the Exchange Server's file system, System State, re-booted and all loaded ok. Next thing was to restore the Mail Stores. I kicked that off and as my mini network was running at 1.0gpbs the restore of 202gb mail data only took one and a half hours.
After the restore had completed I opened up ESM (Exchange System Manager) and noticed that the Mail Stores were not mounted. I tried a Manual Mount but I got the following error:
An internal processing error has occurred. Try restarting the Exchange System Manager or the Microsoft Exchange Information Store service, or both.
ID no: C1041724
Exchange System Manager
Microsoft have said that this issue can occur if there is insufficient free disk space on the drive that contains the databases that you are trying to mount... well in my case this could be the cause as we have a 195GB Drive holding all Mail Databases with only 4GB free space..
Their typical "Resolution" is to free up some space on the disk... well that could be a problem if it is only Exchange Data on that drive.
The other solution that MS suggested was to run the ESEUTIL on the Databases in question using the /d switch
The ESEUTIL can be located in the %program Files%\Exchsrvr\BIN folder. The command line is ESEUTIL /d Database Path and Name. What i decided to do was put the Path of the ESEUTIL into the Environment Variables on the Server:
To do that Right Click on My Computer and select Properties and go to the Advanced Tab

Click on Environment Variable and Double click on Path in the System Variables:

Enter in the Following:
;G:\Program Files\Exchsrvr\bin
G:\ is the drive where I have installed Exchange to.

Click OK, OK and OK again. you can now run a Command Prompt and from any path type "ESEUTIL" and you will run the ES Utility.
if you have the same problem as me then you will need to use a few extra switches to set the temp location for the streamed databases and STM files. the command I used was:
eseutil /d EdiPartner.edb /t: P:\edipartner.edb /f P:\edipartner.stm
The Databases are held on the G: but I only have 5GB free and the edb file and stm file use 70GB (edb file is 52GB and STM file is 18GB). The P: on the server has 115gb of free space.


Once that has run you should then be able to Mount your mail store.
It would be worth backing your system up now as well.
My next post will be for the "DiskPart" utility to extend the G:\.