zpool-condense —
Condense, flush, garbage collect or otherwise clean up pool
metadata
zpool |
condense [-t
type] [-c |
-w]
-a|pool… |
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.
-t,
--type
- What to condense. If not specified, all types will be condensed. These are
the possible values for type:
- log_spacemap
- flushing log spacemap entries to their underlying metaslabs.
-a,
--all
- Begin, cancel or wait on condense for all pools.
-c,
--cancel
- Cancel a previous condense. This will return background
updates to their normal rate.
-w,
--wait
- Wait until the condense has completed before returning.
--types
- 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
...