My exchange box went offline this AM. The logs show
The device, \Device\Harddisk1, has a bad block.
I tried running
chkdsk D: /x /r
but that didn't help either. I went to the Exchange Manager and tried to move the .stm file from D: to C: but got
Exchange System Manager The database files in this store are corrupted.
ID no: c104173b
Exchange System Manager
What else is there to try just to get this online for a few hours until I can get onsite to change the drive.
This is a Windows Server 2003 server.
That error code indicates you have some DB corruption somewhere, and are going to need to use eseutil to do some kind of repair on it.
If you need to get up and running right now, your quickest option is to go with empty stores. Your users won't have access to any of their previous email, but they'll be able to function. You can then go and perform an offline recovery and port the older messages back into the new database.
It's been a while since I've done work with eseutil, but if you need help let me know and I can try to point you in the right direction.
I'm assuming it's a RAID array because it's still working. If you're getting that error now, unfortunately I don't think it will go away when you swap the disk. If the RAID controller can't recreate the block from parity data (I'm assuming that's the cause of the corruption), then it won't be able to write it to your new disk either.
I would consider that database to be suspect and the only way you can really be 100% certain it doesn't have any underlying and unnoticed corruption is to fix the array (probably blow it away and start again), restore from yesterday's backup and roll forward the transaction logs, which are on a totally separate array.... right?
Sorry to be the bearer of bad news. Others might give you some solutions that will get you by for a bit, but personally I wouldn't trust that database now. Holocryptic's solution of
eseutil
might work, and if it does, again I wouldn't trust a database that has beeneseutil
'd and would move mailboxes off that store rather quickly if you do get it into a mountable state.