hmc_add_vscsi_adapter
Connect an LPAR to a VIOS by adding a virtual SCSI client adapter, then map storage backing devices to that adapter.
Instructions
Add a Virtual SCSI client adapter to an LPAR, paired to a VIOS.
lpar_name_or_uuid: accepts either a PartitionName or a UUID (find it with hmc_lpars). vios_partition_id is the integer PartitionID of the serving VIOS (find it with hmc_vios), and vios_slot is that VIOS's server-side virtual SCSI slot number that owns the backing storage. slot_number is the client adapter's virtual slot (auto-assigned if omitted). Storage backing devices (disks / logical volumes) are then mapped to this adapter on the VIOS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vios_slot | Yes | ||
| slot_number | No | ||
| lpar_name_or_uuid | Yes | ||
| vios_partition_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |