Do not add disks larger than 1TB to disk sets if you expect to run the Solaris software with a 32–bit kernel or if you expect to use a version of the Solaris OS prior to Solaris 9 4/03. See Overview of Large Volume Support in Solaris Volume Manager for more information about large volume support in Solaris Volume Manager.
Only disks that meet the following conditions can be added to a disk set:
The disk must not be in use in a volume or hot spare pool, or contain a state database replica.
The disk must not be currently mounted, swapped on, or otherwise opened for use by an application.
To add disks to a disk set, use one of the following methods:
From the Enhanced Storage tool within the Solaris Management Console, open the Disk Sets node. Select the disk set you want to modify, then right-click and choose Properties. Select the Disks tab, click Add Disk, then follow the instructions in the wizard. For more information, see the online help.
To add disks to a disk set from the command line, use the following form of the metaset command:
metaset -s diskset-name -a disk-name
Specifies the name of a disk set on which the metaset command will work.
Adds disks to the named disk set.
Specifies the disks to add to the disk set. Disk names are in the form cxtxdx; no “sx” slice identifiers are at the end of the name. They need to be the same as seen from all hosts in the disk set.
See the metaset man page (metaset(1M)) for more information.
The first host to add a disk to a disk set becomes the owner of the disk set.
Do not add a disk with data; the process of adding it to the disk set might repartition the disk, destroying any data. For more information, see Example—Two Shared Disk Sets.
Use the metaset command to verify the status of the disk set and disks.
# metaset -s blue -a c1t6d0 # metaset Set name = blue, Set number = 1 Host Owner lexicon Yes Drive Dbase c1t6d0 Yes
Optionally, you could add multiple disks at once by listing each of them on the command line. For example, you could use the following:
# metaset -s blue -a c1t6d0 c2t6d0