Solved

how to perform an offline defrag for exchange 2003 to an alternate location for temp

Posted on 2008-10-23
10
1,357 Views
Last Modified: 2010-08-05
need to know how to run an offlien defrag to allternate logical drive on the same physical disk. Here si what I have so far.

"c:\program files\exchsrvr\bin\eseutil.exe" /d "D:\Exchsrvr\MDBDATA\priv1.edb"

This hopefully will run the offline defrag from the F Drive as this is where the above command will be run from command prompt.  If this is incorrect please advise.  The free space on this F drive is double what is on the D drive where the exchange store is located.
0
Comment
Question by:slinux
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 24

Expert Comment

by:ryansoto
ID: 22790059
What I would do is create a new storage group and mailstore and move the mailboxes to it.
This does the same thing as a defrag with no downtime....
0
 
LVL 5

Expert Comment

by:gratex_ssd
ID: 22790110
Why didn't you try to use

eseutil /?

There is everything explained :


DEFRAGMENTATION/COMPACTION:
    DESCRIPTION:  Performs off-line compaction of a database.
         SYNTAX:  ESEUTIL.EXE /d <database name> [options]
     PARAMETERS:  <database name> - filename of database to compact
        OPTIONS:  zero or more of the following switches, separated by a space:
                  /s<file>   - set streaming file name (default: NONE)
                  /t<db>     - set temp. database name (default: TEMPDFRG*.EDB)
                  /f<file>   - set temp. streaming file name
                               (default: TEMPDFRG*.STM)
                  /i         - do not defragment streaming file
                  /p         - preserve temporary database (ie. don't instate)
                  /b<db>     - make backup copy under the specified name
                  /8         - set 8k database page size (default: auto-detect)
                  /o         - suppress logo
          NOTES:  1) If instating is disabled (ie. /p), the original database
                     is preserved uncompacted, and the temporary database will
                     contain the defragmented version of the database.
0
 

Author Comment

by:slinux
ID: 22790227
Will my command work and if it will not then provide the command to perform the offline defrag to the f drive location via the eseutil /?  commands listed there. That is what I asked.
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

Author Comment

by:slinux
ID: 22790254
why would i want to create a new storage group and mail store? are you saying that the mailboxes can be accessed when you move them to the new storage group? I have off hours time setup for the server tonight so why not do an offline defrag
0
 
LVL 24

Expert Comment

by:ryansoto
ID: 22790398
Offline defrags can take huge amounts of time wheres a move mailbox doesnt take as long plus your mail systems isnt down except for the users being moved.
0
 

Author Comment

by:slinux
ID: 22790473
ryan soto

i have all night to do a 47 gb store so plan was to offline defrag and then mount store again morning if completed. should take 6 hours apprx.

going with your plan,  if i move the mailboxes to the new store then they are located on the f drive and will this reduce the mailbox store which is the issue in the first place?  the plan is to keep the store on d and reduce the size of it. how long would moving 40 mailboxes take?

 so again i ask will the command above work? it should locate esesutil and run the tempdfrg.edb to the f drive and take the smaller dbase back to the d drive when finished.
0
 
LVL 24

Expert Comment

by:ryansoto
ID: 22790511
When you create your new store create it on the new drive of your choice.  Then when you move the mailboxes it will only move the mailboxes ie not the whitespace.  47GB will probably take 6-8 hours.  The good thing about the move mailbox method is it will only do 4 at a time so no matter what only 4 users will be down at a time vs everyone.
0
 

Author Comment

by:slinux
ID: 22790579
so how much space would be gained?
10-15 gb? the users are fine with no access to mail tonight so 4 users at a time doenst really apply

what issues could arise moving mail boxes to a new store.  will this affect backup exec in anyway backing up the new mail store.  what happens to the existing store? does one just delete it. the public folders woudl be moved as well? or now each store is in diff location?  to me the offline defrag seems much simpler and once again i ask will my command work if run from the f drive.
0
 
LVL 24

Expert Comment

by:ryansoto
ID: 22790660
Here is a read
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_22931112.html?sfQueryTermInfo=1+defrag+exchang+mailbox

Sembeee is the #1 exchange person on the site...
Yes you would create a whole new store you would leave public folders alone and the new store is fine to stay.  You can have multiple store in multiple physical locations if you choose....
I have 1 information store on local disks and one IS on my SAN.

I don tknow about your command for eeutsil I dont use it because its not needed IMO.
0
 

Accepted Solution

by:
slinux earned 0 total points
ID: 22790968
sorry. I dont because it is not simple adn what happens if one of the mailboxes does not migrate? or several. and how do you clean up the old store? i have a good backup of entire mail store in one hour and then proceed to offline defrag which is unmount and run command then mount when finished. in that article it says a reason to run offline defrag is when you are trying to gain free space in istore which i am.  the free space in event id 1221 is 4 mg to 10000 mgs so it seems fairly uncertain.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video discusses moving either the default database or any database to a new volume.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question