Use the following procedure to configure a slice on a disk to be used with the Solstice DiskSuite system.
Restore the disk partitioning.
If you have saved the disk partitioning to a file, you may restore it with fmthard. For example:
# fmthard -s /etc/c1t2d0s0.vtoc /dev/rdsk/c1t2d0s0
If you have not saved the disk partitioning, use the format (1M) or fmthard(1M) commands to repartition the disk.
Replace any database replicas.
# metadb -a -l 2000 -c 2 c1t2d0s0
Reattach any submirrors.
# metattach d20 d21
Re-create hotspares for each hotspare pool that contained a slice on the new disk.
# metahs -a hsp001 c1t2d0s1
Fix any broken metadevices, using slices from the new disk.
If the disk to be replaced had caused any metadevices to go into the maintenance state, these metadevices can be repaired by re-enabling the slices.
# metareplace -e mirror_or_RAID5_metadeice cwtxdysz
Remount any file systems and restart any applications that were using metadevices that could not be taken off line.
# mount file_system
Refer to the Solstice DiskSuite documentation for more information.