Not enough space to defrag database file, have I corrupted my database??
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?
April 17th, 2009 10:58pm

Hi,there is a parameter with that you can choose where to create the temp-File. try eseutil /d <path to tempdb\tempdb>.hthViele Gre Walter Steinsdorfer MVP Exchange Server http://msmvps.org/blogs/wstein
Free Windows Admin Tool Kit Click here and download it now
April 18th, 2009 1:45pm

Yes, as Walter told, you can use eseutil with /t switch to specify another temporary drive which could be a mapped network drive or a locally attached USB drive :) How to defragment with the Eseutil utility (Eseutil.exe) http://support.microsoft.com/kb/192185Amit Tank | MVP - Exchange | MCITP:EMA MCSA:M | http://ExchangeShare.WordPress.com
April 18th, 2009 2:15pm

Thanks to both of you. Yes, actually I've found the answer yesterday night. I found two strange and big files in C: drive root. I then realised they are the temp files for defrag. As to that MS article, I knew it already and I had read it a lot beforehand. The problem is that it's never written out explicitly where the default temp directory, so I assume naturally it's next to the database files, which is unluckily not the case. Have I corrupted my database file?
Free Windows Admin Tool Kit Click here and download it now
April 18th, 2009 2:35pm

I guess not, but try mounting it and if successful and no error in event log related to DB, it is in good shape.... Why were you trying to defrag the PF DB? It creates the temp DB file in the same drive and that is the reason it requires 110% free space. We can get more idea if you post the syntax which you used during defrag.Amit Tank | MVP - Exchange | MCITP:EMA MCSA:M | http://ExchangeShare.WordPress.com
April 18th, 2009 2:49pm

I guess not, but try mounting it and if successful and no error in event log related to DB, it is in good shape.... It can be mounted, but I got these two errors in the "Application log": ----- Source: MSExchangeIS Public Event ID: 1024 NT AUTHORITY\SYSTEM was unable to log on as NT AUTHORITY\SYSTEM to the Public Folder Store "First Storage Group\Public Folder Store (DELL)". ----- Source: MSExchangeSA Event ID: 9175 The MAPI call 'OpenMsgStore' failed with the following error: The attempt to log on to the Microsoft Exchange Server computer has failed. The MAPI provider failed. Microsoft Exchange Server Information Store ID no: 8004011d-0512-00000000 ----- They are really cryptic and I've no idea what they mean... Why were you trying to defrag the PF DB? Why? Well, that's a long story.... :( Few days ago a workmate of mine called me to tell me that his Outlook 2007 can no longer receive new mails in "cached" mode (cf: http://social.technet.microsoft.com/Forums/en-US/exchangesvrgeneral/thread/9184713a-2c0a-48c9-8ee4-4054083d0884) At the end, it turned out that his mailbox can't be purged. And this user told me that the last thing he did before the problem happened was that he had moved a lot of mails to the Public Folders. On the other hand, in my event log I've been seeing logs telling me that I need to defrag the public folder database. So, I was thinking maybe there's some relation between his problem and the public folder database, and that's why I think I need to defrag it first. By the way, it's been years I haven't done any defrag to both public and private store database since this can only be done manually (as far as I know) and I don't really have time. And I'm not so sure how I had done this, so I think I could read the doc on eseutil and have a try. And that's how I got my head bumped on the wall!! I've done an integrity check (eseutil /g) on Pub Folder DB, and there's no "error" found in the log file. I suppose I could defrag it. Or I should better solve the problem of corrupted private store database file (cf http://social.technet.microsoft.com/Forums/en-US/exchangesvrgeneral/thread/9184713a-2c0a-48c9-8ee4-4054083d0884) and/or problem of purging old mailbox? Or public folder and private store aren't really related? It creates the temp DB file in the same drive and that is the reason it requires 110% free space. We can get more idea if you post the syntax which you used during defrag. It's OK, I think I could cope with the syntax. The most urgent right now is my corrupted private store database.... I really don't know what to do with it... :( That user also told me that he's using Google Calendar to sync with Outlook Calendar. I don't know if this is the cause of corruption..
Free Windows Admin Tool Kit Click here and download it now
April 18th, 2009 5:49pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics