Tony Hudziak
asked on
sbs 2003 exchange ol defrag
SBS 2003 Exchange SP2, priv1.edb is 71gb priv1.stm is 10gb, removed 4 email accounts (after backup to PST) total was 33gb ran the clean up agent then purged these 4 accounts, ran the defrag over night. Used a NAS box for the temp folder. No change in the 71gb priv1.edb. The stm file reduced by 1gb.
Moved SBS to virtual a while back (HP DL360 G7 & Proxmox HV) much faster hardware so defrag time is fast, at 2hours.
C:\Program Files\Exchsrvr\bin>eseutil /d "D:\Exchsrvr\mdbdata\priv1 .edb" /t "Q:\
tmp\TempDefrag.edb"
Microsoft(R) Exchange Server Database Utilities
Version 6.5
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating DEFRAGMENTATION mode...
Database: D:\Exchsrvr\mdbdata\priv1. edb
Streaming File: D:\Exchsrvr\mdbdata\priv1. STM
Temp. Database: Q:\tmp\TempDefrag.edb
Temp. Streaming File: Q:\tmp\TempDefrag.STM
Defragmentation Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----| ----|----| ----|----| ----|
.......................... .......... .......... .....
Moving 'Q:\tmp\TempDefrag.edb' to 'D:\Exchsrvr\mdbdata\priv1 .edb'...
File Copy Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----| ----|----| ----|----| ----|
.......................... .......... .......... .....
Moving 'Q:\tmp\TempDefrag.STM' to 'D:\Exchsrvr\mdbdata\Priv1 .STM'...
File Copy Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----| ----|----| ----|----| ----|
.......................... .......... .......... .....
Note:
It is recommended that you immediately perform a full backup
of this database. If you restore a backup made before the
defragmentation, the database will be rolled back to the state
it was in at the time of that backup.
Operation completed successfully in 7323.843 seconds.
C:\Program Files\Exchsrvr\bin>
Moved SBS to virtual a while back (HP DL360 G7 & Proxmox HV) much faster hardware so defrag time is fast, at 2hours.
C:\Program Files\Exchsrvr\bin>eseutil
tmp\TempDefrag.edb"
Microsoft(R) Exchange Server Database Utilities
Version 6.5
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating DEFRAGMENTATION mode...
Database: D:\Exchsrvr\mdbdata\priv1.
Streaming File: D:\Exchsrvr\mdbdata\priv1.
Temp. Database: Q:\tmp\TempDefrag.edb
Temp. Streaming File: Q:\tmp\TempDefrag.STM
Defragmentation Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----|
..........................
Moving 'Q:\tmp\TempDefrag.edb' to 'D:\Exchsrvr\mdbdata\priv1
File Copy Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----|
..........................
Moving 'Q:\tmp\TempDefrag.STM' to 'D:\Exchsrvr\mdbdata\Priv1
File Copy Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----|
..........................
Note:
It is recommended that you immediately perform a full backup
of this database. If you restore a backup made before the
defragmentation, the database will be rolled back to the state
it was in at the time of that backup.
Operation completed successfully in 7323.843 seconds.
C:\Program Files\Exchsrvr\bin>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Have seen it where the purge shows no error
But does not actually clear the mailboxes
The space is marked by an online defrag so I would wait a day for the routine to run before doing your offline
Check the do not delete until backup setting is unchecked (below the retention setting value box)
Also this article may be relevant ?
http://support.microsoft.com/kb/555323
But does not actually clear the mailboxes
The space is marked by an online defrag so I would wait a day for the routine to run before doing your offline
Check the do not delete until backup setting is unchecked (below the retention setting value box)
Also this article may be relevant ?
http://support.microsoft.com/kb/555323
ASKER
Sorted, set both mail retention values to 0 stop/start all MS Exchange Services and did a backup, ran exchange offline defrag again, now my priv1.edb is 36GB (was 71GB) and my priv1.stm is 4GB (was 10GB)
Great result
(You may want to reset the values for retention now in case you do need to recover items inadvertently deleted)
Cheers
(You may want to reset the values for retention now in case you do need to recover items inadvertently deleted)
Cheers
ASKER