NVME-EXCLUSION-CRE(1)
π NVME-EXCLUSION-CRE(1) β the nvme manual, bestie edition
okay so real talk, this page lives in the NVMe Manual and it's about making a brand-new exclusion list for NVMe-oF. yes queen, we're organizing.
β¨ NAME β¨
nvme-exclusion-create β creates a shiny new NVMe-oF exclusion list π
π SYNOPSIS π
nvme [<global-options>] exclusion create [--name=<NAME> | -N <NAME>]
π¦ DESCRIPTION π¦
So you're creating a fresh, empty NVMe-oF exclusion list that we're calling <NAME>, and it gets stored at /etc/nvme/exclusions.conf.d/<NAME>.conf. That's the whole vibe. β¨
What even is an exclusion list? It's the list that names controllers that no orchestrator may auto-connect. Like a guest list but for controllers, and the bouncer actually respects it. For the format, the field keys, and the match semantics you gotta check the exclusion list overview in the libnvme documentation (EXCLUSIONS.md) β that's where the lore lives, iykyk.
π¨ heads up bestie: this command requires root. no root, no list. periodt.
π OPTIONS π
-N<NAME>,--name=<NAME> β Name of the exclusion list you're creating. literally just skip it if you want the default list (/etc/nvme/exclusions.conf). omitted means default, no cap.
π GLOBAL OPTIONS π
These ones are defined up at the top-level nvme command and they're available to this subcommand too. generous icons π
--dry-runβ prints the command it would have executed but doesn't actually do it. like a dress rehearsal, no commitment.--no-ioctl-probingβ turns off probing for 64-bit IOCTL support.--no-retriesβ disables retry logic on transient errors. one shot, one opportunity.-o<fmt>,--output-format=<fmt> β sets the reporting format tonormal,tabular,'json, orbinary. only one output format at a time please, we can't do all of them, pick a lane. (yes'json` is exactly how the original writes it, don't come for me π)--output-format-version=<version> β picks the output format version. Version1uses the original field naming, while version2(the default) gives you more consistent and script-friendly field names. Other versions get rejected, sorry babe.--quietβ suppresses informational messages. errors are still reported tho, obviously. and fun fact:--quietcancels any--verbosefor the library log level. they cannot coexist, it's giving opposites attract but make it a veto.- *
--set-options=<key=value>[,<key=value>*...]** β sets libnvme library options for this invocation. supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir`. --timeout=<ms> β timeout for the command, in milliseconds.infiniteor-1waits without a time limit (0xffffffff). no clock, no stress π°οΈ-v,--verboseβ increases the level of detail in the output. you can specify it multiple times to go even further. the way that verbosity compoundsβ¦ iconic.
Also!! these options can be set as machine-wide defaults in nvme-cli.conf(5). and a command-line flag always overrides the file. always. no discussion. π
π 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. slay.
and that's the page pookie π«Ά β brought to you by the NVMe source, dated 10/30/2026, filed under NVME-EXCLUSION-CRE(1). go make that list, you're gonna ate π
π¦ 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