Solved

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

Posted on 2008-10-23
10
1,339 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
  • 5
  • 4
10 Comments
 
LVL 24

Expert Comment

by:ryansoto
Comment Utility
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
Comment Utility
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
Comment Utility
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
 

Author Comment

by:slinux
Comment Utility
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
Comment Utility
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:slinux
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Want to promote your upcoming event?

Is your company attending an event or exhibiting at a trade show soon? Are you speaking at a conference? Spread the word by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
address book on outlook 2016 mac 7 46
ActiveSync Report 2007 3 16
Exchange 2016 anti-spam 3 33
Exchange in VMware 14 49
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
how to add IIS SMTP to handle application/Scanner relays into office 365.

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now