ZPOOL-OFFLINE(8)
π ZPOOL-OFFLINE β the "bestie needs a lil break" edition (section 8 of the System Manager's Manual, for real) β¨
okay so. imagine ur ZFS pool is a whole friend group and one of the disks is Going Through It. this page is about giving that disk a nap or waking it back up. πΈ it's zpool-offline, and it lives in section 8, and it is genuinely so useful, iykyk.
β¨ NAME β¨
zpool-offline β take physical devices offline in ZFS storage pool π«Ά
π SYNOPSIS π
zpool offline [--power|[-ft]] pool deviceβ¦
zpool online [--power] [-e] pool deviceβ¦
π DESCRIPTION π
π¦ zpool offline [--power|[-ft]] pool deviceβ¦
Takes the specified physical device offline. bestie it's literally putting the disk to sleep. π΄ While the device is offline, no attempt is made to read or write to the device. like, none. zero. she's resting.
heads up: This command is not applicable to spares. spares are not invited to this party, sorry π
--powerβ Power off the device's slot in the storage enclosure. the lil slot itself gets the off switch. π This flag currently works on Linux only.-fβ Force fault. Instead of offlining the disk, put it into a faulted state. The fault will persist across imports unless the-tflag was specified. so like, she's not napping, she's officially marked as Problematic and it STAYS that way through imports unless u said-t. no cap.-tβ Temporary. Upon reboot, the specified physical device reverts to its previous state. it's giving "just a phase" β¨ the disk comes back to how she was after a reboot.
π§ zpool online [--power] [-e] pool deviceβ¦
Brings the specified physical device online. wake up babe, it's time π This command is not applicable to spares. again β spares, not applicable, that's just how it is π«Ά
--powerβ Power on the device's slot in the storage enclosure and wait for the device to show up before attempting to online it. it literally powers the slot back on and waits for the device to appear before it even tries anything, which is honestly so considerate. Alternatively, you can set theZPOOL_AUTO_POWER_ON_SLOTenvironment variable to always enable this behavior. This flag currently works on Linux only. π§-eβ Expand the device to use all available space. glow-up mode π but listen: If the device is part of a mirror or raidz then all devices must be expanded before the new space will become available to the pool. like, ALL of them. everyone eats together or nobody eats. that's the rule. no exceptions, periodt.
π SEE ALSO π
and that's the whole page, bestie π this lil icon was brought to you by OpenZFS, dated December 21, 2023 β go forth and offline responsibly, mwah ππβ¨
π¦ 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