Unable to mount Exchange 2013 Database
- 
 Exchange 2013 database is offline. eseutil says it was a dirty shutdown. eseutils repairs fail. [PS] C:\Windows\system32>eseutil /p C:\ExchangeVolumes\DB01\DB01.EDB Extensible Storage Engine Utilities for Microsoft(R) Exchange Server Version 15.00 Copyright (C) Microsoft Corporation. All Rights Reserved. Initiating REPAIR mode... Database: C:\ExchangeVolumes\DB01\DB01.EDB Temp. Database: TEMPREPAIR13400.EDB Checking database integrity. Operation terminated with error -1032 (JET_errFileAccessDenied, Cannot access file, the file is locked or in use) after 10.187 seconds.Trying to force mount it even accepting dataloss fails. Suggestions? [PS] C:\Windows\system32>Mount-Database -Identity DB01 -Force -AcceptDataLoss Failed to mount database "DB01". Error: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionDatabaseError: Unable to mount database. (hr=0x80004005, ec=1108) Diagnostic context: Lid: 65256 Lid: 10722 StoreEc: 0x454 Lid: 1494 ---- Remote Context Beg ---- Lid: 45120 dwParam: 0x5045ED Lid: 57728 dwParam: 0x504699 Lid: 46144 dwParam: 0x505EE3 Lid: 34880 dwParam: 0x505EE3 Lid: 34760 StoreEc: 0xFFFFFDEF Lid: 41344 Guid: 80934d88-bd41-4320-8ba9-fb3dcdbde750 Lid: 35200 dwParam: 0x3194 Lid: 46144 dwParam: 0x5064B0 Lid: 34880 dwParam: 0x5064B0 Lid: 54472 StoreEc: 0x1388 Lid: 42184 StoreEc: 0x454 Lid: 1750 ---- Remote Context End ---- Lid: 1047 StoreEc: 0x454 [Database: DB01, Server: exch01.domain.local] + CategoryInfo : InvalidOperation: (DB01:ADObjectId) [Mount-Database], InvalidOperationException + FullyQualifiedErrorId : [Server=exch01,RequestId=0efc8e46-0aa1-499b-904a-b76a982f9238,TimeStamp=8/4/2020 4:09 :45 PM] [FailureCategory=Cmdlet-InvalidOperationException] 1EB6F30D,Microsoft.Exchange.Management.SystemConfigurat ionTasks.MountDatabase + PSComputerName : exch01.domain.local
- 
 Moving along.... 
  
- 
 DB02 is online, but only have 6 users. DB01 has ~30 
- 
 Any backups? 
- 
 Yes, but a week old. So the time to attempt a recovery for a couple hours is worth it. 
- 
 A reboot later and eseutil is working this time 
  
- 
 @JaredBusch said in Unable to mount Exchange 2013 Database: Yes, but a week old. So the time to attempt a recovery for a couple hours is worth it. Sounds like the backup process should be revisited. 
- 
 @JaredBusch said in Unable to mount Exchange 2013 Database: A reboot later and eseutil is working this time 
  Well that's good, odd but good 
- 
 Damnit. 
  
- 
 I possibly have not enough space for the temp file. I cannot find a way to tell eseutilto write the temp file to another location.
- 
 @JaredBusch What is the error in the Windows Event Logs? Any mention of Fragmentation? 
- 
 @JaredBusch said in Unable to mount Exchange 2013 Database: Damnit. Forgot to restart EMS as admin after the reboot. 
 Fucking EMS, no idea why it ever executes without self elevating..Running recovery again. 
- 
 @JaredBusch /t“E:\TempDefrag.edb” from my old Exchange notes 
- 
 @JaredBusch take a look here it seems this guy was able too from a while back. http://blog.mpecsinc.ca/2012/05/exchange-eseutil-d-defragment-temp-file.html?m=1 
- 
 @DustinB3403 said in Unable to mount Exchange 2013 Database: @JaredBusch take a look here it seems this guy was able too from a while back. http://blog.mpecsinc.ca/2012/05/exchange-eseutil-d-defragment-temp-file.html?m=1 Heh ... that looks familiar.  
- 
 @jt1001001 said in Unable to mount Exchange 2013 Database: @JaredBusch /t“E:\TempDefrag.edb” from my old Exchange notes That works with /dnot/r
- 
 the soft recovery succeeded 
  But the system still reports dirty shutdown. so on to hard recovery with /p
- 
 @JaredBusch said in Unable to mount Exchange 2013 Database: the soft recovery succeeded 
  But the system still reports dirty shutdown. so on to hard recovery with /pEver done a forklift recovery? Also, to get mail flowing set up a Dial Tone database. 
- 
 @JaredBusch Ahh correct my bad was looking at defrag. 
- 
 Moving along.... 
  
- 
 @JaredBusch Fingers crossed. 




