VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide
Adding Disks to a Storage Pool
38 VERITAS Storage Foundation ISP Administrator’s Guide
The following command is used to split one or more clone pools from a source disk group to a
newly created target disk group:
# vxdg split sourcedg targetdg clonepool ...
All volumes (including instant snapshots) within the specified clone pools are moved to clone pools
within the target disk group.
Note Any disk group that contains a clone pool must also contain a data pool. If a clone pool is
split from a disk group, an empty data pool is also created in the newly created target disk
group.
The following command is used to join two disk groups by merging the contents of the source disk
group with the target disk group and then removing the source disk group:
# vxdg join sourcedg targetdg
All volumes (including full-sized instant snapshots) within the clone pool in the source disk group
are moved to a clone pool of the same name within the target disk group.
Note When two disk groups containing storage pools are joined, only one of the data pools may
contain any disks, and the set of templates that are associated with one data pool must be a
subset (including the null set) of the templates that are associated with the other data pool.
The join operation fails if both data pools contain disks, if the sets of templates are
overlapping or disjoint. At the end of the join operation, the data pool that contains the most
templates is retained and the other data pool is deleted.
You can use the following command to move a clone pool between disk groups:
# vxdg move sourcedg targetdg clonepool ...
As for the split operation, a data pool is created in the target disk group if no data pool currently
exists there.
Adding Disks to a Storage Pool
To add one or more initialized disks to the storage pool, use the following command:
# vxpool [-g diskgroup] adddisk storage_pool dm=dm1[,dm2,...]
The following example shows two disks, mydg04 and mydg05, being added to the storage pool,
mypool:
# vxpool -g mydg adddisk mypool dm=mydg04,mydg05