NVME-FLUSH(1)

✨ NAME ✨

okay bestie, welcome to NVME-FLUSH(1) β€” the page for nvme-flush from the NVMe Manual β€” and it is literally the Flush command. πŸ’…

nvme-flush β€” Flush command. that's the vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

nvme [<global-options>] flush <device> [--namespace-id=<nsid> | -n <nsid>]

πŸ’– DESCRIPTION πŸ’–

The Flush command commits data and metadata associated with the namespace(s) you specified to nonvolatile media. The flush applies to all commands that completed prior to the submission of the Flush command. The controller may also flush additional data and/or metadata from any namespace β€” yes, it can do extra, and that's allowed. ✨


πŸŽ€ OPTIONS πŸŽ€

  • -n <nsid>, --namespace-id=<nsid> β€” Specify the optional namespace id for this command. Defaults to 0xffffffff, indicating flush for all namespaces. The broadcast value 0xffffffff can also be given as all or -1. 🫢

🌈 GLOBAL OPTIONS 🌈

These options are defined at the top-level nvme command and are available to this subcommand too:

  • --dry-run β€” Print the command that would be executed, but do not actually execute it. πŸ‘€
  • --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 to normal, tabular, 'json, or binary. Only one output format may be used at a time.
  • --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. 🚫
  • --quiet β€” Suppress informational messages. Errors are still reported, and --quiet cancels any --verbose for the library log level. 🀫
  • --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). ⏳
  • -v, --verbose β€” Increase the level of detail in the output. May be specified multiple times to further increase verbosity. πŸ—£οΈ

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


πŸ¦‹ EXAMPLES πŸ¦‹

No examples yet. 😭 that is literally what the manual says β€” we're not hiding any.


πŸ‘‘ NVME πŸ‘‘

Part of the nvme-user suite. ✨


xoxo, your NVMe manual bestie πŸ’– β€” page NVME-FLUSH(1), source/version NVMe, dated 10/30/2026.

πŸ“¦ where this page comes from