summaryrefslogtreecommitdiffstats
path: root/Documentation/nvme-ocp-error-recovery-log.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-30 22:38:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-30 22:38:51 +0000
commit5d64e8a26388e2abbf6a6585d17392d6e944ae7b (patch)
tree4eae47918df5f83f14e05bede9c361237a7dc089 /Documentation/nvme-ocp-error-recovery-log.txt
parentReleasing debian version 2.4+really2.4-3. (diff)
downloadnvme-cli-5d64e8a26388e2abbf6a6585d17392d6e944ae7b.tar.xz
nvme-cli-5d64e8a26388e2abbf6a6585d17392d6e944ae7b.zip
Merging upstream version 2.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Documentation/nvme-ocp-error-recovery-log.txt')
-rw-r--r--Documentation/nvme-ocp-error-recovery-log.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/Documentation/nvme-ocp-error-recovery-log.txt b/Documentation/nvme-ocp-error-recovery-log.txt
new file mode 100644
index 0000000..edbf4e6
--- /dev/null
+++ b/Documentation/nvme-ocp-error-recovery-log.txt
@@ -0,0 +1,42 @@
+nvme-ocp-error-recovery-log(1)
+==============================
+
+NAME
+----
+nvme-ocp-error-recovery-log - Retrieves OCP Error Recovery Log Page
+
+SYNOPSIS
+--------
+[verse]
+'nvme ocp error-recovery-log' <device> [--output-format=<fmt> | -o <fmt>]
+
+DESCRIPTION
+-----------
+For the NVMe device given, retrieves OCP Error Recovery Log Page
+
+The <device> parameter is mandatory and may be either the NVMe character
+device (ex: /dev/nvme0) or block device (ex: /dev/nvme0n1).
+
+This will only work on OCP compliant devices supporting this feature.
+Results for any other device are undefined.
+
+On success it returns 0, error code otherwise.
+
+OPTIONS
+-------
+-o <format>::
+--output-format=<format>::
+ Set the reporting format to 'normal' or 'json' or 'binary'.
+ Only one output format can be used at a time. The default is normal.
+
+EXAMPLES
+--------
+* Has the program issue a error-recovery-log command to retrieve the 0xC1 log page.
++
+------------
+# nvme ocp unsupported-reqs-log /dev/nvme0 -o normal
+------------
+
+NVME
+----
+Part of the nvme-user suite.