Solstice DiskSuite 4.2.1 User's Guide

Example -- Creating Initial State Database Replicas on a System With Three Disks


# metadb -a -f -c 2 c0t1d0s3 c1t1d0s3 c2t1d0s3
# metadb
 
        flags         first blk      block count
     a        u         16              1034            /dev/dsk/c0t1d0s3
     a        u         1050            1034            /dev/dsk/c0t1d0s3
     a        u         16              1034            /dev/dsk/c1t1d0s3
     a        u         1050            1034            /dev/dsk/c1t1d0s3
     a        u         16              1034            /dev/dsk/c2t1d0s3
     a        u         1050            1034            /dev/dsk/c2t1d0s3

The -a and -f options are used together to create the initial state database replicas. The -c 2 option puts two state database replicas on each specified slice, creating a total of six replicas. By spreading the state database replicas across controllers, you can increase metadevice performance and reliability. The metadb command checks that the replicas are active, as indicated by the -a flag.