ESEUTIL for offline defrag

after our mail archving software migration,theres a lot of crap left on our *.edb`s.

which is the correct eseutil /'? parameter to clean up our databases?

which would be the correct procedure step-by-step?

i want to minimize the offline time as short as possible. there are six db`s and have a size between 16 and 35GB
boxexpertAsked:
Who is Participating?
 
Mark DamenConnect With a Mentor ERP System ManagerCommented:
A complete step-by-step approach would look like this:

In Exchange System Manager, Dismount the first database that you wish to defragment.  It makes sense to do it one at a time, to minimize down time and by doing it this way you can inform the users of each database when they are going to be offline.

Once the relevant store has been dismounted:

Open a command prompt
CD\
cd "program files"
cd exchsrvr (Assuming Exchange has been installed to default location)
cd bin
eseutil /d "c:\program files\exchsrvr\mdbdata\priv1.edb"

This process then takes a while depending on size.  Once you see from the progress bar in the command prompt window that the defrag is complete, you can re-mount the store in ESM.

You will need to perform this proceedure, and substitue in the name of the databases for the other stores.

Hope this helps
Mark

0
 
dmorrisroeCommented:
also, when running the defrag, make sure you have 110% of the database size available or you'll see problems.

If you don't have the additional space available, then the additional switch would be /t "path of temp.edb"
for example:

eseutil /d "path of priv.edb" /te:\temp.edb
0
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

 
Mark DamenERP System ManagerCommented:
Any luck with the solutions put forward already?
0
 
boxexpertAuthor Commented:
i didnt start with it yet. i have to do this on a night-shift when very few users dont access the exchange server.

the problem is,we have a 7x24 hrs company.

another problem which might occur is the size of the partitions. there is no 100% size available on them,maybe about 60-70%

is this the correct procedure:

cd "program files"
cd exchsrvr (Assuming Exchange has been installed to default location)
cd bin
eseutil /d "c:\program files\exchsrvr\mdbdata\priv1.edb"

any other eseutl /? parameter i have to add?

please provide me with the correct step-by-step procedure. i want to have this task done with the minimum downtime and trouble, thanks.
0
 
Mark DamenERP System ManagerCommented:
the proceedure I laid out and the one which you refer to above is correct.  There are a couple of factors you could consider though.

You could add the /t:"temppath.ebd" as mentioned above.  This lets you give a temporary path to which the database will be defragmented.  this doesnt mean you will not have downtime, but it does mean you can specify a volume with more free space on it that the exchange partition itself.

you could also move the database to another PC/server with more space, defrag it there and then move it back into service.  This will induce a lot more downtime and so perhaps the /t option is going to be best for you.
0
 
boxexpertAuthor Commented:
the problem is that we dont have much disk space on servers. since the migration with our mail archiving tool (KVS,enterprise vault) the mailbox stores are so much blown up with data crap its hard to move to another partition or server.

thats why im afraid the offline defrag may not succeed
0
 
Mark DamenERP System ManagerCommented:
Hi

Is this issue resolved?

Mark
0
All Courses

From novice to tech pro — start learning today.