nvme_get_lba_status(2) libnvme API manual nvme_get_lba_status(2)

nvme_get_lba_status - Retrieve information on possibly unrecoverable LBAs

int nvme_get_lba_status (struct nvme_get_lba_status_args *args );

struct nvme_get_lba_status_args argument structure

The Get LBA Status command requests information about Potentially Unrecoverable LBAs. Refer to the specification for action type descriptions.

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

nvme_get_lba_status March 2024