NVME-OCP-CLEAR-PC(1)
π nvme-ocp-clear-pcie-correctable-error-counters π
okay so bestie, welcome to the nvme-ocp-clear-pcie-correctable-error-counters manual page (from the nvme-user suite, no big deal) β¨ this is a tiny little command with a very long name and it has one job: wiping the slate clean on PCIe correctable error counters. let's get into it π
πΈ NAME πΈ
nvme-ocp-clear-pcie-correctable-error-counters β literally just clears PCIe correctable error counters. that's it. that's the whole vibe. π§Ήβ¨
π¦ SYNOPSIS π¦
nvme [<global-options>] ocp clear-pcie-correctable-error-counters <device>
[--no-uuid | -n]
π DESCRIPTION π
so for the NVMe device you hand it, this clears the PCIe correctable error counters. spring cleaning for your error counts, no cap π§Ό
the <device> parameter is mandatory (like, you cannot skip it, bestie) and it can be either the NVMe character device (ex: /dev/nvme0) or the block device (ex: /dev/nvme0n1) π«Ά
if you run this command with no option added, it will try to automatically detect the parameters of the command. this will work successfully or fail gracefully for devices supporting UUID for Vendor Specific Information (NVMe 1.4 or later, and heads up: OCP 2.0 requires NVMe 1.4b). for devices that do not support OCP 2.0, the command will fail gracefully β unless you provide the --no-uuid option. π
for OCP 1.0 devices (before NVMe 1.4), the --no-uuid option is required. and when you do provide --no-uuid, the results for devices before NVMe 1.4 without OCP support are undefined β so like, nobody knows what happens there, proceed with caution π
on success it returns 0, and an error code otherwise. periodt. β
β¨ OPTIONS β¨
-n,--no-uuidβ do not try to automatically detect UUID index for this command (required for old OCP 1.0 support). this is the one you need for the old-school devices π
π GLOBAL OPTIONS π
these options are defined at the top-level nvme command and hey, they're available to this subcommand too. group chat rules: everybody gets access π«Ά
--dry-runβ print the command that would be executed, but do not actually execute it. a little peek, no commitment π--no-ioctl-probingβ disable probing for 64-bit IOCTL support.--no-retriesβ disable retry logic on transient errors. no second chances, we move on π-o <fmt>,--output-format=<fmt>β set the reporting format tonormal,tabular,'json, orbinary. only one output format may be used at a time. (yes, the quote mark in'jsonis exactly how it's written, do not come for me π)--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 β no gatecrashing allowed π«--quietβ suppress informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. shhh π€«--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. mix and match, it's a vibe β¨--timeout=<ms>β set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). no clock-watching allowed β³-v,--verboseβ increase the level of detail in the output. may be specified multiple times to further increase verbosity. more-v, more tea β
these options can also be set as machine-wide defaults in nvme-cli.conf(5). a command-line flag always overrides the file β the flag is the main character here π
π EXAMPLES π
- clears PCIe correctable error counters Log for the device:
# nvme ocp clear-pcie-correctable-error-counters /dev/nvme0
π NVME π
part of the nvme-user suite. iykyk π§
and that's the whole page, bestie π this was the manual for NVME-OCP-CLEAR-PC(1), source/version dated 10/30/2026, and we are so done here. go clear those counters, slay, and remember: --no-uuid for the old devices, always. mwah ππ
π¦ 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