zpool-labelclear.8
| ZPOOL-LABELCLEAR(8) | System Manager's Manual | ZPOOL-LABELCLEAR(8) |
NAME
zpool-labelclear —
remove ZFS label information from device
SYNOPSIS
zpool |
labelclear [-f]
device |
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.
This overwrites pool metadata, making all data on the
device inaccessible without specialized recovery
tools. Unlike zpool destroy,
this cannot be undone by ZFS tooling. Only use this when you don't care
about the data on the device.
-f- Treat exported or foreign devices as inactive.
SEE ALSO
zpool-destroy(8), zpool-detach(8), zpool-remove(8), zpool-replace(8)
| July 11, 2022 | Debian |