1mddb.cf(4)                       File Formats                       mddb.cf(4)
2
3
4

NAME

6       mddb.cf - metadevice state database replica locations
7

SYNOPSIS

9       /etc/lvm/mddb.cf
10
11

DESCRIPTION

13       The  /etc/lvm/mddb.cf  file  is  created when the metadb(1M) command is
14       invoked. You should never directly edit this file.
15
16
17       The file /etc/lvm/mddb.cf is used by the metainit(1M) command  to  find
18       the  locations  of  the metadevice state databases replicas. The metadb
19       command creates the file and updates it each time it  is  run.  Similar
20       information is entered in the /kernel/drv/md.conf file.
21
22
23       Each  metadevice  state  database  replica  has  a  unique entry in the
24       /etc/lvm/mddb.cf file. Each entry contains the driver  and  minor  unit
25       numbers  associated  with  the block physical device where a replica is
26       stored. Each entry also contains the block number of the master  block,
27       which contains a list of all other blocks in the replica.
28
29
30       Entries  in  the  /etc/lvm/mddb.cf  file  are  of the form: driver_name
31       minor_t daddr_t  checksum where driver_name and minor_t  represent  the
32       device  number  of the physical device storing this replica. daddr_t is
33       the disk block address. checksum is used to make certain the entry  has
34       not been corrupted. A pound sign (#) introduces a comment.
35

EXAMPLES

37       Example 1 Sample File
38
39
40       The following example shows a mddb.cf file.
41
42
43         #metadevice database location file do not hand edit
44         #driver minor_t daddr_t device id       checksum
45         sd      152     16      id1,sd@SSEAGATE_JDD288110MC9LH/a        -2613
46
47
48
49
50       In  the  example above, the value for daddr_t indicates that the offset
51       from the start of a given partition is 16 disk blocks from the start of
52       that partition.
53
54

FILES

56       /etc/lvm/mddb.cf
57
58
59       /kernel/drv/md.conf
60
61

SEE ALSO

63       mdmonitord(1M),  metaclear(1M), metadb(1M), metadetach(1M), metahs(1M),
64       metainit(1M), metaoffline(1M), metaonline(1M),  metaparam(1M),  metare‐
65       cover(1M),   metarename(1M),   metareplace(1M),   metaroot(1M),  metas‐
66       sist(1M),  metaset(1M),  metastat(1M),   metasync(1M),   metattach(1M),
67       md.cf(4), md.tab(4), attributes(5), md(7D)
68
69
70       Solaris Volume Manager Administration Guide
71
72
73
74SunOS 5.11                        8 Aug 2003                        mddb.cf(4)
Impressum