Manpages

NAME

nvme-sanitize-log - Send NVMe sanitize-log Command, return result

SYNOPSIS

nvme sanitize-log <device> [--rae | -r] [--human-readable | -H]
[--raw-binary | -b]
[--output-format=<fmt> | -o <fmt>] [--verbose | -v]

DESCRIPTION

Retrieves the NVMe Sanitize log page from an NVMe device and provides the status of sanitize command.

The <device> parameter is mandatory NVMe character device (ex: /dev/nvme0).

Expected status and description :-

Image /var/www/mancx/application/src/../www/___/img/man1/man1/nvme-sanitize-log1.png

Sanitize Progress - percentage complete

On success it returns 0, error code otherwise.

OPTIONS

-r, --rae

Retain an Asynchronous Event.

-H, --human-readable

This option will parse and format many of the bit fields into human-readable formats.

-b, --raw-binary

Print the raw buffer to stdout. Structure is not parsed by program. This overrides the vendor specific and human readable options.

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

Set the reporting format to normal, json or binary. Only one output format can be used at a time.

-v, --verbose

Increase the information detail in the output.

EXAMPLES

• Has the program issue Sanitize-log Command :

# nvme sanitize-log /dev/nvme0

NVME

Part of the nvme-user suite.