mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-31 19:24:09 +03:00
Lint most manpages
Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12129
This commit is contained in:
+23
-24
@@ -17,7 +17,6 @@
|
||||
.\"
|
||||
.\" CDDL HEADER END
|
||||
.\"
|
||||
.\"
|
||||
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
|
||||
.\" Copyright (c) 2012, 2018 by Delphix. All rights reserved.
|
||||
.\" Copyright (c) 2012 Cyril Plisko. All Rights Reserved.
|
||||
@@ -26,34 +25,28 @@
|
||||
.\" Copyright 2017 Nexenta Systems, Inc.
|
||||
.\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
|
||||
.\"
|
||||
.Dd August 9, 2019
|
||||
.Dd May 27, 2021
|
||||
.Dt ZPOOL-ADD 8
|
||||
.Os
|
||||
.
|
||||
.Sh NAME
|
||||
.Nm zpool-add
|
||||
.Nd Adds specified virtual devices to a ZFS storage pool
|
||||
.Nd add vdevs to ZFS storage pool
|
||||
.Sh SYNOPSIS
|
||||
.Nm zpool
|
||||
.Cm add
|
||||
.Op Fl fgLnP
|
||||
.Oo Fl o Ar property Ns = Ns Ar value Oc
|
||||
.Ar pool vdev Ns ...
|
||||
.Ar pool vdev Ns …
|
||||
.
|
||||
.Sh DESCRIPTION
|
||||
.Bl -tag -width Ds
|
||||
.It Xo
|
||||
.Nm zpool
|
||||
.Cm add
|
||||
.Op Fl fgLnP
|
||||
.Oo Fl o Ar property Ns = Ns Ar value Oc
|
||||
.Ar pool vdev Ns ...
|
||||
.Xc
|
||||
Adds the specified virtual devices to the given pool.
|
||||
The
|
||||
.Ar vdev
|
||||
specification is described in the
|
||||
.Em Virtual Devices
|
||||
section of
|
||||
.Xr zpoolconcepts 8.
|
||||
.Xr zpoolconcepts 8 .
|
||||
The behavior of the
|
||||
.Fl f
|
||||
option, and the device checks performed are described in the
|
||||
@@ -68,13 +61,17 @@ Not all devices can be overridden in this manner.
|
||||
.It Fl g
|
||||
Display
|
||||
.Ar vdev ,
|
||||
GUIDs instead of the normal device names. These GUIDs can be used in place of
|
||||
GUIDs instead of the normal device names.
|
||||
These GUIDs can be used in place of
|
||||
device names for the zpool detach/offline/remove/replace commands.
|
||||
.It Fl L
|
||||
Display real paths for
|
||||
.Ar vdev Ns s
|
||||
resolving all symbolic links. This can be used to look up the current block
|
||||
device name regardless of the /dev/disk/ path used to open it.
|
||||
resolving all symbolic links.
|
||||
This can be used to look up the current block
|
||||
device name regardless of the
|
||||
.Pa /dev/disk
|
||||
path used to open it.
|
||||
.It Fl n
|
||||
Displays the configuration that would be used without actually adding the
|
||||
.Ar vdev Ns s .
|
||||
@@ -83,20 +80,22 @@ device sharing.
|
||||
.It Fl P
|
||||
Display real paths for
|
||||
.Ar vdev Ns s
|
||||
instead of only the last component of the path. This can be used in
|
||||
conjunction with the
|
||||
instead of only the last component of the path.
|
||||
This can be used in conjunction with the
|
||||
.Fl L
|
||||
flag.
|
||||
.It Fl o Ar property Ns = Ns Ar value
|
||||
Sets the given pool properties. See the
|
||||
Sets the given pool properties.
|
||||
See the
|
||||
.Xr zpoolprops 8
|
||||
manual page for a list of valid properties that can be set. The only property
|
||||
supported at the moment is ashift.
|
||||
.El
|
||||
manual page for a list of valid properties that can be set.
|
||||
The only property supported at the moment is
|
||||
.Sy ashift .
|
||||
.El
|
||||
.
|
||||
.Sh SEE ALSO
|
||||
.Xr zpool-remove 8 ,
|
||||
.Xr zpool-attach 8 ,
|
||||
.Xr zpool-import 8 ,
|
||||
.Xr zpool-initialize 8 ,
|
||||
.Xr zpool-online 8
|
||||
.Xr zpool-online 8 ,
|
||||
.Xr zpool-remove 8
|
||||
|
||||
Reference in New Issue
Block a user