# disk.get_used

Return disks that are in use by any zpool that is currently imported. It will also return disks that are in use by any zpool that is exported.

join_partitions: Bool, when True will return all partitions currently written to disk

  NOTE: this is an expensive operation

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: join_partitions

#### join_partitions

Type: boolean Default: false

Return all partitions currently written to disk.

NOTE: this is an expensive operation.

##

#### Result

Type: array

Array of disks that are currently in use by the system.

No Additional Items

##### Each item of this array must be:

Type: object

Required roles: REPORTING_READ