DOKK / manpages / debian 12 / nvme-cli / nvme-ocp-smart-add-log.1.en
NVME-OCP-SMART-AD(1) NVMe Manual NVME-OCP-SMART-AD(1)

nvme-ocp-smart-add-log - Retrieves Extended SMART information of given OCP compliant device

nvme ocp smart-add-log <device> [--output-format=<fmt> | -o <fmt>]

For the NVMe device given, send a smart-add-log command and provide the additional smart log.

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.

-o <format>, --output-format=<format>

Set the reporting format to normal or json. Only one output format can be used at a time. The default is normal.

•Has the program issue a smart-add-log command to retrieve the 0xC0 log page.

# nvme ocp smart-add-log /dev/nvme0

Part of the nvme-user suite.

04/15/2023 NVMe