NVME-WDC-GET-CRAS(1)
πΎ nvme-wdc-get-crash-dump β the NVMe WDC crash dump girly's moment π
okay so. bestie. you know how your WDC drive sometimes has a whole little crash dump just sitting there waiting to be rescued? yeah. this is the manual page for the tool that goes and gets it. we're in the NVMe manual, this is the nvme-wdc-get-cras page (that's the short name, the real name below is the long one, iykyk π), and honestly? this one is kinda iconic.
β¨ NAME β¨
nvme-wdc-get-crash-dump β Retrieve WDC device's crash dump. literally just. go get the dump. that's the whole vibe π«Ά
β¨ SYNOPSIS β¨
nvme [<global-options>] wdc get-crash-dump <device>
[--output-file=<FILE>, -O <FILE>]
β¨ DESCRIPTION β¨
so for the NVMe device you give it, this bad boy sends the WDC vendor unique crash dump request and saves the result to a file. no cap, that's it. in the current implementation, the crash dump is captured if it is present. on success it will save the dump in a file with the appropriate suffix. and like... heads up bestie π«£ β this command will clear the available dump from the device on success. so it's giving "one-time grab", not "peek at it and put it back". the dump is yours once it's saved, but it's gone from the drive, periodt.
the <device> parameter is mandatory and it's an NVMe character device (ex: /dev/nvme0). you cannot skip it. do not try to skip it. π
πΈ real talk: this will only work on WDC devices supporting this feature. Results for any other device are undefined. so don't be brave with your non-WDC drive, okay? that's not main character energy, that's just chaos.
β¨ OPTIONS β¨
-O <FILE>,--output-file=<FILE>β the output file. defaults to the device serial number followed by a"crash_dump"suffix. so if you don't pick a name, it picks one for you, cute of it honestly π
π GLOBAL OPTIONS π
okay so the following options are defined at the top-level nvme command and are available to this subcommand too. like they're handed down. nepotism but make it CLI β¨
--dry-runβ Print the command that would be executed, but do not actually execute it. all the anticipation, zero commitment, honestly relatable π«--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 tonormal,tabular,'json, orbinary. Only one output format may be used at a time. pick one. one. singular. π--output-format-version=<version>β Select the output format version. Version1uses the original field naming, while version2(the default, bestie) provides more consistent and script-friendly field names. Other versions are rejected. so like... 1, 2, or get out πͺ--quietβ Suppress informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level. it's the "shhh, i'm focusing" flag π€«--set-options=<key=value>[,<key=value>...]β Set libnvme library options for this invocation. Supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir.--timeout=<ms>β Set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). no clock-watching, we stay patient β³-v,--verboseβ Increase the level of detail in the output. May be specified multiple times to further increase verbosity. stack 'em like bracelets, the more the louder π£
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, no debate π
π¦ EXAMPLES π¦
- Gets the crash dump from the device and saves to the default file in the current directory (e.g.
STM00019F3F9crash_dump.bin):
# nvme wdc get-crash-dump /dev/nvme0
- Gets the crash dump from the device and saves to a defined file in the current directory (e.g.
testSTM00019F3F9crash_dump.bin):
# nvme wdc get-crash-dump /dev/nvme0 -O test
- Gets the crash dump from the device and saves to a defined file with a pathname (e.g.
/tmp/testSTM00019F3F9crash_dump.bin):
# nvme wdc get-crash-dump /dev/nvme0 -O /tmp/test
look at those suffixes doing their thing π note how -O test and -O /tmp/test still get the serial number + crash_dump treatment. it's giving consistent. it's giving reliable. it's giving slay π
π NVME π
Part of the nvme-user suite. you're in good company, bestie π
π§ and that's the page!! this one's from the NVMe manual, dated 10/30/2026, living in source/version NVME-WDC-GET-CRAS(1) territory β so go forth, grab that crash dump, and remember: the dump is cleared on success, so treat it like your last slice of cake. no take-backsies. bye bestie, love u, stay iconique π β¨π
π¦ 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