1NVME-NVME-MI-SEND(1)              NVMe Manual             NVME-NVME-MI-SEND(1)
2
3
4

NAME

6       nvme-nvme-mi-send - Send a NVMe-MI Send command to the specified device
7

SYNOPSIS

9       nvme nvme-mi-send <device> [--opcode=<opcode> | -o <opcode>]
10                                    [--namespace-id=<nsid>]
11                                    [--data-len=<data-len> | -l <data-len>]
12                                    [--nmimt=<nmimt> | -m <nmimt>]
13                                    [--nmd0=<nmd0> | -0 <nmd0>]
14                                    [--nmd1=<nmd1> | -1 <nmd1>]
15                                    [--input-file=<file> | -i <file>]
16

DESCRIPTION

18       Send a NVMe-MI Send command to the specified device, return results.
19
20       The <device> parameter is mandatory and may be either the NVMe
21       character device (ex: /dev/nvme0) or block device (ex: /dev/nvme0n1).
22
23       On success it returns 0, error code otherwise.
24

OPTIONS

26       -o <opcode>, --opcode=<opcode>
27           The NVMe-MI opcode to send to the device in the command
28
29       -n <nsid>, --namespace-id=<nsid>
30           The value for the ns-id in the command.
31
32       -l <data-len>, --data-len=<data-len>
33           The data length for the buffer used for this command.
34
35       -m <nmimt>, --nmimt=<nmimt>
36           The value for the NVMe-MI message type in the command.
37
38       -0 <nmd0>, --nmd0=<nmd0>
39           The value for the NVMe management request dword 0 in the command.
40
41       -1 <nmd1>, --nmd1=<nmd1>
42           The value for the NVMe management request dword 1 in the command.
43
44       -i <file>, --input-file=<file>
45           If the command is a data-out (write) command, use this file to fill
46           the buffer sent to the device. If no file is given, assumed to use
47           STDIN.
48

EXAMPLES

50       •   Has the program issue a nvme-mi-send to execute the VPD write.
51
52               # nvme nvme-mi-send /dev/nvme0n1 -o 6 -m 1 -0 0 -1 0x100 -l 256 -i vpd.bin
53

NVME

55       Part of the nvme-user suite.
56
57
58
59NVMe                              09/29/2023              NVME-NVME-MI-SEND(1)
Impressum