Solstice DiskSuite 4.2.1 User's Guide

Removing Stripes and Concatenations

This section describes how to remove stripes and concatenations from the system.


Caution - Caution -

Any data that is on a metadevice is lost when it is removed from the system for good, and its underlying slices are reused. Data should be backed up if you need to save it.


Preliminary Information for Removing Stripes and Concatenations

How to Remove a Stripe, Concatenation, or Concatenated Stripe (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 Stripes and Concatenations").

  2. Make sure you have a current backup of the metadevice.

  3. Stop access to the metadevice.

    For example, a file system on the metadevice should be unmounted. For a non-UFS application, such as a database, perform the steps necessary to stop the application's use of the metadevice.

  4. Double-click the stripe or concatenation to be deleted in the Objects list.

    The metadevice object appears on the canvas.

  5. Display the object's pop-up menu and choose Delete.

  6. Click Really Delete on the dialog box that is displayed.

  7. [Optional] If there is an entry in the /etc/vfstab file for this metadevice, delete that entry.

    You do not want to confuse the system by asking it to mount a file system on a non-existent metadevice.

  8. To verify that the object was deleted, display the Configuration Log.


    Note -

    Hot spare pools assigned to the metadevice are not deleted.


How to Remove a Stripe, Concatenation, or Concatenated Stripe (Command Line)

After checking the prerequisites ("Prerequisites for Removing DiskSuite Objects"), and the preliminary information ("Preliminary Information for Removing Stripes and Concatenations"), use the metaclear(1M) command to delete the metadevice. Refer to the metaclear(1M) man page for more information.

Example -- Removing a Concatenation


# umount d8
# metaclear d8
d8: Concat/Stripe is cleared
(Edit the /etc/vfstab file)

This example clears the concatenation d8 that also contains a mounted file system. The file system must be unmounted before the metadevice can be cleared. The system displays a confirmation message that the concatenation is cleared. If there is an entry in the /etc/vfstab file for this metadevice, delete that entry. You do not want to confuse the system by asking it to mount a file system on a non-existent metadevice.