SYNOPSIS
nvme [<global-options>] exclusion create [--name=<NAME> | -N <NAME>]
DESCRIPTION
Create a new, empty NVMe-oF exclusion list named <NAME>, stored as /etc/nvme/exclusions.conf.d/<NAME>.conf. The exclusion list names controllers that no orchestrator may auto-connect; see the exclusion list overview in the libnvme documentation (EXCLUSIONS.md) for the format, the field keys, and the match semantics.
This command requires root.
OPTIONS
- -N <NAME>
- --name=<NAME>
-
Name of the exclusion list to create. Omit to create the default list (/etc/nvme/exclusions.conf).
GLOBAL OPTIONS
The following options are defined at the top-level nvme command
and are available to this subcommand:
- --dry-run
-
Print the command that would be executed, but do not actually execute it.
- --no-ioctl-probing
-
Disable probing for 64-bit IOCTL support.
- --no-retries
-
Disable retry logic on transient errors.
- -o <fmt>
- --output-format=<fmt>
-
Set the reporting format to normal, tabular, 'json, or binary. Only one output format may be used at a time.
- --output-format-version=<version>
-
Select the output format version. Version 1 uses the original field naming, while version 2 (default) provides more consistent and script-friendly field names.
- --timeout=<ms>
-
Set the timeout for the command in milliseconds.
- -v
- --verbose
-
Increase the level of detail in the output. May be specified multiple times to further increase verbosity.
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file.
EXAMPLES
-
Create a list for controllers under maintenance:
# nvme exclusion create --name maintenance
SEE ALSO
nvme-exclusion-add(1) nvme-exclusion-list(1) nvme-exclusion-delete(1) nvme-disconnect(1)
NVME
Part of the nvme-user suite