2025-02-16 11:31:10 +01:00
'\" t
. \" Title: nvme-copy
. \" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
. \" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
2025-02-16 12:28:03 +01:00
. \" Date: 08/05/2024
2025-02-16 11:31:10 +01:00
. \" Manual: NVMe Manual
. \" Source: NVMe
. \" Language: English
. \"
2025-02-16 12:28:03 +01:00
.TH "NVME\-COPY" "1" "08/05/2024" "NVMe" "NVMe Manual"
2025-02-16 11:31:10 +01:00
. \" -----------------------------------------------------------------
. \" * Define some portability stuff
. \" -----------------------------------------------------------------
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
. \" http://bugs.debian.org/507673
. \" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n (.g .ds Aq \(aq
.el .ds Aq '
. \" -----------------------------------------------------------------
. \" * set default formatting
. \" -----------------------------------------------------------------
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
. \" -----------------------------------------------------------------
. \" * MAIN CONTENT STARTS HERE *
. \" -----------------------------------------------------------------
.SH "NAME"
nvme-copy \- Send an NVMe Simple Copy command, provide results
.SH "SYNOPSIS"
.sp
.nf
\fI nvme\- copy\fR <device> [\- \- sdlba=<sdlba> | \- d <sdlba>]
[\- \- blocks=<nlb\- list,> | \- b <nlb\- list,>]
[\- \- slbs=<slbas,> | \- s <slbas,>]
2025-02-16 12:25:41 +01:00
[\- \- snsids=<snsids,> | \- N <snsids,>]
[\- \- sopts=<sopts,> | \- O <sopts,>]
2025-02-16 11:31:10 +01:00
[\- \- limited\- retry | \- l]
[\- \- force\- unit\- access | \- f]
[\- \- prinfow=<prinfow> | \- p <prinfow>]
[\- \- prinfor=<prinfor> | \- P <prinfor>]
[\- \- ref\- tag=<reftag> | \- r <reftag>]
[\- \- expected\- ref\- tags=<reftag,> | \- R <reftag,>]
[\- \- app\- tag=<apptag> | \- a <apptag>]
[\- \- expected\- app\- tags=<apptag,> | \- A <apptag,>]
[\- \- app\- mask=<appmask> | \- m <appmask>]
[\- \- expected\- app\- masks=<appmask,> | \- M <appmask,>]
[\- \- dir\- type=<type> | \- T <type>]
[\- \- dir\- spec=<spec> | \- S <spec>]
[\- \- format=<entry\- format> | \- F <entry\- format>]
2025-02-16 12:25:41 +01:00
[\- \- output\- format=<fmt> | \- o <fmt>] [\- \- verbose | \- v]
2025-02-16 12:27:38 +01:00
[\- \- timeout=<timeout> | \- t <timeout>]
2025-02-16 11:31:10 +01:00
.fi
.SH "DESCRIPTION"
.sp
The Copy command is used by the host to copy data from one or more source logical block ranges to a single consecutive destination logical block range\& .
.SH "OPTIONS"
.PP
2025-02-16 12:25:41 +01:00
\- d <sdlba>, \- \- sdlba=<sdlba>
2025-02-16 11:31:10 +01:00
.RS 4
64\- bit addr of first destination logical block
.RE
.PP
2025-02-16 12:25:41 +01:00
\- b <nlb\- list,>, \- \- blocks=<nlb\- list,>
2025-02-16 11:31:10 +01:00
.RS 4
Comma separated list of the number of blocks in each range
.RE
.PP
2025-02-16 12:25:41 +01:00
\- s <slbas,>, \- \- slbs=<slbas,>
2025-02-16 11:31:10 +01:00
.RS 4
Comma separated list of the starting blocks in each range
.RE
.PP
2025-02-16 12:25:41 +01:00
\- \- snsids=<snsids,>, \- N <snsids,>
.RS 4
Comma separated list of the source namespace identifiers in each range
.RE
.PP
\- \- sopts=<sopts,>, \- O <sopts,>
.RS 4
Comma separated list of the source options in each range
.RE
.PP
\- l, \- \- limited\- retry
2025-02-16 11:31:10 +01:00
.RS 4
Sets the limited retry flag\& .
.RE
.PP
2025-02-16 12:25:41 +01:00
\- f, \- \- force\- unit\- access
2025-02-16 11:31:10 +01:00
.RS 4
Set the force\- unit access flag\& .
.RE
.PP
2025-02-16 12:25:41 +01:00
\- p <prinfow>, \- \- prinfow=<prinfow>
2025-02-16 11:31:10 +01:00
.RS 4
Protection Information field write definition\& .
.RE
.PP
2025-02-16 12:25:41 +01:00
\- P <prinfor>, \- \- prinfor=<prinfor>
2025-02-16 11:31:10 +01:00
.RS 4
Protection Information field read definition\& .
.RE
.PP
2025-02-16 12:25:41 +01:00
\- r <reftag>, \- \- ref\- tag=<reftag>
2025-02-16 11:31:10 +01:00
.RS 4
initial lba reference tag\& .
.RE
.PP
2025-02-16 12:25:41 +01:00
\- R <reftag,>, \- \- expected\- ref\- tags=<reftag,>
2025-02-16 11:31:10 +01:00
.RS 4
expected lba reference tags (comma\- separated list)\& .
.RE
.PP
2025-02-16 12:25:41 +01:00
\- a <apptag>, \- \- app\- tag=<apptag>
2025-02-16 11:31:10 +01:00
.RS 4
lba app tag
.RE
.PP
2025-02-16 12:25:41 +01:00
\- A <apptag,>, \- \- expected\- app\- tags=<apptag,>
2025-02-16 11:31:10 +01:00
.RS 4
expected lba app tags (comma\- separated list)
.RE
.PP
2025-02-16 12:25:41 +01:00
\- m <appmask>, \- \- app\- mask=<appmask>
2025-02-16 11:31:10 +01:00
.RS 4
lba tag mask
.RE
.PP
2025-02-16 12:25:41 +01:00
\- M <appmask,>, \- \- expected\- app\- masks=<appmask,>
2025-02-16 11:31:10 +01:00
.RS 4
expected lba tag masks (comma\- separated list)
.RE
.PP
2025-02-16 12:25:41 +01:00
\- T <type>, \- \- dir\- type=<type>
2025-02-16 11:31:10 +01:00
.RS 4
2025-02-16 12:16:19 +01:00
Optional directive type\& . The nvme\- cli only enforces the value be in the defined range for the directive type, though the NVMe specification (1\& .3a) defines only one directive, 01h, for write stream identifiers\& .
2025-02-16 11:31:10 +01:00
.RE
.PP
2025-02-16 12:25:41 +01:00
\- S <spec>, \- \- dir\- spec=<spec>
2025-02-16 11:31:10 +01:00
.RS 4
Optional field for directive specifics\& . When used with write streams, this value is defined to be the write stream identifier\& . The nvme\- cli will not validate the stream requested is within the controller\(cq s capabilities\& .
.RE
.PP
2025-02-16 12:25:41 +01:00
\- F <entry\- format>, \- \- format=<entry\- format>
2025-02-16 11:31:10 +01:00
.RS 4
source range entry format
.RE
2025-02-16 12:25:41 +01:00
.PP
\- o <fmt>, \- \- output\- format=<fmt>
.RS 4
Set the reporting format to
\fI normal\fR ,
\fI json\fR
or
\fI binary\fR \& . Only one output format can be used at a time\& .
.RE
.PP
\- v, \- \- verbose
.RS 4
Increase the information detail in the output\& .
.RE
2025-02-16 12:27:38 +01:00
.PP
\- t <timeout>, \- \- timeout=<timeout>
.RS 4
Override default timeout value\& . In milliseconds\& .
.RE
2025-02-16 11:31:10 +01:00
.SH "EXAMPLES"
.sp
No examples yet\& .
.SH "NVME"
.sp
Part of the nvme\- user suite