Solstice DiskSuite 4.2.1 User's Guide

Creating DiskSuite Objects in a Diskset

After you create a diskset, you can create metadevices and hot spare pools using the drives you added to the diskset. You can use either DiskSuite Tool or the command line utilities.

How to Create a DiskSuite Object in a Diskset (DiskSuite Tool)

To use DiskSuite Tool to create DiskSuite objects in a diskset, make sure you are the diskset owner and enter the command line:


# metatool -s diskset_name &

Use the DiskSuite Tool tasks in this chapter to create DiskSuite objects, such as mirrors and trans metadevices.

How to Create a DiskSuite Object in a Diskset (Command Line)

After checking the prerequisites ("Prerequisites for Creating DiskSuite Objects"), use the metainit(1M) command to create DiskSuite objects in a diskset. Refer to the metainit(1M) man page for more information.

Example -- Creating a Mirror in a Diskset


# metainit -s relo-red d51 1 1 /dev/dsk/c0t0d0s2
relo-red/d51: Concat/Stripe is setup
# metainit -s relo-red d52 1 1 /dev/dsk/c1t0d0s2
relo-red/d52: Concat/Stripe is setup
# metainit -s relo-red d50 -m d51
relo-red/d50: mirror is setup
# metattach -s relo-red d50 d52
relo-red/d50: Submirror d52 is attached

This example creates a mirror, d50, in diskset relo-red.