diff options
author | Dmitry Khasanov <[email protected]> | 2013-07-05 18:01:44 +0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-07-09 15:58:05 -0700 |
commit | 131cc95ca78b8552c13555d2cded791808008ff3 (patch) | |
tree | 90018a1dc98bcc07bcf98f1cb15bc5672409ee15 /man | |
parent | 51a3ae72d23d89d35a4a67059b39e870d66a2495 (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')
-rw-r--r-- | man/man8/zpool.8 | 27 |
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 |