Create & Delete State Database Replicas

1. Create the first state database replica.

# metadb -a -f c0t1d0s7
# metadb
flags         first blk      block count
...
a      u         16             8192            /dev/dsk/c0t1d0s7

Additional note:
The -a option adds the additional state database replica to the system & the -f option forces the creation of the first replica.

2. Add 2 state database replicas to the same slice.

# metadb -a -c 2 c0t1d0s7
# metadb
flags         first blk      block count
...
a        u         16              8192            /dev/dsk/c0t1d0s7
a        u         8208            8192            /dev/dsk/c0t1d0s7

Additional note:
The -c 2 option places two replicas on the specified slice.

3. To delete state database replicas:

# metadb -d -f c0t1d0s7


Additional note:

The -d specifies to delete a state database replica. The -f specifies to force the operation.

You May Also Like

Leave a Reply?