NVME-NS-RESCAN(1)
π¦ nvme-ns-rescan(1) β the NVMe manual, but make it cute π¦
okay so bestie, welcome to nvme-ns-rescan π
this is a page from the NVMe Manual, and it's literally the entire vibe of "hey controller, go look at your namespaces again." Let's get into it β¨
πΈ NAME πΈ
nvme-ns-rescan β aka the little command that rescans the nvme namespaces π«Ά
π SYNOPSIS π
nvme [<global-options>] ns-rescan <device>
that's the whole shape of it, no cap π
β¨ DESCRIPTION β¨
So what does it do? It requests the NVMe controller rescans the namespaces. That's it. That's the errand π§
Now listen, the <device> param is mandatory β like, not optional, not "ehh maybe later," mandatory π and it must be an NVMe character device, for example /dev/nvme0. Get that wrong and it's not giving what you need it to give π
π₯ OPTIONS π₯
π GLOBAL OPTIONS π
okay so these bad boys are defined at the top-level nvme command, and they're available to this subcommand too. main character energy, they show up everywhere π
--dry-runβ prints the command that would be executed, but does not actually execute it. window shopping, but for syscalls π--no-ioctl-probingβ disables probing for 64-bit IOCTL support. if you wanna skip the vibe check, here's your flag π--no-retriesβ disables retry logic on transient errors. one shot, no takebacks π―-o <fmt>,--output-format=<fmt>β sets the reporting format tonormal,tabular,'json, orbinary. and! only one output format at a time, so don't be greedy bestie β¨--output-format-version=<version>β selects the output format version. version1uses the original field naming, while version2(default) provides more consistent and script-friendly field names. other versions are rejected β no exceptions π«--quietβ suppresses informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. shhh π€«--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. mix and match, it's giving customization π--timeout=<ms>β sets the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). patience is a virtue fr fr β³-v,--verboseβ increases the level of detail in the output. may be specified multiple times to further increase verbosity β stack it, girl π
also! these options can be set as machine-wide defaults in nvme-cli.conf(5) π but a command-line flag always overrides the file. command line stays undefeated π
π EXAMPLES π
- rescans the nvme namespaces. literally what it says on the tin π
# nvme ns-rescan /dev/nvme0
π NVME π
part of the nvme-user suite π«Ά iykyk
and that's the page, bestie!! this one's from the NVMe manual, dated 10/30/2026, and it's page NVME-NS-RESCAN(1) in the source β slay, stay hydrated, and may all your namespaces rescan flawlessly π
πβ¨
π¦ 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