NVME-LOG-LBA-STAT(1)
π 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 tonormal,tabular,'json, orbinary. 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. Version1uses the original field naming, while version2(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--quietcancels any--verbosefor the library log level. so if you're running both, quiet wins the vibe check. π€«--set-options=<key=value>[,<key=value>...]β Setlibnvmelibrary options for this invocation. Supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir. yes bestie, comma-separated, go off. π--timeout=<ms>β Set the timeout for the command in milliseconds.infiniteor-1waits 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 π
- Print the LBA Status Log page in a normal readable format:
# nvme log lba-status /dev/nvme0
- 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
- 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