ZFS-WAIT(8)
β¨ zfs-wait β bestie edition β¨
okay so this is zfs-wait, from the System Manager's Manual section 8 (that's the sysadmin-stuff section, iykyk) π
πΈ NAME πΈ
zfs-wait β wait for activity in ZFS filesystem to stop π¦
π SYNOPSIS π
zfs wait [-t activity[,activity]β¦] filesystem
π DESCRIPTION π
So basically? It waits. π«Ά It waits until all background activity of the given types has ceased in the given filesystem. Periodt.
And lowkey the activity could stop for two very different reasons, bestie:
- it actually completed β
- the filesystem got destroyed or unmounted π
Both count! The command does not care which one happened, it just wants the activity gone.
If you don't specify any activities at all, it waits until background activity of every type listed below has ceased. And if there's literally no activity of the given types in progress right now? It returns immediately. Instant. Iconic. No waiting around for drama that isn't happening β¨
π the possible values for activity π
Here's what each one is waiting for, no cap:
deleteqβ the filesystem's internal delete queue to empty ποΈβ¨
β οΈ heads up bestie, this one's important: the internal delete queue does not finish draining until all large files have had time to be fully destroyed and all open file handles to unlinked files are closed. So if something's holding a handle open, the queue is just gonna sit there. Not me waiting on a file handle that never closes π
π SEE ALSO π
lsof(8)β go find out who's holding that file handle open, fr fr π
and that's the whole vibe, bestie β this page came to you from OpenZFS, dated July 11, 2022. slay, go wait on something π
π¦ 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, 2018 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