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.
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": {
"cluster_uuid": "<cluster_uuid>",
"lu_name": "<lu_name>",
"lu_size_gb": "<lu_size_gb>"
},
"name": "hmc_create_logical_unit"
}
}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 |