NVME-LOG-HOST-DIS(1)

πŸ“¦ version 3.2, in arch rolling

πŸ’– NVME-LOG-HOST-DIS(1) πŸ’–

okay bestie, so this is the nvme-log-host-discovery page from the NVMe Manual β€” yes, the whole thing, and no we are not skipping the "boring" bits, because every single flag here is lowkey important ✨


🌸 NAME 🌸

nvme-log-host-discovery β€” grab the Host Discovery Log and, like, show it to you πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

nvme [<global-options>] log host-discovery <device>
                        [--all-host-entries | -a]
                        [--rae | -r]

✨ DESCRIPTION ✨

Retrieve Host Discovery Log, show it. That's the whole vibe πŸŽ€

The <device> parameter is mandatory β€” it's an NVMe MI device supported by the discovery controller, like for example mctp:<net>,<eid>[:ctrl-id]. No device, no log, no slay πŸ™ˆ

On success it returns 0, error code otherwise. Periodt.


πŸ’œ OPTIONS πŸ’œ

  • -a, --all-host-entries β€” All Host Entries. every last one of them πŸ‘‘
  • -r, --rae β€” Retain an Asynchronous Event. yes, retain it. keep it. don't let it go 🫢

🌈 GLOBAL OPTIONS 🌈

these ones live at the top-level nvme command, bestie β€” but they're totally available to this subcommand too, iykyk πŸ’«

  • --dry-run β€” Print the command that would be executed, but do not actually execute it. it's giving window shopping πŸ›οΈ
  • --no-ioctl-probing β€” Disable probing for 64-bit IOCTL support.
  • --no-retries β€” Disable retry logic on transient errors. one shot, no second chances πŸ’€
  • -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. (yes, the json one has a stray quote in the original and we're keeping it fr fr, character for character πŸŽ€)
  • --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. Other versions are rejected. no custom versions, we don't do that here 🚫
  • --quiet β€” Suppress informational messages. Errors are still reported, and --quiet cancels any --verbose for the library log level. shhh 🀫
  • --set-options=<key=value>[,<key=value>...] β€” Set libnvme library options for this invocation. Supported keys are force-4k, mi-probe-enabled, test-base-dir and test-sysfs-dir.
  • --timeout=<ms> β€” Set the timeout for the command in milliseconds. infinite or -1 waits without a time limit (0xffffffff). no cap, it'll wait forever 😭
  • -v, --verbose β€” Increase the level of detail in the output. May be specified multiple times to further increase verbosity. stack it, girl πŸ“š

These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file. flag > file, always πŸ‘‘


πŸ“ EXAMPLES πŸ“

  • Has the program issue a host-discovery-log
# nvme log host-discovery mctp:<net>,<eid>[:ctrl-id]

🧚 NVME 🧚

Part of the nvme-user suite.


ok that's literally the whole page, bestie. go forth and read your host discovery log πŸ’–

NVMe Manual Β· version dated 10/30/2026 Β· mwah, see you in the next manpage πŸ«Άβœ¨πŸŽ€

πŸ“¦ where this page comes from