diff options
author | Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> | 2022-03-18 17:04:04 +0100 |
---|---|---|
committer | Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> | 2022-09-09 16:54:04 +0200 |
commit | 153f3212c5a48deec74be10ba87dd04bc99edbbb (patch) | |
tree | 0a7983be84c0d0ab8dc84b8d3b5fe97b011be4cf /usr/src/man | |
parent | fec047081731fd77caf46ec0471c501b2cb33894 (diff) | |
download | illumos-joyent-153f3212c5a48deec74be10ba87dd04bc99edbbb.tar.gz |
14815 nvmeadm: identify support for namespace management
Reviewed by: Andrew Giles <agiles@tintri.com>
Reviewed by: Guy Morrogh <gmorrogh@tintri.com>
Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org>
Approved by: Dan McDonald <danmcd@mnx.io>
Diffstat (limited to 'usr/src/man')
-rw-r--r-- | usr/src/man/man8/nvmeadm.8 | 97 |
1 files changed, 89 insertions, 8 deletions
diff --git a/usr/src/man/man8/nvmeadm.8 b/usr/src/man/man8/nvmeadm.8 index 009b89bcf4..04508b2c22 100644 --- a/usr/src/man/man8/nvmeadm.8 +++ b/usr/src/man/man8/nvmeadm.8 @@ -33,9 +33,20 @@ .Nm .Op Fl dv .Cm identify +.Op Fl C | c | d | Oo Fl a Oc Fl n .Ar ctl[/ns] Ns [,...] .Nm .Op Fl dv +.Cm identify-controller +.Op Fl C | c | Oo Fl a Oc Fl n +.Ar ctl Ns [,...] +.Nm +.Op Fl dv +.Cm identify-namespace +.Op Fl c | d +.Ar ctl/ns Ns [,...] +.Nm +.Op Fl dv .Cm get-logpage .Ar ctl[/ns] Ns [,...] .Ar logpage @@ -247,17 +258,87 @@ The name of the disk device that corresponds to the namespace, if any. .El .It Xo .Nm -.Cm identify -.Ar ctl[/ns] Ns [,...] +.Cm identify-controller +.Op Fl C | c | Oo Fl a Oc Fl n +.Ar ctl Ns [,...] .Xc -Print detailed information about the specified controllers and/or -namespaces. -The information returned differs depending on whether a controller or -a namespace is specified. -For an explanation of the data printed by this command refer to the -description of the +Print detailed information about the specified controllers. +For an explanation of the data printed by this command refer to the description +of the +.Qq IDENTIFY +admin command in the NVMe specification. +.Pp +By default, a relevant subset of the +.Qq IDENTIFY CONTROLLER +data structure is printed. +The full data structure is only printed when verbose output is requested. +.Pp +The following options can be used to print other +.Qq IDENTIFY +information: +.Bl -tag -width Fl +.It Fl C +Print the Common Namespace Identification of the controller. +.It Fl a +Alter the output of the +.Fl n +option to print the list allocated namespace identifiers. +Can only be specified together with the +.Fl n +option. +.It Fl c +Print the list of all unique controller identifiers in the NVMe subsystem the +specified controller belongs to. +.It Fl n +Print the list of active namespace identifiers of the controller. +.El +.It Xo +.Nm +.Cm identify-namespace +.Op Fl c | d +.Ar ctl/ns Ns [,...] +.Xc +Print detailed information about the specified namespace. +For an explanation of the data printed by this command refer to the description +of the .Qq IDENTIFY admin command in the NVMe specification. +.Pp +By default, a relevant subset of the +.Qq IDENTIFY NAMESPACE +data structure is printed. +The full data structure is only printed when verbose output is requested. +.Pp +The following options can be used to print other +.Qq IDENTIFY +information: +.Bl -tag -width Fl +.It Fl c +Print the list of all unique controller identifiers in the NVMe subsystem the +specified namespace belongs to and which are currently attached to this +namespace. +.It Fl d +Print the list of namespace identification descriptors of the namespace. +.El +.It Xo +.Nm +.Cm identify +.Op Fl C | c | d | Oo Fl a Oc Fl n +.Ar ctl[/ns] Ns [,...] +.Xc +Short-hand for the +.Cm identify-controller +and +.Cm identify-namespace +commands, prints the same information about the specified controllers and/or +namespaces, depending on whether a controller or a namespace was specified. +.Pp +For a description of the various optional flags refer to the above description +of the +.Cm identify-controller +and +.Cm identify-namespace +commands. .It Xo .Nm .Cm get-logpage |