pool.attach

target_vdev is the GUID of the vdev where the disk needs to be attached. In case of STRIPED vdev, this is the STRIPED disk GUID which will be converted to mirror. If target_vdev is mirror, it will be converted into a n-way mirror.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: oid

oid

Type: integer
Parameter 2: options

options

Type: object
No Additional Properties

Target Vdev

Type: string

New Disk

Type: string

Allow Duplicate Serials

Type: boolean Default: false

Result

Type: null


Required roles: POOL_WRITE