Solved

How do I specify the location for the temporary defrag files for online nightly maintenance?

Posted on 2010-09-01
11
475 Views
Last Modified: 2012-05-10
My automatic nightly defrag keeps getting interupted and I suspect it is because there is no room on the C drive for the defrag files.  I keep my databases on a USB drive (F) with plenty of room for the temporary defrag files.  I am running Exchange 2000 on Windows 2000 SBS.

Thank you.
0
Comment
Question by:Randy_R
  • 5
  • 5
11 Comments
 
LVL 4

Expert Comment

by:mikesuss
ID: 33576558
AFAIK there is no way to do this.  You might want to make sure that your registry is cleaned up (no extra junk in it using CCLeaner or the like)  

0
 

Author Comment

by:Randy_R
ID: 33576587
I use ccleaner.  And I have approx 3G free on the C drive.  But my priv1.edb is approx 12G.  I usually get an ese event 704 every night saying the defrag was interupted and will resume, and I'm thinking that may be because there is not enough room on the C drive, and that perhaps I should redirect the defrag temp files to the F drive where priv1 and pub1 are and which has tons of space.

But you don't think that can be done?
0
 
LVL 5

Accepted Solution

by:
TechnicallyMaybe earned 50 total points
ID: 33576666
The Exchange database is on a USB drive?? Look into getting to an external SATA drive at least.  You will burn up that USB drive very quickly. They are not meant to be used in that capacity.

Exchange uses the system temp directory for nightly online maintenance (either c:\temp or c:windows\temp) so change the temp variable in Control Panel->System to point to another drive.
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

Author Comment

by:Randy_R
ID: 33576763
I"m a home/SB user, so the mail load really is not that heavy.  But how do external SATA drives connect if not USB?

As to the temp files, just so I understand, I would change either (or both?) variables to be f:Temp and then create an empty temp dirctory on F?

Also, just want to confirm these are the system environmental variables, not the user variables, correct?
0
 
LVL 5

Expert Comment

by:TechnicallyMaybe
ID: 33577087
Even on a light load, USB drives are not designed to be read and written to as much as Exchange will do.
You can buy a SATA PCI card that has an eSATA port and then purchase an eSATA drive.

Yes, you'll want to change the TEMP and TMP System Enviromental Variables.
Also note that make this change to your USB drive will now add even more activity to it.
0
 

Author Comment

by:Randy_R
ID: 33577108
Ok.  I understand.  Thank you so much.

I actually have an idea how I can create more room on my C drive.  Is there any free partition managment software you know of that runs under Windows 2000 Server?  I use PartitionWizard's free version for my XP/W7 computers but the server version is not free.
0
 
LVL 5

Expert Comment

by:TechnicallyMaybe
ID: 33577216
You can't beat http://partitionlogic.org.uk/ for a good free partitioning software.
0
 

Author Comment

by:Randy_R
ID: 33577324
Great!  It runs under Windows 2000 Server?
0
 

Author Comment

by:Randy_R
ID: 33577385
Never mind.  I see it has its own OS on CD.  Thanks so much "TechnicallyMaybe!"  You've been a great help.

One more question, if you don't mind.  I've read that the database on log files should not be on the C drive.  Is it Ok to keep the log files there and the database files on another logical particion or should the database files go on a completely separate physical drive?
0
 
LVL 5

Expert Comment

by:TechnicallyMaybe
ID: 33577416
It is actually an iso image.  You create the CD and boot to it to do the repartitioning so it is OS-agnostic.
0
 
LVL 5

Expert Comment

by:TechnicallyMaybe
ID: 33579737
In a small setup, everything can be on the same drive.
For large installs, you would want to dedicate a RAID5 set of drives to the database and a RAID1 set of drives to the logs.
Glad I could help!
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
Find out what you should include to make the best professional email signature for your organization.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

831 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