MDDB.CONF(5) — FILE FORMATS
NAME
mddb.conf − metadisk state database replica locations
SYNOPSIS
/etc/mddb.conf
AVAILABILITY
This file is part of the Sun Online: DiskSuite software package.
DESCRIPTION
The /etc/mddb.conf file is created when the metadb(8) command is invoked. This file should never be edited by a user.
/etc/mddb.conf is used by metainit(8) to find the locations of the metadevice state databases replicas.
Each metadevice state database replica has a unique entry in the /etc/mddb.conf file. Each entry contains the major and minor unit numbers associated with the block physical device where a replica is stored. Each entry also contains the block number of the master block, which contains a list of all other blocks in the replica.
Metadevice state databases replicas specified in /etc/mddb.conf are set up by metadb(8).
Entries in the /etc/mddb.conf are of the form:
dev_t master_block checksum
where dev_t is the device number of the physical device storing this replica. master_block is the block number of the master block used by this replica of the metadevice state database. checksum is used to make certain the entry has not been corrupted. A pound sign (#) introduces a comment.
EXAMPLES
The following example shows a mddb.conf file.
#metadevice database replica location file do not hand edit
#dev_t daddr_t checksum
1795 16 -1769 #/dev/sd0d
1795 616 -2369 #/dev/sd0d
1803 16 -1777 #/dev/sd1d
1803 616 -2377 #/dev/sd1d
FILES
/etc/mddb.conf
SEE ALSO
md(4s), md.conf(5), metatab(5), metaclear(8), metad(8), metadb(8), metahs(8), metainit(8), metaoffline(8), metaparam(8), metareplace(8), metastat(8), metasync(8), metattach(8)
Sun Online: DiskSuite Administration Guide
Sun Release 4.1 — Last change: 24 July 1991