How 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 want to delete the
state database replicas before you remove the drives. Otherwise Solaris Volume Manager will
report them as having errors.
Steps
-
Become superuser.
-
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 contains 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
This example shows the last replica being deleted from a slice.
You must add the -f option to force the deletion of
the last replica on the system.