summaryrefslogtreecommitdiffstats
path: root/man/man8/zpool.8
diff options
context:
space:
mode:
authorDmitry Khasanov <[email protected]>2013-07-05 18:01:44 +0700
committerBrian Behlendorf <[email protected]>2013-07-09 15:58:05 -0700
commit131cc95ca78b8552c13555d2cded791808008ff3 (patch)
tree90018a1dc98bcc07bcf98f1cb15bc5672409ee15 /man/man8/zpool.8
parent51a3ae72d23d89d35a4a67059b39e870d66a2495 (diff)
Add FreeBSD 'zpool labelclear' command
The FreeBSD implementation of zfs adds the 'zpool labelclear' command. Since this functionality is helpful and straight forward to add it is being included in ZoL. References: freebsd/freebsd@119a041dc9230275239a8de68c534c0754181e7e Ported-by: Dmitry Khasanov <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #1126
Diffstat (limited to 'man/man8/zpool.8')
-rw-r--r--man/man8/zpool.827
1 files changed, 27 insertions, 0 deletions
diff --git a/man/man8/zpool.8 b/man/man8/zpool.8
index 388c89da9..c1ee0d5de 100644
--- a/man/man8/zpool.8
+++ b/man/man8/zpool.8
@@ -94,6 +94,11 @@ zpool \- configures ZFS storage pools
.LP
.nf
+\fBzpool labelclear\fR [\fB-f\fR] \fIdevice\fR
+.fi
+
+.LP
+.nf
\fBzpool list\fR [\fB-Hv\fR] [\fB-o\fR \fIproperty\fR[,...]] [\fIpool\fR] ...
.fi
@@ -1430,6 +1435,28 @@ Verbose statistics. Reports usage statistics for individual \fIvdevs\fR within t
.ne 2
.mk
.na
+\fB\fBzpool labelclear\fR [\fB-f\fR] \fIdevice\fR
+.ad
+.sp .6
+.RS 4n
+Removes ZFS label information from the specified device. The device must not be part of an active pool configuration.
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-f\fR\fR
+.ad
+.RS 12n
+.rt
+Treat exported or foreign devices as inactive.
+.RE
+
+.RE
+
+.sp
+.ne 2
+.mk
+.na
\fB\fBzpool list\fR [\fB-Hv\fR] [\fB-o\fR \fIprops\fR[,...]] [\fIpool\fR] ...\fR
.ad
.sp .6