NVME-LOG-LBA-STAT(1)

πŸ“¦ version 3.2, in arch rolling

πŸŽ€ nvme-log-lba-status β€” the LBA Status Log page, bestie edition πŸŽ€

okay so real talk, this is a page from the NVMe manual (like, nvme-log-lba-status(1), the whole nvme-log-lba-status situation) and I'm gonna walk you through it like we're texting at 2am. stay with me, it's actually so good.


✨ NAME ✨

nvme-log-lba-status β€” sends the LBA Status Log Page request, and returns you the result and the log. literally what it says on the tin, no cap. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

nvme [<global-options>] log lba-status <device> [--rae | -r]

that's the whole vibe. short, iconic, to the point. ✨


🌸 DESCRIPTION 🌸

So what does it actually do? It retrieves the NVMe LBA Status Log Page from an NVMe device, and hands you back the returned structure. that's it. that's the whole job. 🫢

The <device> parameter is mandatory β€” like, not optional, not "I'll add it later", mandatory mandatory. And it can be one of two things:

  • the NVMe character device (ex: /dev/nvme0) πŸ’–
  • or a namespace block device (ex: /dev/nvme0n1) πŸ¦‹

On success, the returned LBA Status Log Page structure might come back to you in one of several ways, depending on which option flags you used. your options, bestie:

  • the structure may get parsed by the program and printed in a readable format 🌸
  • or the raw buffer may be printed to stdout so another program can parse it 🌈

like, pick your fighter. either way it's giving options. πŸ‘‘


πŸ’– OPTIONS πŸ’–

  • -r, --rae β€” Retain an Asynchronous Event. that's the whole thing, she's a simple girl. πŸŽ€

πŸ‘‘ GLOBAL OPTIONS πŸ‘‘

these ones are defined up at the top-level nvme command β€” like, main character territory β€” and they're available to this subcommand too. you get them for free. 🫢

  • --dry-run β€” Print the command that would be executed, but do not actually execute it. all the vibes, none of the consequences. πŸ’…
  • --no-ioctl-probing β€” Disable probing for 64-bit IOCTL support. bye bye probing. ✌️
  • --no-retries β€” Disable retry logic on transient errors. one shot, no do-overs. πŸ’€
  • -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 β€” like, don't be greedy, pick one. πŸ™ˆ
  • --output-format-version=<version> β€” Select the output format version. Version 1 uses the original field naming, while version 2 (the default) provides more consistent and script-friendly field names. Other versions are rejected. no notes. ⭐
  • --quiet β€” Suppress informational messages. Errors are still reported, and --quiet cancels any --verbose for the library log level. so if you're running both, quiet wins the vibe check. 🀫
  • --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. yes bestie, comma-separated, go off. πŸ“
  • --timeout=<ms> β€” Set the timeout for the command in milliseconds. infinite or -1 waits without a time limit (0xffffffff). literally forever, if you want. ⏳
  • -v, --verbose β€” Increase the level of detail in the output. May be specified multiple times to further increase verbosity. stack it, queen. πŸ”₯
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file. 🫢

🌈 EXAMPLES 🌈

  1. Print the LBA Status Log page in a normal readable format:
# nvme log lba-status /dev/nvme0
  1. Show the output in json format
# nvme log lba-status /dev/nvme0 -o json
+

huge shoutout to NVME β€” Part of the nvme-user suite. 🧚 this one's from the NVMe manual, dated 10/30/2026, page NVME-LOG-LBA-STAT(1). mwah, go run it, ily, bye! πŸ’œπŸ’œπŸ’œ

πŸ“¦ where this page comes from