Sun Cluster 2.2 Software Installation Guide

B.2.9 How to Create Local Metadevice State Database Replicas

Perform this procedure on each node in the cluster.

  1. As root, use the metadb(1M) command to create local replicas on each cluster node's system disk.

    For example, this command creates three metadevice state database replicas on Slice 7 of the local disk.

    # metadb -afc 3 c0t0d0s7
    

    The -c option creates the replicas on the same slice. This example uses Slice 7, but you can use any free slice.

  2. Use the metadb(1M) command to verify the replicas.

    # metadb
    flags         first blk      block count
          a        u         16              1034            /dev/dsk/c0t0d0s7
          a        u         1050            1034            /dev/dsk/c0t0d0s7
          a        u         2084            1034            /dev/dsk/c0t0d0s7