summaryrefslogtreecommitdiffstats
path: root/Documentation/nvme-lnvm-create.1
blob: 4c2e8d8e74796fa747f816c1edf8538358b37196 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
'\" t
.\"     Title: nvme-lnvm-create
.\"    Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\"      Date: 11/11/2021
.\"    Manual: NVMe Manual
.\"    Source: NVMe
.\"  Language: English
.\"
.TH "NVME\-LNVM\-CREATE" "1" "11/11/2021" "NVMe" "NVMe Manual"
.\" -----------------------------------------------------------------
.\" * 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-lnvm-create \- Instantiate a target on top of a LightNVM enabled device
.SH "SYNOPSIS"
.sp
.nf
\fInvme lnvm\-create\fR [\-\-device\-name=<DEVICE> | \-d <DEVICE>]
                        [\-\-target\-name=<TARGET> | \-n <TARGET>]
                        [\-\-target\-type=<TARGETTYPE> | \-t <TARGETTYPE>]
                        [\-\-lun\-begin <NUM> | \-b <NUM>]
                        [\-\-lun\-end <NUM> | \-e <NUM>]
.fi
.SH "DESCRIPTION"
.sp
Instantiate a target on top of a LightNVM enabled device\&. This exposes the physical for the user to use\&.
.sp
The target name is the name of which the media is exposed as in /dev/<targetname>
.sp
The target type is the target to be instantiated\&. Typically pblk or rrpc\&.
.sp
LUN begin and end defines the range of LUNs to use for a target instantiation\&.
.SH "OPTIONS"
.PP
\-\-device\-name=<DEVICE>, \-d <DEVICE>
.RS 4
Device name to initialize\&.
.RE
.PP
\-\-target\-name=<TARGET>, \-n <TARGET>
.RS 4
Target name of the device to initialize\&. For example: target0\&.
.RE
.PP
\-\-target\-type=<TARGETTYPE>, \-t <TARGETTYPE>
.RS 4
Target type of the device to use\&. For example: pblk
.RE
.PP
\-\-lun\-begin <NUM>, \-b <NUM>
.RS 4
Begin LUN id offset to use for target
.RE
.PP
\-\-lun\-end <NUM>, \-e <NUM>
.RS 4
End LUN id offset to use for target
.RE
.SH "EXAMPLES"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Initialize nvme0n1 with pblk target with 64 LUNs\&.
.RE
.sp
.if n \{\
.RS 4
.\}
.nf
# nvme lnvm\-create \-d nvme0n1 \-t pblk \-n target0 \-b 0 \-e 63
.fi
.if n \{\
.RE
.\}
.SH "NVME"
.sp
Part of the nvme\-user suite