---
name: "nvme_mi_admin_get_log_lba_status"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_mi_admin_get_log_lba_status"
---

# nvme\_mi\_admin\_get\_log\_lba\_status(2)

Retrieve LBA Status

## NAME

nvme\_mi\_admin\_get\_log\_lba\_status - Retrieve LBA Status

## SYNOPSIS

**int nvme\_mi\_admin\_get\_log\_lba\_status** **(nvme\_mi\_ctrl\_t ctrl** *,* **bool rae** *,* **\_\_u64 offset** *,* **\_\_u32 len** *,* **void \*log** *);*

## ARGUMENTS

- ctrl

  Controller to query

- rae

  Retain asynchronous events

- offset

  Offset to the start of the log page

- len

  The allocated length of the log page

- log

  User address to store the log page

## RETURN

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