none
Not enough space to defrag database file, have I corrupted my database??

    Question

  • I'm trying to defrag the "public folder" database file in my Exchange 2000.  But I got the "no space left on disk" error.  Here's the output:

    Initiating DEFRAGMENTATION mode...
                Database: d:\Exchsrvr\mdbdata\pub1.edb
          Streaming File: d:\Exchsrvr\mdbdata\pub1.STM
          Temp. Database: TEMPDFRG1620.EDB
    Temp. Streaming File: TEMPDFRG1620.STM

                      Defragmentation Status (% complete)

              0    10   20   30   40   50   60   70   80   90  100
              |----|----|----|----|----|----|----|----|----|----|
              ..

    Operation terminated with error -1808 (JET_errDiskFull, No space left on disk) after 862.359 seconds.

    Have I corrupted my database file?? :(

    I don't understand, the database file and stream file for public folder are about 16GB while the disk (D: ) has about 35.5GB.  That's more than 110% space needed to process defragmentation as stated in this article:
    http://support.microsoft.com/?kbid=192185

    If my database file isn't corrupted (hopefully...), is there any trick to defrag it?  Maybe the temp file is created in C: drive which is a lot smaller?
    Friday, April 17, 2009 8:00 PM

Answers

  • hi,

    you can set temp directory and file for it on enother disk look like below.

    eseutil /d /p "c:\program files\exchsrvr\mdbdata\mailbox store.edb" /t"d:\tempdfg.edb"

    and you can look at ;

    http://support.microsoft.com/kb/328804

    have a nice day...

    Exchange - MVP | www.cozumpark.com | www.mumincicek.com
    • Marked as answer by Mike Shen Monday, April 20, 2009 9:54 AM
    Saturday, April 18, 2009 12:35 PM

All replies

  • hi,

    you can set temp directory and file for it on enother disk look like below.

    eseutil /d /p "c:\program files\exchsrvr\mdbdata\mailbox store.edb" /t"d:\tempdfg.edb"

    and you can look at ;

    http://support.microsoft.com/kb/328804

    have a nice day...

    Exchange - MVP | www.cozumpark.com | www.mumincicek.com
    • Marked as answer by Mike Shen Monday, April 20, 2009 9:54 AM
    Saturday, April 18, 2009 12:35 PM
  • Yes, thank you.

    I had realized/found that the temp folder is the folder in which the eseutil command is run.... that's really stupid from MS.

    What's even more stupid is that this is not explicitly written out in MS articles......
    Saturday, April 18, 2009 2:45 PM