nvme-resv-notif-log − Send NVMe Reservation Notification log page request, return result and log
nvme resv−notif−log <device> [−−output−format=<fmt> | −o <fmt>]
Retrieves NVMe Reservation Notification log page from an NVMe device and provides the returned structure.
The <device> parameter is mandatory and may be either the NVMe character device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1).
On success, the returned Reservation Notification log structure may be returned in one of several ways depending on the option flags; the structure may parsed by the program and printed in a readable format or the raw buffer may be printed to stdout for another program to parse.
−o <format>, −−output−format=<format>
Set the reporting format to normal, json, or binary. Only one output format can be used at a time.
• Get the Reservation Notification log and print it in a human readable format:
# nvme resv−notif−log /dev/nvme0
• Print the output in json format:
# nvme resv−notif−log /dev/nvme0 −o json
Part of the nvme−user suite