zpool-condense.8

ZPOOL-CONDENSE(8) System Manager's Manual ZPOOL-CONDENSE(8)

zpool-condenseCondense, flush, garbage collect or otherwise clean up pool metadata

zpool condense [-t type] [-c | -w] -a|pool

zpool condense --types

Many internal pool metadata updates are performed in the background at a rate chosen to limit the performance impact to normal use of the pool. Sometimes it is desirable to accelerate these operations, even if it affects overall performance. condense allows an operator to request that a specific background operation be prioritised to complete as soon as possible.

, --type
What to condense. If not specified, all types will be condensed. These are the possible values for type:
flushing log spacemap entries to their underlying metaslabs.
, --all
Begin, cancel or wait on condense for all pools.
, --cancel
Cancel a previous condense. This will return background updates to their normal rate.
, --wait
Wait until the condense has completed before returning.
List condense types supported by this build of condense.

Status of pool with log_spacemap condense in progress:

# zpool condense -t log_spacemap
# zpool status
  pool: tank
  state: ONLINE
  condense: log_spacemap: condensing, 104/321 metaslabs done in 00:00:15
  ...

zpool-status(8), zpool-wait(8)

May 26, 2026 Debian