---
name: "libnvme_get_lba_status_log-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvme_get_lba_status_log-libnvme3"
---

# libnvme\_get\_lba\_status\_log-libnvme3(2)

Retrieve the LBA Status log page

## NAME

libnvme\_get\_lba\_status\_log - Retrieve the LBA Status log page

## SYNOPSIS

**int libnvme\_get\_lba\_status\_log** **(struct libnvme\_transport\_handle \*hdl** *,* **bool rae** *,* **struct nvme\_lba\_status\_log \*\*log** *);*

## ARGUMENTS

- hdl

  Transport handle

- rae

  Retain asynchronous events

- log

  On success, set to the value of the allocated and retrieved log.

## RETURN

0 on success, the nvme command status if a response was received (see *enum nvme\_status\_field*) or a negative error otherwise.
