zpool-labelclear.8

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

zpool-labelclearremove ZFS label information from device

zpool labelclear [-f] device

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.

Treat exported or foreign devices as inactive.

zpool-destroy(8), zpool-detach(8), zpool-remove(8), zpool-replace(8)

July 11, 2022 Debian