---
name: "nvme_mi_admin_get_log_ana_groups"
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_ana_groups"
---

# nvme\_mi\_admin\_get\_log\_ana\_groups(2)

Retrieve Asymmetric Namespace Access groups only log page

## NAME

nvme\_mi\_admin\_get\_log\_ana\_groups - Retrieve Asymmetric Namespace Access groups only log page

## SYNOPSIS

**int nvme\_mi\_admin\_get\_log\_ana\_groups** **(nvme\_mi\_ctrl\_t ctrl** *,* **bool rae** *,* **\_\_u32 len** *,* **struct nvme\_ana\_group\_desc \*log** *);*

## ARGUMENTS

- ctrl

  Controller to query

- rae

  Retain asynchronous events

- len

  The allocated length of the log page

- log

  User address to store the ana group log

## DESCRIPTION

See *struct nvme\_ana\_group\_desc* for the definition of the returned structure.

## RETURN

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