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:


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