Red Hat Directory Server 8.0 Configuration, Command, and File Reference
Example 4.1. Database Directory Contents
•
db.00x files — Used internally by the database and should not be moved, deleted, or
modified in any way.
•
log.xxxxxxxxxx files — Used to store the transaction logs per database.
• DBVERSION — Used for storing the version of the database.
• NetscapeRoot — Stores the o=NetscapeRoot database created by default when the
setup-ds-admin.pl script is run.
• userRoot — Stores the user-defined suffix (user-defined databases) created at setup; for
example, dc=example,dc=com.
NOTE
If a new database is created (for example, testRoot) to store the directory tree
under a new suffix, the directory named testRoot also appears in the
/var/lib/dirsrv/slapd-instance_name/db directory.
The following is a sample listing of the NetscapeRoot directory contents.
./entrydn.db4*parentid.db4*
../givenName.db4*sn.db4*
DBVERSION*id2entry.db4*uid.db4*
aci.db4*nsUniqueId.db4*uniquemember.db4*
ancestorid.db4*numsubordinates.db4*
cn.db4*objectclass.db4*
Example 4.2. NetscapeRoot Database Directory Contents
The NetscapeRoot subdirectories contain an index_namedb4 file for every index currently
defined in the database. In addition to these files, the NetscapeRoot and userRoot
subdirectories contain the following files:
•
ancestorid.db4 — Contains a list of IDs to find the ID of the entry's ancestor.
Chapter 4. Server Instance File Reference
174