Re: priv1.edb, Offline Defrag, and Low Hard Drive Space

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Gibs <DalkoTester@xxxxxxxxx> wrote:
I have been running SBS 03 R2 Standard for only one week. On Friday,
I noticed that my 'd' drive (where I put the shared users folder and
MDBDATA folder) was rapidly shrinking.

How big is the volume in question?

After a little research, I
learned that my priv1.edb was growing (I guess because it is a new
network, and all email accounts were migrated over at once), and
needed defraged.

No....this is not something you should be doing on a regular basis. Your
Exchange databases & logs ought to be on a volume where no user accessible
shares/data is stored, so they can't be bumped into by the file system
growing in leaps and bounds...

What you probably need are good mailbox quotas, set as defaults on the
store, and any exceptions made on a per-mailbox level.

You can see how big each mailbox is, by looking at the mailboxes in ESM.

I looked at the event logs, and noticed that online defrags had
occured, which also froze the SBS server in the morining sometime.

Hmm - that isn't good....check for event log errors.

After five days of operation (after I noticed the problem), the
priv1.edb had grown to 45 gb!!!

I'm presuming you went through and enabled this in the registry, so you must
have known it could grow up to 75GB....and hence, it would have been a good
time to implement quotas. Perhaps you also need more disk space

I read a bit about offline defrag,
but when I tried it, it started to eat away at the 'C' drive available
space, and of all things, the 'D' drive (where the exchange data is)
kept shrinking in size, when I expected it to increase in available
size.

Do not use eseutil /d unless:

* You know what you're doing
* You can see whether it's even *worth* doing, by checking the online
defrag event log messages - 1221 will tell you how much free/whitespace is
available
* You have enough temp space free (110% size of the database) - if you
map a network drive for this, it will take a lot longer to run
* You have a good full online backup of the Exchange stores

I am fairly certain that my problems and answers will end with doing
an offline defrag of these data bases,

From what you've written, this sounds unlikely. Did you bring over a lot of
data ...and *then* did users *delete* a lot of data? If not, there's not
enough whitespace for it to matter. And since Exchange reuses whitespace
quite happily, offline defrags are rarely necessary.

but it is the options
surrounding this defrag that I don't like, because I don't have enough
room on this server to run an offline defrag. I also tried 'copying'
the MDBDATA folder to another networked server (it had more available
hdd space), and I copied the eseutil.exe and its dll to this server,
but it would not run. I also started to use the /p switch with
eseutil, to rebuild the temp data base to a separate server and then
move it back, but I got nervouse when I was warned about loosing data.
I am currently building a replacement SBS server that has more hdd
space available, and am looking for some advice (UNLESS someone can
guide me to shrinking this data base without starting over with a new
server):

Seriously, pull back and don't do anything else yet. If online defrag isn't
running, you have a problem. Check your quota settings, and remember that
deleted item retention will also eat up space in the DBs.

1) What is the best (safest and easiest) to migrate the users Windows
and Exchange profiles over to the new server (FYI: the new server
will be identicle to the old server--same IP's, domain name, etc).

You're veering a bit off topic; these might be best posted as individual
questions.
By profiles, what do you mean? Roaming profiles?

If you have an entirely different AD domain, the SIDs are different - so it
doesn't matter what you see the name as - it's a different server, etc.

2) Can I simply copy the MDBDATA folder from the old server, and
paste it to the new one, and expect everything to work?

No...

3) Would http://server.connectcomputer work for me, considering they
will be migrating from a domain by the same name? This seems too
easy...

No - you'd have to disjoin the old domain first.

I hope I was able to describe my scenario clear enough, and would be
happy to elaborate.

Thanks all for any input you may have!
Gibs

Is this a test server?


.



Relevant Pages

  • Re: sqlservr.exe taking 90% of memory
    ... It might be worth asking this on an sql server specific ... the database server every 30 minutes, which if you are having a slowdown ... exchange stores to a different partition along with the swap file. ... shutdown the database and do a defrag. ...
    (microsoft.public.windows.server.sbs)
  • Hard Drive Failing/Starting to fail
    ... The server runs slow when I hit the drive. ... I didn't defrag it because I ... was unsure if it would do any damage to my exchange files. ... - Just run defrag/scandisk and fix the drive? ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS 2003 Exchange Performance Issues
    ... Defragging the Exchange Database has been known to cause lots of issues ... GB of RAM is a pretty odd amount How many DIMM slots in your server? ... We have done the basic troubleshooting, added memory, ran the online defrag ... We feel that running a full defrag on the store while it is dismounted will ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS 2003 Exchange Performance Issues
    ... If you have mailboxes that are 13 gb or larger, then Exchange is being used as a filing cabinet...and that's wrong. ... That's why we felt, the defrag may help. ... > This is a small company with 1 Exchange 2003 server running on SBS ...
    (microsoft.public.windows.server.sbs)
  • SBS 2003 Exchange Performance Issues
    ... We have done the basic troubleshooting, added memory, ran the online defrag ... also have BES running on same server, we have looked into seeing if this may ... We feel that running a full defrag on the store while it is dismounted will ... priv1.edb file and stm file to the same location as our production exchange ...
    (microsoft.public.windows.server.sbs)