how to shrink folder "Exchsrvr" immediately

Discussion in 'Windows Small Business Server' started by Jack Ping, Aug 9, 2004.

  1. Jack Ping

    Jack Ping Guest

    Dear All

    I need to free up some space on SBS2k3 server, and noticed that the
    folder "Exchsrvr" takes quite much.
    So I cleanup mailbox a lot (delete and empty), but the folder
    "Exchsrvr" size still remains the same.
    I know there is a 30 days period to keep all the deleted items even i
    empty "Deleted Items", but is there any way for me to not to wait
    30days to see the space free up???

    any ideas? greatly appreciate it

    Jack Ping, Aug 9, 2004
    1. Advertisements

  2. Hi Jack -

    A couple questions: 1) Do you have a log of E0*.log files in your mdbdata
    folder? (They're 5MB each). 2) Are your databases (priv1.edb / pub1.edb)
    stored on your C: drive or another drive?

    If you have a lot of log files, we need to verify that you're doing a proper
    Exchange-aware backup so that these are purged. If you're doing good
    backups, there's a chance that the server could be handling large volumes of
    email traffic resulting in the log files being generated.

    If your databases are stored on your C: drive (or if you have another
    partition besides the one storing the databases with extra free space), we
    can move the databases to another partition.


    Chad A. Gross - SBS MVP
    Chad A. Gross [SBS MVP], Aug 9, 2004
    1. Advertisements

  3. Jack Ping

    Jack Ping Guest

    Hi Chad,

    Thanks a lot for the prompt reply.

    I only see 3 E0*.log files. The databases are stored on D:

    My question is after i deleted a lot of items and empty them, i do
    not see "Priv1.edb" shrinking.

    Thanks again
    Jack Ping, Aug 9, 2004
  4. Hi Jack,

    After an item is removed, there is a retention period where the item can be
    undeleted if needed. In SBS 2003 the retention period for the Exchange
    Mailbox store is set to 30 days.

    By default, each night an online defragmentation occurs, and all free space
    will be arranged in a contiguous allocation, but within the exchange
    database. The database size itself will not change. The free space will be
    re-used, so the exchange database will not grow in size until that internal
    free space is used.

    To shrink the database size (recover the internal free space), you will need
    to perform an offline defragmentation of the mailbox store. Note: You will
    need 110% of the current database size in free disk space for the process.

    In order to perform an Offline defrag you will need to :

    a) make a good backup
    b) dismount the Mailbox Store
    c) from a command prompt, run the following:

    c:\program files\exchsrvr\bin\eseutil.exe /d c:\program

    Note: The paths may need to be changed to match the location of your
    exchange data.

    After eseutil completes, mount the mailbox store again.

    If you don't have the required 110 % free space, then I believe you can
    force a temp folder on a different drive.
    Les Connor [SBS MVP], Aug 9, 2004
  5. Jack Ping

    Jack Ping Guest

    Thanks a lot Les, you clearly answered the question.
    As if the database will not grow until the internal free space is used
    up, I would not bother to shrink the folder at this moment.

    really appreciate it.

    Jack Ping, Aug 9, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.