hmc_create_virtual_disk
Create a virtual disk inside a VIOS volume group, allocating capacity in MiB for use as backing storage to attach to LPARs.
Instructions
Create a Virtual Disk (logical volume) inside a Volume Group.
vios_name_or_uuid: accepts either a PartitionName or a UUID (find it with hmc_vios). capacity_mb is the size in MiB. The disk becomes backing storage that you then attach to an LPAR with hmc_map_storage_to_lpar (storage_kind 'VirtualDisk'). Find vg_uuid with hmc_list_volume_groups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vg_uuid | Yes | ||
| disk_name | Yes | ||
| capacity_mb | Yes | ||
| vios_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |