How to Create/Delete State Database Replicas

1. Creating the first state database replica

# metadb -a -f c0t1d0s7
# metadb
flags         first blk      block count

a      u         16             8192            /dev/dsk/c0t1d0s7

Note:
The -a option adds the additional state database replica to the system, and the -f option forces the creation of the first replica.

2. Adding Two 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

Note:
The -a option adds additional state database replicas to the system. The -c 2 option places two replicas on the specified slice.

3. To delete state database replicas:

# metadb -d -f c0t1d0s7

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

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)