Solved

active directory log files

Posted on 2008-06-10
3
5,474 Views
Last Modified: 2008-06-11
i have a client that is dc promo a server and wants to know what fiels are kept in the app logs that are beeing out on the c: and if he shoudl place these on a different drive. can i et some help on teh answer for this thanks guys
0
Comment
Question by:zenworksb
[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
3 Comments
 
LVL 6

Expert Comment

by:evanmcnally
ID: 21753933
If you are asking if it is OK to put the Active Directory files on the C: drive in the default location of C:\Windows\NTDS\ , then the answer is normally yes.  Windows diables write caching on the hard disk where the AD files are located, and this could theoretically cause some slow down, but in real life it seems to have no noticable effect.  The vast majority of Windows domain controllers have AD located in the default location, and also Sysvol in the dafult location.  Both of these together almost never get larger than a few hundre megabytes.
0
 
LVL 1

Accepted Solution

by:
SowelaIT earned 500 total points
ID: 21753934
*Pulled from: http://www.tech-faq.com/maintain-active-directory.shtml


Active Directory Database and Log Files
The ESE uses transaction and log files to ensure the integrity of the active directory database. Active Directory includes the following files:
    * Ntds.dit is the Active Directory database which stores the entire active directory objects on the domain controller. The .dit extension refers to the directory information tree. The default location is the %systemroot%\Ntds folder. Active Directory records each and every transaction log files that are associated with the Ntds.dit file.
    * Edb*.log is the transaction log file. Each transaction file is 10 megabytes (MB). When Edb.log file is full, active directory renames it to Edbnnnnn.log, where nnnnn is an increasing number starts from 1.
    * Edb.chk is a checkpoint file which is use by database engine to track the data which is not yet written to the active directory database file. The checkpoint file act as a pointer that maintains the status between memory and database file on disk. It indicates the starting point in the log file from which the information must be recovered if a failure occurs.
    * Res1.log and Res2.log: These are reserved transaction log files. The amount of disk space that is reserved on a drive or folder for this log is 20 MB. This reserved disk space provides a sufficient space to shut down if all the other disk space is being used.


Personally - if you have a spare hard drive to put the log files and database on then by all means do so.  The chance of both hard drives failing is a lot less than if you put everything onto one hard drive.  Also, depending on the types of hard drives and controllers, you can actually increase the speed of the domain controller because you will be writing data to two different hard drive and not having to wait until one write process is finished.  Also, if your Ntds.dit file becomes corrupt due to bad sectors on the hard drive, there will be less of a chance that the log files which you can restore from will be damaged as well.
On the flip side, I have installed and managed many domains where everything is on one hard drive and only encountered around two separate errors that this setup would have helped me with.
0
 
LVL 48

Expert Comment

by:Jay_Jay70
ID: 21755656
if you ever find that you fill up your C drive, then you can always move the DB to another partition using ntdsutil, but i agree with above, just leave in on C, this is the most common and usually a perfectly ok way of configuring it
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

735 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