1.\" SPDX-License-Identifier: CDDL-1.0 2.\" 3.\" CDDL HEADER START 4.\" 5.\" The contents of this file are subject to the terms of the 6.\" Common Development and Distribution License (the "License"). 7.\" You may not use this file except in compliance with the License. 8.\" 9.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10.\" or https://opensource.org/licenses/CDDL-1.0. 11.\" See the License for the specific language governing permissions 12.\" and limitations under the License. 13.\" 14.\" When distributing Covered Code, include this CDDL HEADER in each 15.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16.\" If applicable, add the following below this CDDL HEADER, with the 17.\" fields enclosed by brackets "[]" replaced with your own identifying 18.\" information: Portions Copyright [yyyy] [name of copyright owner] 19.\" 20.\" CDDL HEADER END 21.\" 22.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. 23.\" Copyright (c) 2012, 2018 by Delphix. All rights reserved. 24.\" Copyright (c) 2012 Cyril Plisko. All Rights Reserved. 25.\" Copyright (c) 2017 Datto Inc. 26.\" Copyright (c) 2018 George Melikov. All Rights Reserved. 27.\" Copyright 2017 Nexenta Systems, Inc. 28.\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved. 29.\" 30.Dd May 31, 2021 31.Dt ZPOOL-LABELCLEAR 8 32.Os 33. 34.Sh NAME 35.Nm zpool-labelclear 36.Nd remove ZFS label information from device 37.Sh SYNOPSIS 38.Nm zpool 39.Cm labelclear 40.Op Fl f 41.Ar device 42. 43.Sh DESCRIPTION 44Removes ZFS label information from the specified 45.Ar device . 46If the 47.Ar device 48is a cache device, it also removes the L2ARC header 49(persistent L2ARC). 50The 51.Ar device 52must not be part of an active pool configuration. 53.Bl -tag -width Ds 54.It Fl f 55Treat exported or foreign devices as inactive. 56.El 57. 58.Sh SEE ALSO 59.Xr zpool-destroy 8 , 60.Xr zpool-detach 8 , 61.Xr zpool-remove 8 , 62.Xr zpool-replace 8 63