NVME-EXCLUSION-LIS(1)
π NAME π
nvme-exclusion-list β the glow-up command that lists your NVMe-oF exclusion lists, or just the entries inside one of them π¦
(this little icon lives in the NVMe Manual, bestie β section 1, obviously)
β¨ SYNOPSIS β¨
nvme [<global-options>] exclusion list [--name=<NAME> | -N <NAME>]
πΈ DESCRIPTION πΈ
okay so. no --name? then it prints every exclusion list plus all its entries. and the order matters, so pay attention π: the main hand-edited /etc/nvme/exclusions.conf comes first, and it shows up tagged as (default), and then you get each named list chillin' under /etc/nvme/exclusions.conf.d/. giving organized-queen energy tbh.
but if you do pass --name, it prints the entries of that one list only. one list. that's it. iconic behavior.
now the drama: some entries can literally never match. those get marked # invalid: never matches. π and an entry counts as invalid when it has any of these:
- it uses an unknown key
- it has a token without
= - it has an empty value
- it has a hostname where the transport requires a numeric address
add --verbose and it'll log the reason for each one, so you're not just staring at # invalid like ποΈπποΈ wondering what you did.
also very important: this command is read-only and does not require root. no sudo, no stress, no cap. π«Ά
π OPTIONS π
-N <NAME>,--name=<NAME>β list the entries in the named exclusion list. omit it and you get all the exclusion lists instead. your call, main character π
π GLOBAL OPTIONS π
these are defined up at the top-level nvme command, and this subcommand gets to use them too. lucky us π
--dry-runβ print the command that would be executed, but don't actually execute it. window shopping, basically ποΈ--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 tonormal,tabular,'json, orbinary. only one output format at a time, bestie, don't be greedy β--output-format-version=<version>β select the output format version. version1uses the original field naming, while version2(default) gives you more consistent and script-friendly field names. other versions are rejected. rejected!! π«--quietβ suppress informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. so it's like a mute button, but for vibes only β¨--set-options=<key=value>[,<key=value>...]β set libnvme library options for this invocation. supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir.--timeout=<ms>β set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). no clock-watching, we love to see it β°-v,--verboseβ increase the level of detail in the output. may be specified multiple times to further increase verbosity. stack 'em like little accessories π
these options can also be set as machine-wide defaults in nvme-cli.conf(5). a command-line flag always overrides the file. always. no exceptions. periodt. π
π¦ EXAMPLES π¦
- show every exclusion list and its entries:
# nvme exclusion list
- show the entries in the user list:
# nvme exclusion list --name user
π₯ SEE ALSO π₯
nvme-exclusion-add(1) nvme-exclusion-remove(1) nvme-exclusion-create(1) nvme-disconnect(1)
β NVME β
part of the nvme-user suite π§
and that's the whole page, bestie! brought to you by NVMe, dated 10/30/2026, filed under NVME-EXCLUSION-LIS(1). slay, read responsibly, and go check those exclusion lists πβ¨
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms