NVME-NVME-MI-RECV(1) | NVMe Manual | NVME-NVME-MI-RECV(1) |
nvme-nvme-mi-recv - Send a NVMe-MI Receive command to the specified device
nvme nvme-mi-recv <device> [--opcode=<opcode> | -O <opcode>] [--namespace-id=<nsid> | -n <nsid>] [--data-len=<data-len> | -l <data-len>] [--nmimt=<nmimt> | -m <nmimt>] [--nmd0=<nmd0> | -0 <nmd0>] [--nmd1=<nmd1> | -1 <nmd1>] [--input-file=<file> | -i <file>] [--output-format=<fmt> | -o <fmt>] [--verbose | -v]
Send a NVMe-MI Receive command to the specified device, return results.
The <device> parameter is mandatory and may be either the NVMe character device (ex: /dev/nvme0) or block device (ex: /dev/nvme0n1).
On success it returns 0, error code otherwise.
-O <opcode>, --opcode=<opcode>
-n <nsid>, --namespace-id=<nsid>
-l <data-len>, --data-len=<data-len>
-m <nmimt>, --nmimt=<nmimt>
-0 <nmd0>, --nmd0=<nmd0>
-1 <nmd1>, --nmd1=<nmd1>
-i <file>, --input-file=<file>
-o <fmt>, --output-format=<fmt>
-v, --verbose
# nvme nvme-mi-recv /dev/nvme0n1 -O 5 -m 1 -0 0 -1 0x100 -l 256
Part of the nvme-user suite.
08/14/2024 | NVMe |