Creating volume groups and assigning source volumes
A volume group allows for many related volumes to be grouped so that they can be managed together. A volume group also ensures consistency across all volumes in the group when used with snapshot or replication functions.
A Safeguarded volume group describes a set of source volumes that can span different pools and are backed up collectively with the Safeguarded Copy function. Safeguarded snapshots are supported on the system through an internal scheduler that is defined in the snapshot policy or can be configured with an external snapshot scheduling application such as IBM Copy Services Manager.
Using the management GUI
To create a volume group, complete these steps:
- In the management GUI, select .
- Click Create Volume Group.
- On the Create Volume Group page, enter the volume group name. If you do not specify a volume group name, the system automatically assigns the name.
- To assign volumes, select the following options:
- Choose existing volumes
- Select this option if you want to add existing volumes to a volume group by completing these steps:
- Select Choose existing volumes and click Next.
- From the list, select the volumes that you want to add to the volume group.
- Click Create Volume Group.
Using the command-line interface (CLI)
To create and configure a new volume group and assign volumes to that group, complete these steps:
- To create the new volume group, enter the following command:
where volumegroup_name specifies a volume group name. This command creates the volume group.mkvolumegroup -name volumegroup_name
- After creating the volume group, either create new volumes or change existing volumes and assign
them to volume group that you created in Step 1.If you are assigning a new volume to the volume group, enter the following command:
where <volumegroup_name_or_id> is the name or identifier of the volume group; and <disk_size> indicates the capacity that is provisioned for the volume from the parent pool.mkvolume -volumegroup <volumegroup_name_or_id> -size <disk_size>
If you are assigning existing volumes to the volume group, enter the following command:
where <volumegroup_name_or_id> is the name or identifier of the volume group and <name_or_id> of the volume.chvdisk -volumegroup <volumegroup_name_or_id> <name_or_id>