Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help needed with offline exchange database defragmentation.

268 views
Skip to first unread message

Tony

unread,
Sep 8, 2007, 5:22:47 PM9/8/07
to
I am trying to do an offline defragmentaion of my exchange database
using the info kindly supplied by me from Robert and Owen.
But here is the problem when I run the command

C:\Program Files\Exchsrvr>cd bin

C:\Program Files\Exchsrvr\bin>eseutil /d F:\priv1.edb

Microsoft(R) Exchange Server Database Utilities
Version 6.5
Copyright (C) Microsoft Corporation. All Rights Reserved.

Error: Access to source database 'F:\priv1.edb' failed with Jet error
-1022.

Operation terminated with error -1022 (JET_errDiskIO, Disk IO error)
after 20.15
7 seconds.

The F drive is a new WD 500GB USb drive I installed today, I have
formatted it to NTFS, I made a copy of the database and moved it to F
to run the defrag.
Is it possible one of the services is still running?

any Ideas?

Thanks in advance

Tony

SuperGumby [SBS MVP]

unread,
Sep 8, 2007, 6:33:51 PM9/8/07
to
I'm not sure but possibly a permissions issue due to directly storing the
.edb in the root folder, you should make a subfolder off root (say
F:\mdbdata) and place the file in there, with correct perms.


"Tony" <ton...@yahoo.co.uk> wrote in message
news:1s36e316f46nrmmra...@4ax.com...

thundergod255

unread,
Sep 8, 2007, 7:22:01 PM9/8/07
to
Is it maybe because it is not the actual database but a copy and something is
missing? I just defragged my exchange database today without any problems,
but I did the original database, not a copy.

I had a question too: Once you defrag the database what do you do with the
temporary files that are created? I have an extra 5GBS on my data drive that
the eseutil made. Is it safe to delete?

"SuperGumby [SBS MVP]" wrote:

> I'm not sure but possibly a permissions issue due to directly storing the

> ..edb in the root folder, you should make a subfolder off root (say

Jon-Alfred Smith

unread,
Sep 8, 2007, 8:09:28 PM9/8/07
to
On Sat, 08 Sep 2007 22:22:47 +0100, Tony <ton...@yahoo.co.uk> wrote:

>I am trying to do an offline defragmentaion of my exchange database

>Error: Access to source database 'F:\priv1.edb' failed with Jet error
>-1022.

>Operation terminated with error -1022 (JET_errDiskIO, Disk IO error)
>after 20.15
>7 seconds.

Might be really severe, might be caused by real-time scanning virus
software, for instance.

http://support.microsoft.com/kb/314917/en-us

jas
mcse + messaging

Tony

unread,
Sep 10, 2007, 3:34:24 PM9/10/07
to

I solved the problem by using the command
C:\Program Files\Exchsrvr\bin\ESEUTIL /d "D:\Program Files\Exchsrvr
\MDBData\priv1.edb" /tF:\priv1.edb /p

@thundergod

using the above command the database was copied to my F drive
(external usb). when it finished. I renamed my originlal database
files to xxxxpriv1.edb and then copied the new ones from the F drive.
I then started the store and after checking it was all ok I deleted
the ones named xxxxpriv1.edb

se my other post called "Help First Storage Group\Mailbox Store
reached its limit" on sep 1st where you can read the help and info
from 2 other helpfull guys here.

Thanks
Tony

Robert Li [MSFT]

unread,
Sep 11, 2007, 5:29:32 AM9/11/07
to
Hi Tony,

Thanks for posting in our newsgroup.

Did you try my suggestions in post 40322630-Help First Storage
Group\Mailbox Store reached its limit?

Based on my research: error -1022 may be caused by Anti Virus software or
bad file system. This may also occurs when the database has any corruption
in it. Please do the following test:

Step 1: Please check if the database is clean shut down.

Please run the following commands:

cd C:\Program Files\Exchsrvr\bin
eseutil /mh f:\priv1.edb

In the result, please check if State shows Clean Shut Down.

Step 2: Please check the database integrity.

Run the following command:

eseutil /g f:\priv1.edb

Step 3: Then run the eseutil /d f:\priv1.edb again.

More info:

XADM: Exchange 2000 Server Eseutil Command Line Switches
http://support.microsoft.com/kb/317014/

Hope this helps.

I am looking forward to hear from you.

If you need further assistance, please don't hesitate to let me know.

Best regards,

Robert Li(MSFT)

Microsoft CSS Online Newsgroup Support

Get Secure! - www.microsoft.com/security

=====================================================

This newsgroup only focuses on SBS technical issues. If you have issues
regarding other Microsoft products, you'd better post in the corresponding
newsgroups so that they can be resolved in an efficient and timely manner.
You can locate the newsgroup here:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx

When opening a new thread via the web interface, we recommend you check the
"Notify me of replies" box to receive e-mail notifications when there are
any updates in your thread. When responding to posts via your newsreader,
please "Reply to Group" so that others may learn and benefit from your
issue.

Microsoft engineers can only focus on one issue per thread. Although we
provide other information for your reference, we recommend you post
different incidents in different threads to keep the thread clean. In doing
so, it will ensure your issues are resolved in a timely manner.

For urgent issues, you may want to contact Microsoft CSS directly. Please
check http://support.microsoft.com for regional support phone numbers.

Any input or comments in this thread are highly appreciated.

=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
<From: Tony <ton...@yahoo.co.uk>
<Newsgroups: microsoft.public.windows.server.sbs
<Subject: Help needed with offline exchange database defragmentation.
<Date: Sat, 08 Sep 2007 22:22:47 +0100
<Organization: Posted via Supernews, http://www.supernews.com
<Message-ID: <1s36e316f46nrmmra...@4ax.com>
<X-Newsreader: Forte Agent 4.2/32.1118
<MIME-Version: 1.0
<Content-Type: text/plain; charset=us-ascii
<Content-Transfer-Encoding: 7bit
<X-Complaints-To: ab...@supernews.com
<Lines: 29
<Path:
TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTFEEDS02.phx.gbl!newsfeed0
0.sul.t-online.de!t-online.de!news.glorb.com!sn-xt-sjc-05!sn-xt-sjc-01!sn-po
st-sjc-01!supernews.com!corp.supernews.com!not-for-mail
<Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.windows.server.sbs:61679
<X-Tomcat-NG: microsoft.public.windows.server.sbs

lynn smith

unread,
Aug 10, 2010, 2:38:45 AM8/10/10
to
Hi,

You can try an offline defragmentation of my exchange database using the edb to pst recovery software.you should perform an offline defragmentation prior to the Exchange database file .YOu can take more information about the edb to pst recovery software...http://www.edbtopst.com/

Thanks


>> On Saturday, September 08, 2007 6:33 PM SuperGumby [SBS MVP] wrote:

>> I'm not sure but possibly a permissions issue due to directly storing the
>> .edb in the root folder, you should make a subfolder off root (say
>> F:\mdbdata) and place the file in there, with correct perms.
>>
>>
>> "Tony" <ton...@yahoo.co.uk> wrote in message
>> news:1s36e316f46nrmmra...@4ax.com...


>>> On Saturday, September 08, 2007 7:22 PM thundergod25 wrote:

>>> Is it maybe because it is not the actual database but a copy and something is
>>> missing? I just defragged my exchange database today without any problems,
>>> but I did the original database, not a copy.
>>>
>>> I had a question too: Once you defrag the database what do you do with the
>>> temporary files that are created? I have an extra 5GBS on my data drive that
>>> the eseutil made. Is it safe to delete?
>>>
>>> "SuperGumby [SBS MVP]" wrote:


>>>> On Saturday, September 08, 2007 8:09 PM Jon-Alfred Smith wrote:

>>>> Might be really severe, might be caused by real-time scanning virus
>>>> software, for instance.
>>>>
>>>> http://support.microsoft.com/kb/314917/en-us
>>>>
>>>> jas
>>>> mcse + messaging


>>>>> On Monday, September 10, 2007 3:34 PM Tony wrote:

>>>>> I solved the problem by using the command
>>>>> C:\Program Files\Exchsrvr\bin\ESEUTIL /d "D:\Program Files\Exchsrvr
>>>>> \MDBData\priv1.edb" /tF:\priv1.edb /p
>>>>>
>>>>> @thundergod
>>>>>
>>>>> using the above command the database was copied to my F drive
>>>>> (external usb). when it finished. I renamed my originlal database
>>>>> files to xxxxpriv1.edb and then copied the new ones from the F drive.
>>>>> I then started the store and after checking it was all ok I deleted
>>>>> the ones named xxxxpriv1.edb
>>>>>
>>>>> se my other post called "Help First Storage Group\Mailbox Store
>>>>> reached its limit" on sep 1st where you can read the help and info
>>>>> from 2 other helpfull guys here.
>>>>>
>>>>> Thanks
>>>>> Tony
>>>>>
>>>>> On Sat, 8 Sep 2007 16:22:01 -0700, thundergod255
>>>>> <thunde...@noemail.noemail> wrote:


>>>>>> Submitted via EggHeadCafe - Software Developer Portal of Choice
>>>>>> Win a free Professional license of CodeSmith Generator 5.2!
>>>>>> http://www.eggheadcafe.com/tutorials/aspnet/32aeed64-8518-4bd0-9614-e82b5d3ab3a4/win-a-free-professional-license-of-codesmith-generator-52.aspx

Brian Cryer

unread,
Aug 10, 2010, 5:13:23 AM8/10/10
to
"lynn smith" <smith....@gmail.com> wrote in message
news:201081023...@eggheadcafe.com...

> Hi,
>
> You can try an offline defragmentation of my exchange database using the
> edb to pst recovery software.you should perform an offline defragmentation
> prior to the Exchange database file .YOu can take more information about
> the edb to pst recovery software...http://www.edbtopst.com/
>
> Thanks
>
>> On Saturday, September 08, 2007 5:22 PM Tony wrote:
>
>> I am trying to do an offline defragmentaion of my exchange database
>> using the info kindly supplied by me from Robert and Owen.
>> But here is the problem when I run the command

Did you notice that you were replying to a three year old post? Its very
unlikely that the original poster is still monitoring their post after all
this time.
--
Brian Cryer
http://www.cryer.co.uk/brian

0 new messages