mddb.cf (4)
Table of Contents

NAME

mddb.cf - metadevice state database replica locations

SYNOPSIS

mddb.cf

AVAILABILITY

/etc/opt/SUNWmd

DESCRIPTION

The /etc/opt/SUNWmd/mddb.cf file is created when the metadb command is invoked. You should never directly edit this file.

/etc/opt/SUNWmd/mddb.cf is used by the metainit command to find the locations of the metadevice state databases replicas. The metadb command creates the file and updates it each time it is run. Similar information is entered in the /etc/system file.

Each metadevice state database replica has a unique entry in the /etc/opt/SUNWmd/mddb.cf file. Each entry contains the driver 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.

Entries in the /etc/opt/SUNWmd/mddb.cf file are of the form:

driver_name minor_t master_block checksum

where driver_name and minor_t represent 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.cf file.
          #metadevice database replica location file do not hand edit
          #driver   minor_t    daddr_t     checksum
           id       3          16          -182
           id       67         16          -246
           id       18         16          -197
           id       82         16          -261

FILES

/etc/opt/SUNWmd/mddb.cf
/etc/system

SEE ALSO

metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaoffline(1M), metaonline(1M), metaparam(1M), metareplace(1M), metaroot(1M), metastat(1M), metasync(1M), metattach(1M), md.tab(4), md.cf(4)

Solstice DiskSuite User's Guide, Solstice DiskSuite Reference