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

# [NAME](#NAME)

`zpool-labelclear` — remove ZFS label information from device

# [SYNOPSIS](#SYNOPSIS)

`zpool` `labelclear` \[`-f`] `device`

# [DESCRIPTION](#DESCRIPTION)

Removes ZFS label information from the specified `device`. If the `device` is a cache device, it also removes the L2ARC header (persistent L2ARC). The `device` must not be part of an active pool configuration.

[`-f`](#f)

Treat exported or foreign devices as inactive.

# [SEE ALSO](#SEE_ALSO)

[zpool-destroy(8)](/man/os/zfs/zpool-destroy.8), [zpool-detach(8)](/man/os/zfs/zpool-detach.8), [zpool-remove(8)](/man/os/zfs/zpool-remove.8), [zpool-replace(8)](/man/os/zfs/zpool-replace.8)

July 11, 2022 OpenZFS

---

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