# boot.attach

Attach a disk to the boot pool, turning a stripe into a mirror.

expand option will determine whether the new disk partition will be the maximum available or the same size as the current disk.

This method is a job.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: dev

#### dev

Type: string

Device name or path to attach to the boot pool.

##### Parameter 2: options

#### options

Type: object

Options for the attach operation.

No Additional Properties

##

#### Expand

Type: boolean Default: false

Whether to expand the boot pool after attaching the disk.

##

#### Result

Type: null

Returns `null` when the disk is successfully attached to the boot pool.

Required roles: DISK_WRITE