hmc_create_logical_unit
Submit a job to create a file-backed logical unit in a cluster/SSP, with thin or thick provisioning and optional cloning from an existing LU.
Instructions
Create a Logical Unit (file-backed disk) in a Cluster/SSP.
Submits a CreateLogicalUnit job and returns it — poll hmc_get_job for status; the result holds the new LU's UDID in LUCreated. lu_type is THIN or THICK; device_type is VirtualIO_Disk or VirtualIO_Image. cloned_from is an optional source LU UDID to clone. Find cluster_uuid with hmc_list_clusters.
Set wait=True to block until the job reaches a terminal state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| lu_name | Yes | ||
| lu_type | No | THIN | |
| lu_size_gb | Yes | ||
| cloned_from | No | ||
| device_type | No | VirtualIO_Disk | |
| cluster_uuid | Yes | ||
| poll_interval | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |