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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mark DamenERP 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.