ZPOOL-DETACH(8) System Manager's Manual ZPOOL-DETACH(8)

# [NAME](#NAME)

`zpool-detach` — detach device from ZFS mirror

# [SYNOPSIS](#SYNOPSIS)

`zpool` `detach` `pool device`

# [DESCRIPTION](#DESCRIPTION)

Detaches `device` from a mirror. The operation is refused if there are no other valid replicas of the data. If `device` may be re-added to the pool later on then consider the `zpool` `offline` command instead.

# [SEE ALSO](#SEE_ALSO)

[zpool-attach(8)](/man/os/zfs/zpool-attach.8), [zpool-labelclear(8)](/man/os/zfs/zpool-labelclear.8), [zpool-offline(8)](/man/os/zfs/zpool-offline.8), [zpool-remove(8)](/man/os/zfs/zpool-remove.8), [zpool-replace(8)](/man/os/zfs/zpool-replace.8), [zpool-split(8)](/man/os/zfs/zpool-split.8)

July 11, 2022 OpenZFS

---

Document: zpool-detach(8) from zfs 2.4.4-r4 (Chainguard OS)
Source: https://github.com/openzfs/zfs
