Exchange 2007 Storage Group Logfiles and System Files

Posted on 2010-08-19
Last Modified: 2012-05-10
We lost the disk that holds our Storage Group Logfiles and System Files yesterday and naturally the Exchange DB dismounted. Luckily for me once I reseated the disk I was able to move the files off and onto another spare disk. We do a full backup using Backup Exec v11 and there are logs being backed up as well as the DBs. The exchange DB and logfiles/system files are on separate disks.

The question is, if this data is lost what would be the recovery process for the logfiles/system files?
Question by:Digbert91
LVL 28

Expert Comment

ID: 33473840
If exchange database dismounted, then mails to your primary MX will fail.
If you have a backup MX - mails will go there.

While exchange is dismounted no logs will be generated.

So if you recovered the logs from the bad disk -- the only emails you lost in the intervening period - were sent to the backup MX configured for your domain.

If there is no backup MX - the mails will bounce back after the TTL period and generate a NDR
enter your domain name

see primary and backup mx details there.

LVL 32

Expert Comment

ID: 33473923
if you moved your log files to another drive (from D to E) to save them
you can update the location in AD of your storage group files

Move-StorageGroupPath -LogFolderPath -SystemFolderPath -ConfigurationOnly

You should verify that your database is not in a dirty shutdown state
eseutil /mh <path to database>\priv.edb
if it is not, moving these folder paths should allow you to mount the database


Author Comment

ID: 33473988
Everything is fine with the DB as I was able to move the files once the disk was reseated. The question is, if I didn't have access to the log and system files how I would I remount the DB without them?
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

LVL 32

Accepted Solution

endital1097 earned 125 total points
ID: 33474021
You would have to first determine the current state of the database by using the eseutil /mh. If the database is in a clean shutdown state, you could mount the database without the logs and it would start new log generation (it would give you an alert to this). The only data you would lose of course is anything within the log files that were not committed and lost.
if the database is in a dirty shutdown state, you would need to restore the database from backup. your data loss would be everything after the backup.
LVL 19

Expert Comment

ID: 33474026
You have to check the DB status using eseutil /mh if the database is in dirty shutdown then you may require logs. I you dont have logs then you have to to repair the database followed by defrag and isinteg.
LVL 28

Assisted Solution

sunnyc7 earned 125 total points
ID: 33474084
The question is, if I didn't have access to the log and system files how I would I remount the DB without them?
>> If EDB had uncommitted logs, then you'd need all those logs to mount the database.
If you cannot find those logs - then db wont mount

how to check last committed log
eseutil /mh "c:\.....\priv1.edb"

Logs are committed after a full backup, and after that the logs are flushed.

Workaround to missing logs and cant mount database.
If you are missing some log-files,
you can try to do a eseutil /cc "c:\.....\priv1.edb", that will check consistency of your log files and do a log-replay.

After that you'd need to do a hard repair
eseutil /p "c:\.....\priv1.edb"
and offline defrag
eseuti /d "c:\.....\priv1.edb"

and then isinteg to root out errors
isinteg -s server -fix -tests alltests

When you are doing hard-repair using eseutil /p > all uncommitted log files will be lost. Database will be set to the point where you lost the log-files, so that you can mount the stores. If you have some log files / transactions after that, they will be lost.
LVL 28

Expert Comment

ID: 33474092
Everyone's going eseutil /mh way :)

eseutil is the *only* tool available to Exch Admins to do fix the database. :(
LVL 32

Expert Comment

ID: 33474156
2010 is good in the introduction of the DAG which can help in scenarios like this, but for small companies it is cost prohibitive. microsoft needs to have something for the sbs and small networks.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

786 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