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.
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.
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.
# 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.