none
In NTDS folder Some log files is there what is the function ?

Answers

  • edb.log  - Records the transaction before writing the AD database.

    res2.log - It is second temporary log file and it is used when res1 is filled.

    res1.log - It is a log file for reserve space.

    edb.chk - It is a check point file and perform transaction records checking By seeing this file it can be known when last transaction committed to AD Db.

    ntds.dit -  Actual Ad database where the information is written

    See my inline comments.

    http://www.informit.com/articles/article.aspx?p=101405&seqNum=10

    http://technet.microsoft.com/en-us/library/cc961819.aspx

    Regards

    Awinish Vishwakarma

    MY BLOG:  awinish.wordpress.com


    This posting is provided AS-IS with no warranties/guarantees and confers no rights.

    Thursday, February 23, 2012 8:35 AM
    Moderator
  • Component Description

    NTDS.DIT

    The physical database file in which all directory data is stored. This file consists of three internal tables: the data table, link table, and security descriptor (SD) table.

    EDB.LOG

    The log file into which directory transactions are written before being committed to the database file.

    EDB.CHK

    The file that is used to track the point up to which transactions in the log file have been committed.

    RES1.LOG, RES2.LOG

    Files that are used to reserve space for additional log files if EDB.LOG becomes full.

     
    ----------------------------------------------------------
    Regards
    Christoffer Andersson – Principal Advisor
    Enfo Zipper

    "George T A" wrote in message news:2f8356fa-0be1-40b1-a773-a779a922299a...

    Log files are

    edb.log

    res2.log

    res1.log

    edb.chk

    ntds.dit


    Enfo Zipper Christoffer Andersson – Principal Advisor
    Thursday, February 23, 2012 9:43 AM
  • Just to clarify: RES1.log and RES2.log (in Windows Server 2008 and later named .jrs instead of .log) dose only allocate space on the disk, they are not used as a temporary log files, they are never used by ESE/AD
     
    ----------------------------------------------------------
    Regards
    Christoffer Andersson – Principal Advisor
    Enfo Zipper

    "Awinish" wrote in message news:f7463e4e-287a-4605-bc0b-43b1fe7daf3d...

    edb.log  - Records the transaction before writing the AD database.

    res2.log - It is second temporary log file and it is used when res1 is filled.

    res1.log - It is a temporary log file.

    edb.chk - It is a check point file and perform transaction records checking By seeing this file it can be known when last transaction committed to AD Db.

    ntds.dit -  Actual Ad database where the information is written

    See my inline comments.

    http://www.informit.com/articles/article.aspx?p=101405&seqNum=10

    http://technet.microsoft.com/en-us/library/cc961819.aspx

    Regards

    Awinish Vishwakarma

    MY BLOG:  awinish.wordpress.com


    This posting is provided AS-IS with no warranties/guarantees and confers no rights.


    Enfo Zipper Christoffer Andersson – Principal Advisor
    Thursday, February 23, 2012 10:56 AM
  • That directory routinely contains the following files:

    • Edbxxxxx.log

    • Edb.chk

    • Res1.log

    • Res2.log

    Each of the files that has a .log extension is going to be created at exactly the same size of 10 megabytes (MB). Edb.log is the "current" log file. If circular logging is turned off, when the Edb.log file is full of transactions, it is renamed to Edb00001.log. This naming convention continues to increment by using hexadecimal notation. Thus, if there is a question as to the condition of the log files, that can be determined by checking to see whether an unbroken series of log file names exist.

    Res1.log and Res2.log are "placeholders" — designed to reserve (in this case) the last 20 MB of disk space on this drive or directory. This is designed to give the log files sufficient room for a graceful shutdown if all other disk space are consumed. Note that if circular logging is set to on, running out of space for log files is not an issue.

    The checkpoint file, Edb.chk, is created by the Jet Database. Edb.chk stores the database checkpoint, so that it can replay logs starting with the generation containing the checkpoint, if needed. The Edb.chk file is a pointer in the log sequence that maintains the status between memory and the database file on disk. In the event of a failure, it indicates the point in the log file from which the information store needs to start the recovery. The Edb.chk file is essential for efficient recovery because if it didn't exist, the information store must attempt recovery by starting from the beginning of the oldest log file it found on disk and has to check every page in every log file to determine whether it had already been written to the database. This process, of course, is very time consuming, especially if the only goal is to make the database consistent.

    For more details check this URL 

    http://technet.microsoft.com/en-us/library/cc961819.aspx


    Best regards Mohamed Baioumy MCP, MCITP, Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Thursday, February 23, 2012 11:27 AM

All replies

  • ntds.dit is the active directory Database file.

    you can refer below link to understand this better.

    http://www.anas.co.in/2010/02/active-directory-ntds-folder-and-its.html

    http://wiki.answers.com/Q/Where_is_the_AD_database_held_and_What_are_other_folders_related_to_AD

    http://www.informit.com/articles/article.aspx?p=101405&seqNum=10

    http://www.tech-faq.com/how-to-maintain-active-directory.html

    Regards,

    _Prashant_


    MCSA|MCITP SA|Microsoft Exchange 2003 Blog - http://prashant1987.wordpress.com


    Thursday, February 23, 2012 8:19 AM
  • edb.log  - Records the transaction before writing the AD database.

    res2.log - It is second temporary log file and it is used when res1 is filled.

    res1.log - It is a log file for reserve space.

    edb.chk - It is a check point file and perform transaction records checking By seeing this file it can be known when last transaction committed to AD Db.

    ntds.dit -  Actual Ad database where the information is written

    See my inline comments.

    http://www.informit.com/articles/article.aspx?p=101405&seqNum=10

    http://technet.microsoft.com/en-us/library/cc961819.aspx

    Regards

    Awinish Vishwakarma

    MY BLOG:  awinish.wordpress.com


    This posting is provided AS-IS with no warranties/guarantees and confers no rights.

    Thursday, February 23, 2012 8:35 AM
    Moderator
  • Component Description

    NTDS.DIT

    The physical database file in which all directory data is stored. This file consists of three internal tables: the data table, link table, and security descriptor (SD) table.

    EDB.LOG

    The log file into which directory transactions are written before being committed to the database file.

    EDB.CHK

    The file that is used to track the point up to which transactions in the log file have been committed.

    RES1.LOG, RES2.LOG

    Files that are used to reserve space for additional log files if EDB.LOG becomes full.

     
    ----------------------------------------------------------
    Regards
    Christoffer Andersson – Principal Advisor
    Enfo Zipper

    "George T A" wrote in message news:2f8356fa-0be1-40b1-a773-a779a922299a...

    Log files are

    edb.log

    res2.log

    res1.log

    edb.chk

    ntds.dit


    Enfo Zipper Christoffer Andersson – Principal Advisor
    Thursday, February 23, 2012 9:43 AM
  • Just to clarify: RES1.log and RES2.log (in Windows Server 2008 and later named .jrs instead of .log) dose only allocate space on the disk, they are not used as a temporary log files, they are never used by ESE/AD
     
    ----------------------------------------------------------
    Regards
    Christoffer Andersson – Principal Advisor
    Enfo Zipper

    "Awinish" wrote in message news:f7463e4e-287a-4605-bc0b-43b1fe7daf3d...

    edb.log  - Records the transaction before writing the AD database.

    res2.log - It is second temporary log file and it is used when res1 is filled.

    res1.log - It is a temporary log file.

    edb.chk - It is a check point file and perform transaction records checking By seeing this file it can be known when last transaction committed to AD Db.

    ntds.dit -  Actual Ad database where the information is written

    See my inline comments.

    http://www.informit.com/articles/article.aspx?p=101405&seqNum=10

    http://technet.microsoft.com/en-us/library/cc961819.aspx

    Regards

    Awinish Vishwakarma

    MY BLOG:  awinish.wordpress.com


    This posting is provided AS-IS with no warranties/guarantees and confers no rights.


    Enfo Zipper Christoffer Andersson – Principal Advisor
    Thursday, February 23, 2012 10:56 AM
  • Thanks Chris, i guessed it was wrong word choosen instead of reserved log file.

    Regards

    Awinish Vishwakarma

    MY BLOG:  awinish.wordpress.com


    This posting is provided AS-IS with no warranties/guarantees and confers no rights.

    Thursday, February 23, 2012 11:05 AM
    Moderator
  • Hello,

    Please read this article:

    Overview of Active Directory files (Sander Berkouwer - MVP)

    Regards

    Thursday, February 23, 2012 11:24 AM
  • That directory routinely contains the following files:

    • Edbxxxxx.log

    • Edb.chk

    • Res1.log

    • Res2.log

    Each of the files that has a .log extension is going to be created at exactly the same size of 10 megabytes (MB). Edb.log is the "current" log file. If circular logging is turned off, when the Edb.log file is full of transactions, it is renamed to Edb00001.log. This naming convention continues to increment by using hexadecimal notation. Thus, if there is a question as to the condition of the log files, that can be determined by checking to see whether an unbroken series of log file names exist.

    Res1.log and Res2.log are "placeholders" — designed to reserve (in this case) the last 20 MB of disk space on this drive or directory. This is designed to give the log files sufficient room for a graceful shutdown if all other disk space are consumed. Note that if circular logging is set to on, running out of space for log files is not an issue.

    The checkpoint file, Edb.chk, is created by the Jet Database. Edb.chk stores the database checkpoint, so that it can replay logs starting with the generation containing the checkpoint, if needed. The Edb.chk file is a pointer in the log sequence that maintains the status between memory and the database file on disk. In the event of a failure, it indicates the point in the log file from which the information store needs to start the recovery. The Edb.chk file is essential for efficient recovery because if it didn't exist, the information store must attempt recovery by starting from the beginning of the oldest log file it found on disk and has to check every page in every log file to determine whether it had already been written to the database. This process, of course, is very time consuming, especially if the only goal is to make the database consistent.

    For more details check this URL 

    http://technet.microsoft.com/en-us/library/cc961819.aspx


    Best regards Mohamed Baioumy MCP, MCITP, Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Thursday, February 23, 2012 11:27 AM
  • Thank you
    Monday, February 27, 2012 3:16 PM