• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 339
  • Last Modified:

Defrag Exchange Mail Store

Hi, I have an Exchange 2003 server (running on Windows SBS 2003) with all
the latest service packs. It has a 48 GB Information Store.

This l weekend I dismounted it to run a defrag using eseutil. It
failed at 20% with the following error --

error -1014 JET_errOutOfBuffers Out of database page buffers

I am using this command :
Eseutil /d "d:\program files\exchsrvr\mdbdata\priv1.edb" /t f:\tempedefrg.edb

the f drive is a NAS box with 1TB of free space.
Server is running 4 GB of ram

Attached is Page file details

Ant help on this would be great



PAGE-FILE.docx
0
Itomicltd
Asked:
Itomicltd
  • 11
  • 9
  • 4
  • +1
1 Solution
 
Alan HardistyCommented:
How much space does event ID 1221 show in the Application Event log?

Do you not have much space left on the SBS server to cater for the temp file?  53gb aprox needed.
0
 
ItomicltdAuthor Commented:
No not enough space on sbs server d: drive that  is why I am using NAS box for temp files

0
 
Alan HardistyCommented:
Okay - what about the Event ID 1221 question?
0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 
ItomicltdAuthor Commented:
See attached 1221 1221.docx 1221.docx
0
 
Alan HardistyCommented:
That only suggests you will get 2mb of disk space back by running eseutil /d, which from 48gb, seems pretty pointless.

I take it you are hoping to drastically reduce the size?
0
 
ItomicltdAuthor Commented:
Thats was the plan, as I see from the mailbox size it is only about 20GB within exchage
0
 
Alan HardistyCommented:
Well - if you complete eseutil /d, that is all you will gain.

If you reduce the mail store retention you should (after the next online maintenance session), see much more 'white space' available to be recovered.

http://www.msexchange.org/tutorials/mf022.html
0
 
ItomicltdAuthor Commented:
can you send me on that link again, you send me something about deleted item ?
0
 
Alan HardistyCommented:
That is the correct link.

Change the mailstore retention period for mailboxes and items and that will allow you to recover more space and it means people can't recover mail emptied from their recycle bin.
0
 
ItomicltdAuthor Commented:
ok, will try this, but what about my orginal question ?
0
 
Alan HardistyCommented:
Might be down to the NAS.  Do you have any other servers on your LAN?
0
 
ItomicltdAuthor Commented:
None, only sbs server. small company. nas box has been working fine, storing data on it.
0
 
Alan HardistyCommented:
Never tried eseutil with a NAS box.  Do you have a USB drive you can try?  It will be slower though not sure if it will be supported unless the drive is USB 2.0 and formatted as NTFS.
0
 
RadweldCommented:
I
0
 
RadweldCommented:
Sorry my iPhone crashed.

I wouldn't attemp a eseutil /d to a database on a nas box, ideally this needs to be direct attached storage.
0
 
Deepu ChowdaryCommented:
Yes as you know., you can do that by copying the bin folder (actually 5 files are enough) to NAS . Then you have to defrage and copy back the defraged DB to original location and then you have to run ISINTEG on the server.
Its suggestable to have a extra copy of DB before doing this.
0
 
ItomicltdAuthor Commented:
The NAS box is connected direclty to the server using a usb connection.

The database is on the server and I am redirecting the temp file to the nas box

NAS box is http://www.lacie.com/products/product.htm?id=10477


0
 
Deepu ChowdaryCommented:
Correct me if this is not you are looking for...
0
 
ItomicltdAuthor Commented:
Never ran ISINTEG before, what are the commands to to this ? thanks
0
 
Deepu ChowdaryCommented:
You have to run

Isinteg -s ServerName -Fix -Test Alltests.

Incase if you find any errors you have to run again.
Also you can run this upto u see 0 errors.
0
 
Alan HardistyCommented:
There is no need to run isinteg unless you run eseutil /p and there is no indication that this is necessary here.
0
 
Deepu ChowdaryCommented:
Yes as said by Alanhardisty its not required, But this searches for integrity weaknesses and will fix them.
Its not at all a useless step Afaik..
0
 
Alan HardistyCommented:
The question is about defragging a database not fixing corruption or integrity checking the database.

Run it if you wish but it isn't necessary.
0
 
RadweldCommented:
If you ask Microsoft I would suspect they will say this kind of USB disk is not supported in exchange 2003 this might be why eseutil is failing. You really need to try this on direct attached storage before you can suspect a partially corrupt database.
0
 
Alan HardistyCommented:
Long and short is if you can't defrag the database on an existing drive, or another server, reducing the retention period to 0 for mailboxes and items will increase the 'White Space' in the database and stop the database from growing again until all the 'White Space' has been used up again.

If you are running out of space, are you not able to increase the space?

What server do you have and what disks / RAID controller?

Are you running RAID1 / RAID5 or something similar?
0
 
ItomicltdAuthor Commented:
Thanks for all your help, I got the defrag to run, after I stopped alot ot services from running, ie Symantec AV

The database defrag finished with no errors but the only problem is that there was very little defraged.

edb file is 48 GB and stm is 30 GB, event 1221 only gives me 40mb to free up, when I check exchange the mailboxes only add up to about 20 GB, how do I get this down, I have reducing the retention period to 5 for mailboxes.

Need help on this as the exchange keeps falling out as it is sbs2003 and limit of 75GB on mailstore.
0
 
Alan HardistyCommented:
I have already answered your latest question.

Please review my earlier comments relating to the retention period.

Once retention is reduced (ideally to 0), then you will be able to recover the max from the database.

If you have done this and waited 24 hours and still not much is shown in event id 1221, then people need to start deleting mail en mass, or archiving it out of the Exchange mailbox to archive.pst files locally on their PC's then you can wait for 24 hours more and see what event id 1221 shows can be reclaimed.
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

  • 11
  • 9
  • 4
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now