
Check existing replicas, device mappings and quorum before making changes. Forced deletion is not routine maintenance.
1. Create the first state database replica.
# metadb -a -f c0t1d0s7
# metadb
flags first blk block count
...
a u 16 8192 /dev/dsk/c0t1d0s7Additional 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/c0t1d0s7Additional note:
The -c 2 option places two replicas on the specified slice.
3. To delete state database replicas:
# metadb -d c0t1d0s7
Additional note:
The -d specifies to delete a state database replica. Verify remaining replicas with metadb after approved changes.
