1NVME-LNVM-CREATE(1) NVMe Manual NVME-LNVM-CREATE(1)
2
3
4
6 nvme-lnvm-create - Instantiate a target on top of a LightNVM enabled
7 device
8
10 nvme lnvm-create [--device-name=<DEVICE> | -d <DEVICE>]
11 [--target-name=<TARGET> | -n <TARGET>]
12 [--target-type=<TARGETTYPE> | -t <TARGETTYPE>]
13 [--lun-begin <NUM> | -b <NUM>]
14 [--lun-end <NUM> | -e <NUM>]
15
17 Instantiate a target on top of a LightNVM enabled device. This exposes
18 the physical for the user to use.
19
20 The target name is the name of which the media is exposed as in
21 /dev/<targetname>
22
23 The target type is the target to be instantiated. Typically pblk or
24 rrpc.
25
26 LUN begin and end defines the range of LUNs to use for a target
27 instantiation.
28
30 --device-name=<DEVICE>, -d <DEVICE>
31 Device name to initialize.
32
33 --target-name=<TARGET>, -n <TARGET>
34 Target name of the device to initialize. For example: target0.
35
36 --target-type=<TARGETTYPE>, -t <TARGETTYPE>
37 Target type of the device to use. For example: pblk
38
39 --lun-begin <NUM>, -b <NUM>
40 Begin LUN id offset to use for target
41
42 --lun-end <NUM>, -e <NUM>
43 End LUN id offset to use for target
44
46 ยท Initialize nvme0n1 with pblk target with 64 LUNs.
47
48 # nvme lnvm-create -d nvme0n1 -t pblk -n target0 -b 0 -e 63
49
51 Part of the nvme-user suite
52
53
54
55NVMe 04/24/2020 NVME-LNVM-CREATE(1)