Solstice DiskSuite 4.2.1 User's Guide

How to Create Additional State Database Replicas (Command Line)

After checking the prerequisites ("Prerequisites for Creating DiskSuite Objects"), and the preliminary information ("Preliminary Information for Creating Additional State Database Replicas"), use the metadb(1M) command to create additional state database replicas. Refer to the metadb(1M) man page for more information.

Example -- Adding a State Database Replica


# metadb -a c0t2d0s0
# metadb
        flags         first blk      block count
...
     a        u         16              1034            /dev/dsk/c0t2d0s0

The -a option adds the additional state database replica to the system. The metadb command checks that the replica is active, as indicated by the -a flag.

Example -- Adding Two State Database Replicas to the Same Slice


# metadb -a -c 2 c0t2d0s0
# metadb
        flags         first blk      block count
...
     a        u         16              1034            /dev/dsk/c0t2d0s0
     a        u         1050            1034            /dev/dsk/c0t2d0s0

The -a option adds additional state database replicas to the system. The -c 2 option places two replicas on the specified slice. The metadb command checks that the replicas are active, as indicated by the -a flag.