Solstice DiskSuite 4.2.1 User's Guide

Removing State Database Replicas

This section describes how to remove state database replicas from the system.

Preliminary Information for Removing State Database Replicas

How to Remove State Database Replicas (DiskSuite Tool)

  1. Make sure you have met the prerequisites ("Prerequisites for Removing DiskSuite Objects") and have read the preliminary information ("Preliminary Information for Removing State Database Replicas").

  2. Drag the MetaDB object from the Objects list to the Metadevice Editor window's canvas.

  3. Drag the state database replica to be deleted from the MetaDB object.

    Drag the selected slice to the Metadevice Editor's canvas.

  4. Click inside the top rectangle of the MetaDB object and click Commit.

    The status of the slice that contained the state database replica changes to Unassigned in the Slice Browser.

  5. Put the slice away.

    Select the slice that was dragged out of the MetaDB object and click Put Away. The slice is returned to the Slice Browser.

  6. To verify that the MetaDB object was committed, display the Configuration Log.


    Note -

    A Warning message is displayed if you attempt to delete all state database replicas.


How to Remove State Database Replicas (Command Line)

After checking the prerequisites ("Prerequisites for Removing DiskSuite Objects"), and the preliminary information ("Preliminary Information for Removing State Database Replicas"), use the metadb(1M) command with the -d option to delete state database replicas. Make sure that the state database replica is no longer needed. Refer to the metadb(1M) man page for more information.

Example -- Deleting Two State Database Replicas


# metadb -d c0t2d0s0 c0t1d0s0

This example deletes two state database replicas, located on slices /dev/dsk/c0t2d0s0 and /dev/dsk/c0t1d0s0.

Example -- Forcing the Deletion of All State Database Replicas


# metadb -f -d c0t1d0s3 c4t1d0s3

This example deletes a system's remaining two state database replicas. The -f option is needed.