Solaris Volume Manager Administration Guide

ProcedureHow to Delete State Database Replicas

You might need to delete state database replicas to maintain your Solaris Volume Manager configuration. For example, if you will be replacing disk drives, you would want to delete the state database replicas before you remove the drives so they are not considered to have errors by Solaris Volume Manager.


    To remove state database replicas, use one of the following methods:

    • From the Enhanced Storage tool within the Solaris Management Console, open the State Database Replicas node to view all existing state database replicas. Select replicas to delete, then choose Edit->Delete to remove them. For more information, see the online help.

    • Use the following form of the metadb command:

      metadb -d -f ctds-of-slice
      • -d specifies to delete a state database replica.

      • -f specifies to force the operation, even if no replicas exist.

      • ctds-of-slice specifies the name of the component that holds the replica.

      Note that you need to specify each slice from which you want to remove the state database replica. See the metadb(1M) man page for more information.

Example 7–5 Deleting State Database Replicas

# metadb -d -f c0t0d0s7

This example shows the last replica being deleted from a slice.

You must add a -f option to force deletion of the last replica on the system.