NVME-WDC-CLEAR-PC(1)

πŸ’… NVME-WDC-CLEAR-PC β€” nvme-wdc-clear-pcie-correctable-errors

okay bestie, welcome to NVME-WDC-CLEAR-PC(1) from the NVMe Manual β€” yes this page is literally named weird in the header and we're being so brave about it πŸŽ€


✨ NAME ✨

nvme-wdc-clear-pcie-correctable-errors β€” the little command that clears the pcie correctable errors field that gets returned in the smart-log-add command. that's it. that's the job. she's niche, she's specific, she ate πŸ’…


🌸 SYNOPSIS 🌸

nvme [<global-options>] wdc clear-pcie-correctable-errors <device>

πŸ¦‹ DESCRIPTION πŸ¦‹

so for the NVMe device you hand over, this bad girl sends the wdc vendor unique clear pcie correctable errors command. one command, one purpose, main character energy πŸ”₯

the <device> parameter is mandatory β€” like, you cannot skip it, she will not perform without it. and it can be either the NVMe character device (ex: /dev/nvme0) or a namespace block device (ex: /dev/nvme0n1). both are valid, pick your fighter 🫢

⚠️ heads up: this will only work on WDC devices that support this feature. results for any other device are undefined β€” so like, don't be out here testing on random hardware and then acting surprised, okay? that's not the vibe πŸ’€

πŸ’– OPTIONS πŸ’–

None

literally none. zero. the options list is empty and honestly? iconic. less is more, periodt ✨


πŸ‘‘ GLOBAL OPTIONS πŸ‘‘

these are defined at the top-level nvme command and are available to this subcommand too β€” so yes, you can bring your faves along 🌈

  • --dry-run β€” prints the command that would be executed but does not actually execute it. lowkey a peek-not-touch situation πŸ™ˆ
  • --no-ioctl-probing β€” disables probing for 64-bit IOCTL support.
  • --no-retries β€” disables retry logic on transient errors. no second chances, no do-overs πŸ’€
  • -o <fmt>, --output-format=<fmt> β€” sets the reporting format to normal, tabular, 'json, or binary. only one output format may be used at a time, so pick one and commit bestie πŸŽ€
  • --output-format-version=<version> β€” selects 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 β€” not tolerated, rejected 😀
  • --quiet β€” suppresses informational messages. errors are still reported, and --quiet cancels any --verbose for the library log level. it's giving "shush but not fully shush" 🀫
  • --set-options=<key=value>[,<key=value>...] β€” sets libnvme library options for this invocation. supported keys are force-4k, mi-probe-enabled, test-base-dir and test-sysfs-dir 🧚
  • --timeout=<ms> β€” sets the timeout for the command in milliseconds. infinite or -1 waits without a time limit (0xffffffff). she'll wait forever, literally 🫢
  • -v, --verbose β€” increases the level of detail in the output. may be specified multiple times to further increase verbosity. spam it, go off, the more the merrier πŸ’œ

these options can also be set as machine-wide defaults in nvme-cli.conf(5). a command-line flag always overrides the file β€” flags stay winning, no cap πŸ‘‘


⭐ EXAMPLES ⭐

  • clears the PCIe Correctable Error Count field returned in the smart-log-add command:
# nvme wdc clear-pcie-correctable-errors /dev/nvme0

🌺 NVME 🌺

part of the nvme-user suite πŸ’«


okay that's the whole page bestie, you're officially fluent πŸŽ“πŸ’–

sign-off: this is the NVMe manual situation, dated 10/30/2026, filed under NVME-WDC-CLEAR-PC(1) β€” go clear those correctable errors and slay πŸ’…βœ¨

πŸ“¦ where this page comes from