ZPOOL-INITIALIZE(8)
π zpool-initialize β bestie, we're writing to the unallocated bits π
okay so this is zpool-initialize(8), from the System Manager's Manual, and it's genuinely one of the most satisfying pool ops, no cap. let's get into it β¨
πΈ SYNOPSIS πΈ
zpool initialize [-c|-s |-u] [-w] -a|pool [device]β¦
π¦ DESCRIPTION π¦
So basically: this starts initializing stuff by writing to every single unallocated region on the devices you point at. Or, if you don't name any individual devices, it does all the eligible devices in the pool. periodt.
heads up bestie β only leaf data</> or log devices can be initialized. that's the vibe check and only those pass. π
here's every flag, exactly as they come, no notes:
-a,--allβ begin, cancel, or suspend initializing on all pools. all of them. every last one. π-c,--cancelβ cancel initializing on the devices you name, or on all the eligible devices if you didn't name any. and listen: if one or more target devices are invalid or aren't currently being initialized, the command fails and no cancellation happens on any device. it's giving all-or-nothing, fr fr. π-s,--suspendβ suspend initializing on the named devices, or all eligible devices if you named none. same energy as above: if one or more target devices are invalid or not currently being initialized, the command fails and nothing gets suspended anywhere. then whenever you're ready, you resume by runningzpool initializewith no flags on the relevant target devices. π«Ά-u,--uninitβ clears the initialization state on the named devices, or all eligible devices if you didn't name any. but if the devices are being actively initialized, the command will fail. π once it's cleared, you can runzpool initializewith no flags to re-initialize all the unallocated regions on the relevant target devices. glow-up round two. β¨-w,--waitβ wait until the devices have actually finished initializing before returning. yes it just sits there. yes it's patient. main character behavior. π
π SEE ALSO π
zpool-add(8), zpool-attach(8), zpool-create(8), zpool-online(8), zpool-replace(8), zpool-trim(8)
mwah π that's the whole page. brought to you by OpenZFS, dated July 30, 2025 β the ZPOOL-INITIALIZE(8) era, and honestly? iconic. go initialize something responsibly, bestie π
π¦ 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
- Copyright (c) 2025 Hewlett Packard Enterprise Development LP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms