Only drives that meet the following conditions can be added to a disk set:
The drive must not be in use in a volume or hot spare pool, or contain a state database replica.
The drive must not be currently mounted, swapped on, or otherwise opened for use by an application.
To add drives 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 drives 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 drives to the named disk set.
Specifies the drives to add to the disk set. Drive 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 drive 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 drives.
# 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