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

NAME

6       nvme-nvme-mi-recv - Send a NVMe-MI Receive command to the specified
7       device
8

SYNOPSIS

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

DESCRIPTION

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

OPTIONS

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

EXAMPLES

51       •   Has the program issue a nvme-mi-recv to execute the VPD read.
52
53               # nvme nvme-mi-recv /dev/nvme0n1 -o 5 -m 1 -0 0 -1 0x100 -l 256
54

NVME

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