hmc_create_volume_group
Create a Volume Group on a VIOS from physical volumes, pooling disks so virtual disks can be carved out for LPARs.
Instructions
Create a Volume Group on a VIOS from one or more physical volumes.
vios_name_or_uuid: accepts either a PartitionName or a UUID (find it with hmc_vios). physical_volumes is a list of free PV device names (e.g. ['hdisk10']). Use the GetFreePhysicalVolumes job / VIOS 'lspv' to find unused disks. This pools the disks so virtual disks can be carved out for LPARs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vios_name_or_uuid": "<vios_name_or_uuid>",
"name": "<name>",
"physical_volumes": "<physical_volumes>"
},
"name": "hmc_create_volume_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| physical_volumes | Yes | ||
| vios_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |