---
name: "zpool-detach"
section: "8"
platform: "linux"
package: "zfsutils-linux"
version: "2.3.9-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/zpool-detach"
---

# zpool-detach(8)

detach device from ZFS mirror

## NAME

**zpool-detach** – detach device from ZFS mirror

## SYNOPSIS

**zpool** **detach** *pool* *device*

## 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

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