Error gets while defrag database on Exchange 2010 server
Posted on 2011-09-08
We want to run the defragmentation on one of Exchange 2010 database. Integrity check done successfully but when we run defrag command we get the error. Following are the error details. The database on which we are doing defragmentation is dismounted and no more mailboxes exist in this database. We are saving tempdefrag.edb on other network server as we do not want it to be saved on any Exchange server drive. Other network server is accessible from Exchange server. Would you please assist us why we are getting this error.
[PS] C:\Windows\system32>ESEUTIL /D "D:\MailboxDB\Mailbox Database 1494701467\Mailbox Database 1494701467.edb" /t\\jrncl
Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating DEFRAGMENTATION mode...
Database: D:\MailboxDB\Mailbox Database 1494701467\Mailbox Database 1494701467.edb
Defragmentation Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
Operation terminated with error -1032 (JET_errFileAccessDenied, Cannot access file, the file is locked or in use) after 10.108 seconds.