Solstice DiskSuite 4.2.1 User's Guide

How to Enable a Slice in a Submirror (Command Line)

After checking the prerequisites ("Prerequisites for Maintaining DiskSuite Objects"), the overview ("Overview of Replacing and Enabling Slices in Mirrors and RAID5 Metadevices"), and the preliminary information ("Preliminary Information For Replacing and Enabling Slices in Mirrors and RAID5 Metadevices"), use the metareplace(1M) command to enable an errored slice in a submirror. metareplace(1M) automatically starts a resync to get the new slice in sync with the rest of the mirror.

Example -- Enabling a Slice in a Submirror


# metareplace -e d11 c1t4d0s7
d11: device c1t4d0s7 is enabled

The mirror d11 has a submirror that contains slice, c1t4d0s7, which had a soft error. The metareplace command with the -e option enables the errored slice.


Note -

If a physical disk is defective, you can either replace it with another available disk (and its slices) on the system as documented in "How to Replace a Slice in a Submirror (Command Line)", or repair/replace the disk, format it, and run metareplace with the -e option as shown in this example.