ZPOOL-DETACH(8)
β¨ ZPOOL-DETACH π
okay bestie, welcome to zpool-detach from the System Manager's Manual β it's the glow-up where you detach a device from a ZFS mirror. no cap, it's giving "breakup era" but for disks. π¦
πΈ NAME πΈ
zpool-detach β detach device from ZFS mirror π
π SYNOPSIS π
zpool detach pool device
like. that's the whole move. pool and device, that's it, that's the vibe check. β¨
π DESCRIPTION π
So here's the tea, bestie: zpool detach detaches device from a mirror. she's out, she's gone, she's not coming to the group chat anymore. π«Ά
BUT. π The operation is refused if there are no other valid replicas of the data. like, the pool will literally be like "girl no" because you'd be deleting your only copy. absolutely not, we don't do data loss in this house. π
And lowkey important: if device might be re-added to the pool later on, then bestie... consider the zpool offline command instead. fr fr. detach is a divorce, offline is just a break. π
π SEE ALSO π
the whole friend group, obviously:
zpool-attach(8)β the get-back-together arc πzpool-labelclear(8)β cleaning up the label situation π§zpool-offline(8)β the "we're on a break" option πzpool-remove(8)β different energy, still slays π₯zpool-replace(8)β swap her out, main character energy πzpool-split(8)β the pool goes its separate ways β
OpenZFS β’ July 11, 2022
and that's the whole page bestie, mwah π stay hydrated, back up ur data, and remember: detach responsibly πβ¨π¦
π¦ 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