Skip to content

zpool wait all - wait on all background process to complete #10114

Answered by ahrens
Lady-Galadriel asked this question in Q&A
Discussion options

You must be logged in to vote

The functionality you're requesting is already implemented (zpool wait poolname and zpool wait -t free,scrub poolname). Are you asking for the syntax to be augmented to accept zpool wait all poolname and zpool wait free,scrub poolname?

     zpool wait [-Hp] [-T u|d] [-t activity[,activity]...] pool [interval]
             Waits until all background activity of the given types has ceased
             in the given pool.  
...
             If no activities are specified, the command waits until background
             activity of every type listed below has ceased.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by behlendorf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #10114 on December 22, 2020 00:51.