Cloning a Volume Group
Clone a volume group in the Block Volume service.
- Open the navigation menu and click Storage. Under Block Storage, click Volume Groups.
- In the Volume Groups list, click the of the volume group that you want to clone, and then select Create volume group clone.
- Enter a name for the new volume group.
- Click Create.
Use the oci bv volume-group create command and required parameters to clone a volume group from an existing volume group:
oci bv volume-group create --compartment-id <compartment_ID> --availability-domain <external_AD> --source-details <Source_details_JSON>
For example:
oci bv volume-group create --compartment-id ocid1.compartment.oc1..<unique_ID> --availability-domain ABbv:PHX-AD-1 --source-details '{"type": "volumeGroupId", "volumeGroupId": "ocid1.volumegroup.oc1.phx.<unique_ID>"}'
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the CreateVolumeGroup operation to clone a volume group from an existing volume group.