ZPOOL-WAIT(8)
π zpool-wait(8) β wait for activity to stop in a ZFS storage pool π
okay so bestie, quick intro: this is zpool-wait, and she lives in section 8 of the manual. her whole job? waiting for activity to stop in a ZFS storage pool. patient queen energy. π
β¨ NAME β¨
zpool-wait β wait for activity to stop in a ZFS storage pool. that's it, that's her. no cap. π
πΈ SYNOPSIS πΈ
zpool wait [-Hp] [-T u|d] [-t activity[,activity]β¦] pool [interval]
π¦ DESCRIPTION π¦
So here's the tea π: zpool wait sits there until all background activity of the types you asked for has ceased in the pool you gave it. and when we say ceased, we mean it could have ceased for a few reasons:
- it actually finished, slay β
- it got paused or canceled by a user (rude, but valid) π
- the pool got exported or destroyed π
If you don't specify any activities at all, she waits until background activity of every type listed below has ceased. and if there's literally no activity of the given types in progress? she returns immediately. main character doesn't wait around for nothing. β¨
These are the possible values for activity, plus what each one is waiting on:
discardβ checkpoint to be discardedfreeβfreeingproperty to become0initializeβ all initializations to ceasereplaceβ all device replacements to ceaseremoveβ device removal to ceaseresilverβ resilver to ceasescrubβ scrub to ceasetrimβ manual trim to ceaseraidz_expandβ attaching to a RAID-Z vdev to complete
Now, if you pass an interval, she'll print the amount of work remaining β in bytes β for each activity, every interval seconds. little progress report, we love a status update. π«Ά
π the flags π
-Hβ Scripted mode. no headers for you, and fields get separated by a single tab instead of arbitrary space. clean, minimal, iconic.-pβ Display numbers in parsable (exact) values.-T u|dβ Display a time stamp. passufor a printed representation of the internal representation of time β seetime(1). passdfor standard date format β seedate(1).
π SEE ALSO π
zpool-checkpoint(8), zpool-initialize(8), zpool-remove(8), zpool-replace(8), zpool-resilver(8), zpool-scrub(8), zpool-status(8), zpool-trim(8)
and that's the page!! π brought to you by OpenZFS, dated January 29, 2024. go forth and wait on your pools, bestie β she'll let you know when the vibes are settled. π§β¨
π¦ where this page comes from
- alpine 3.23: zfs-doc 2.4.4-r0 Β· CDDL-1.0
- alpine 3.24: zfs-doc 2.4.4-r0 Β· CDDL-1.0
- nixos 26.05: zfs-user 2.4.4
- nixpkgs unstable: zfs-user 2.4.4
- ubuntu resolute: zfsutils-linux 2.4.1-1ubuntu5 Β· CDDL-1.0
- ubuntu resolute: zfsutils-linux 2.4.1-1ubuntu5.1 Β· CDDL-1.0
- ubuntu stonking: zfsutils-linux 2.4.4-1ubuntu4 Β· CDDL-1.0
- π the page's license: CDDL-1.0
- Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved
- Copyright (c) 2012, 2021 by Delphix. All rights reserved
- Copyright (c) 2012 Cyril Plisko. All Rights Reserved
- Copyright (c) 2017 Datto Inc
- Copyright (c) 2018 George Melikov. All Rights Reserved
- Copyright 2017 Nexenta Systems, Inc
- Copyright (c) 2017 Open-E, Inc. All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms