• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Priv.edb defragment

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 5.5] >> General >> Priv.edb defragment Page: [1]
Login
Message << Older Topic   Newer Topic >>
Priv.edb defragment - 22.Mar.2004 6:03:00 PM   
twheeler

 

Posts: 5
Joined: 14.May2003
From: Knoxville, TN.
Status: offline
Exchange Server 5.5 on a NT 4.0 sp6 Server

We have a 3.6gb Priv.edb on a 7.5BG hard drive with 2.2gb of free drive space.

eseutil needs 110% of database size for defragmenting.

I do have another NT 4.0 server with a 20gb hard drive with plenty of free drive space.

Can I shut down Exchange 5.5, copy the priv.edb to my other server's drive and then run the eseutil on the database and then move the newly compacted priv.edb file back to my Exchange 5.5 server?

Or is there a better way to do this with command line switches on the eseutil utility?

Thanks

Tony Wheeler
Post #: 1
RE: Priv.edb defragment - 22.Mar.2004 6:26:00 PM   
vitro06

 

Posts: 239
Joined: 27.May2003
From: Beaufort, NC
Status: offline
Hello Tony,

Not exactly! If you have a fast link between the servers [100mb or better] try the following. Say ESEUTIL is located on C:\ and you database is located on D:\ - OK, map a drive to your server with all the free space - call X:\ [or whatever]. then run the following from the command line on your exchange server:

X:
cmd /c c:\winnt\system32\eseutil /d d:\exchsrvr\mdbdata\priv.edb
cmd /c c:\winnt\system32\eseutil /d d:\exchsrvr\mdbdata\pub.edb

R/Bill

(in reply to twheeler)
Post #: 2
RE: Priv.edb defragment - 30.Mar.2004 5:06:00 PM   
twheeler

 

Posts: 5
Joined: 14.May2003
From: Knoxville, TN.
Status: offline
Thank You Mr. Bill Brown!

Your suggestion worked like a charm and I cut my priv.edb down in size by 1/2! And it only took about an hour!

Thank You Again

TWheeler

(in reply to twheeler)
Post #: 3
RE: Priv.edb defragment - 30.Mar.2004 9:15:00 PM   
vitro06

 

Posts: 239
Joined: 27.May2003
From: Beaufort, NC
Status: offline
Hello Tony,

Thanks for the kind remarks. As a follow-up, you might want to consider setting up a batch process to run the defrag for you to keep from getting back in the situation where you need to get to another server. The AT Service [scheduler] can handle this for you. The batch process could be run on Sunday mornings - when most people should not be working. Below is an example of a batch process to do this:
c:
cd\exchsrvr\bin

cmd /c Net Stop "Network Associates GroupShield On-Line Update"
cmd /c Net Stop "Network Associates GroupShield Exchange"
cmd /c Net Stop "Network Associates Alert Manager"
cmd /c Net Stop "Network Associates Outbreak Manager"
cmd /c Net Stop "Network Associates Log Service"

rem cmd /c Net Stop "Microsoft Exchange Server Mailbox Manager"
cmd /c Net Stop "Microsoft Exchange Internet Mail Service"
cmd /c Net Stop "Microsoft Exchange Information Store"
cmd /c Net Stop "Microsoft Exchange Message Transfer Agent"
cmd /c Net Stop "Microsoft Exchange Directory"
cmd /c Net Stop "Microsoft Exchange System Attendant"

f:
cmd /c c:\winnt\system32\eseutil /d d:\exchsrvr\mdbdata\priv.edb
cmd /c c:\winnt\system32\eseutil /d d:\exchsrvr\mdbdata\pub.edb

c:
cd\exchsrvr\bin

cmd /c Net Start "Microsoft Exchange System Attendant"
cmd /c Net Start "Microsoft Exchange Directory"
cmd /c Net Start "Microsoft Exchange Message Transfer Agent"
cmd /c Net Start "Microsoft Exchange Information Store"
cmd /c Net Start "Microsoft Exchange Internet Mail Service"
rem cmd /c Net Start "Microsoft Exchange Server Mailbox Manager"

cmd /c Net Start "Network Associates Log Service"
cmd /c Net Start "Network Associates Outbreak Manager"
cmd /c Net Start "Network Associates Alert Manager"
cmd /c Net Start "Network Associates GroupShield Exchange"
cmd /c Net Start "Network Associates GroupShield On-Line Update"

Love Knoxville and the young ladies there!

R/Bill

(in reply to twheeler)
Post #: 4
RE: Priv.edb defragment - 13.Apr.2004 5:27:00 PM   
freedomftc

 

Posts: 19
Joined: 13.Apr.2004
From: USA
Status: offline
I believe I will run into the same issue. We are running SBS2000 and the priv.edb is on the C drive (868MB Free). D drive usually is around 3GB Free or less.

The Priv.edb shows over 5GB is size whereas the Exchange Management Console Mailboxes size adds up to 2GB +.

Will I have to run the same utility to compress the database? If so how?

(in reply to twheeler)
Post #: 5
RE: Priv.edb defragment - 13.Apr.2004 6:24:00 PM   
vitro06

 

Posts: 239
Joined: 27.May2003
From: Beaufort, NC
Status: offline
Hello FreedomFTC,

Never worked with SBS - but logic tells me that the Exchange portion should be pretty much the same as Standard or Enterprise versions. I would seriously consider doing something to get that database off the primary partition.

R/Bill

(in reply to twheeler)
Post #: 6
RE: Priv.edb defragment - 13.Apr.2004 8:01:00 PM   
freedomftc

 

Posts: 19
Joined: 13.Apr.2004
From: USA
Status: offline
Yea I know I need to move the priv1.edb off of the C drive and move it to another partition. My plan was when I was able to free up our 47GB External SCSI drive I was going to move the priv1.edb to that drive. But until that point is there a way to defrag or pack the priv1.edb file?

(in reply to twheeler)
Post #: 7
RE: Priv.edb defragment - 13.Apr.2004 8:12:00 PM   
AShima

 

Posts: 7
Joined: 13.Apr.2004
From: Orlando, FL
Status: offline
If you've got the time to take down your post office, you can always copy the database off to another box and run the offline defragmentation process there.

There is a Microsoft KB article (244525) about it here:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;244525

I run ESEUTIL test runs on a copy of the post office on a similar box so that I can estimate how long the live maintainance will take to run.

(in reply to twheeler)
Post #: 8
RE: Priv.edb defragment - 15.Apr.2004 5:12:00 PM   
Guest
does eseutil.exe run without exchange-installation, just out of the box ?

(in reply to twheeler)
  Post #: 9
RE: Priv.edb defragment - 15.Apr.2004 6:59:00 PM   
Guest
Ok so our 5.5 database has been down since Friday. I finally cleared up 18.5 gigs on the hard drive to run the defrag but it only gave me 3 megs back!

I know our mailboxes only equal like 3 gigs max and the file is 16 gigs.

What do I need to do please help...

(in reply to twheeler)
  Post #: 10
RE: Priv.edb defragment - 4.Feb.2005 1:11:00 AM   
castronovoc

 

Posts: 1
Joined: 3.Feb.2005
From: Argentina
Status: offline
Mr. Bill Brown,
thank you for the instruction you gave to Tony. I took it for my own and it worked perfectly. I've gained 1.2 GB on the priv.edb partition and the MTA service got up again finally. Thanks again.
Embracing this message, i wanna tell you that my MX, after defragmenting, is generating mass logs files (around 15 in 2 hours) of 5MB each in C:\exchsrvr\mdbdata folder. Is that normal?. I'm moving them to another machine so i can let free space on that partition.
Waiting for your answer.
Thanks a lot.

CTsar Luis Castronovo.
Buenos Aires - ARGENTINA.

(in reply to twheeler)
Post #: 11
RE: Priv.edb defragment - 8.Feb.2005 10:33:00 AM   
zbnet

 

Posts: 1019
Joined: 25.Sep.2003
From: York, UK
Status: offline
You're describing the normal way that Exchange creates database transaction logs, there's nothing to worry about (unless your online backups aren't working properly). You shouldn't be moving them manually though, this will confuse Exchange should an error occur and cause possible data loss.

(in reply to twheeler)
Post #: 12

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 5.5] >> General >> Priv.edb defragment Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter