| NVME-OCP-GET-ERRO(1) | NVMe Manual | NVME-OCP-GET-ERRO(1) |
NAME
nvme-ocp-get-error-injection - Return set of error injection
SYNOPSIS
nvme [<global-options>] ocp get-error-injection <device> [--no-uuid | -n]
[--sel=<select> | -s <select>] [--all-ns | -a]
DESCRIPTION
Return set of error injection.
The <device> parameter is mandatory NVMe character device (ex: /dev/nvme0).
This will only work on OCP compliant devices supporting this feature. Results for any other device are undefined.
On success it returns 0, error code otherwise.
OPTIONS
-n, --no-uuid
-s <select>, --sel=<select>
| Select | Description |
| 0 | Current |
| 1 | Default |
| 2 | Saved |
| 3 | Supported capabilities |
| 4-7 | Reserved |
-a, --all-ns
GLOBAL OPTIONS
The following options are defined at the top-level nvme command and are available to this subcommand:
--dry-run
--no-ioctl-probing
--no-retries
-o <fmt>, --output-format=<fmt>
--output-format-version=<version>
--timeout=<ms>
-v, --verbose
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file.
EXAMPLES
# nvme ocp get-error-injection /dev/nvme0
NVME
Part of the nvme-user suite.
| 09/07/2026 | NVMe |