NVME-CONFIG-SHOW(1)
π NVME-CONFIG-SHOW(1) β like, the NVMe Manual bestie, but make it fab π
okay so real talk β this is the nvme-config-show page from the NVMe Manual, and it's genuinely one of the most underrated little commands ever. no cap. let's get into it β¨
πΈ NAME πΈ
nvme-config-show β shows you the resolved NVMe-oF INI connection configuration π (yes, the resolved one, we're fancy like that)
π¦ SYNOPSIS π¦
nvme [<global-options>] config show
[--config=<file> | -J <file>]
that's it. that's the whole vibe check. π«Ά
π DESCRIPTION π
okay so here's the tea β β this command reads the NVMe-oF INI connection configuration file, the exact same one that nvme connect-all and nvme discover use, and then prints out every single configured connection entry. all of them. no gatekeeping. π
the INI format is documented right here, bestie:
https://github.com/linux-nvme/nvme-cli/blob/master/libnvme/design/CONFIG.md
by default, it reads the file at /usr/local/etc/nvme/nvme-fabrics.conf β that's the home base π . but if you wanna show a file at a different path instead, just hit it with --config and you're golden β¨
so in the default and tabular output formats, each entry gets rendered as the equivalent command line that would literally establish it:
nvme connect-allfor a Discovery Controller entry πnvme connectfor an I/O Controller entry π₯
and each one is preceded by a comment naming the entry's source β like, which file/section it came from, so you always know where it's from. iykyk π§
the json output format is different tho β instead of the command-line rendering, it reports each entry's fields individually: transport, address, NQN, host identity, and any extra connect parameters. very much script-friendly main character energy π
π important vibe note: this command never touches the network. addressing is shown exactly as configured, with no hostname resolution attempted, periodt. and a persona with nohostnqn/hostidset is shown without those fields β rather than the system default it would resolve to at connect time. why? because showing a concrete value here would suggest a fixed identity that the configuration doesn't actually pin. so we don't. we're honest like that π«Ά
β¨ OPTIONS β¨
-J <file>,--config=<file>β show this INI file instead of the default/usr/local/etc/nvme/nvme-fabrics.conf. simple as that, bestie π
π GLOBAL OPTIONS π
these bad boys are defined at the top-level nvme command and are, like, totally available to this subcommand. they're the main characters of the global options world π
--dry-runβ print the command that would be executed, but don't actually execute it. all the vibes, none of the commitment π--no-ioctl-probingβ disable probing for 64-bit IOCTL support π¦--no-retriesβ disable retry logic on transient errors. we're not doing the whole "try again" thing π-o <fmt>,--output-format=<fmt>β set the reporting format tonormal,tabular,json, orbinary. only one output format may be used at a time, so pick your fave and commit π--output-format-version=<version>β select the output format version. version1uses the original field naming, while version2(the default) provides more consistent and script-friendly field names. other versions are rejected β no exceptions, no negotiating π--quietβ suppress informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. so like, shhh π€«--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). patience is a virtue, or whatever πΈ-v,--verboseβ increase the level of detail in the output. may be specified multiple times to further increase verbosity. go off, stack those-vs π₯
and listen β 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 cap π
π EXAMPLES π
1. show the system's resolved configuration:
# nvme config show
# nvme0: Discovery Controller
nvme connect-all --transport=tcp --traddr=192.168.1.10 --trsvcid=8009
# nvme1: I/O Controller
nvme connect --transport=tcp --traddr=192.168.1.10 --trsvcid=4420 \
--nqn=nqn.2014-08.org.nvmexpress:uuid:6a4f5e3e-...
look at that. gorgeous. iconic. ate and left no crumbs π
2. show a configuration file at a non-default path, as JSON:
$ nvme config show --config /tmp/nvme-fabrics.conf -o json
json girlies stay winning π
π§ SEE ALSO π§
nvme-config-validate(1)nvme-config-convert(1)nvme-config-status(1)nvme-connect-all(1)nvme-discover(1)https://github.com/linux-nvme/nvme-cli/blob/master/libnvme/design/CONFIG.md
go read 'em, bestie. all of 'em. π
β NVME β
part of the nvme-user suite π
and that's the whole page, bestie!! πβ¨π¦πΈπ
this gem came to you courtesy of the NVMe manual, dated 10/30/2026 β yes i know, future date, we're ahead of the curve like that ππ love u, go show some configs π«Ά
π¦ 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