{
  "slug": "ana-group",
  "term": "ANA group",
  "aliases": [
    "Asymmetric Namespace Access group"
  ],
  "definition": "An ANA group is a set of NVMe namespaces whose ANA access states change together for a given controller.",
  "note": "ANAGRPID identifies the group and must be unique within an NVM subsystem. A valid identifier is non-zero and not greater than ANAGRPMAX, and NANAGRPID reports how many groups a controller supports. Both fields are 0h when ANA reporting is not supported. [base23]\n\nNamespaces in one group change ANA state only together and must belong to the same domain. A group may contain zero or more namespaces, NVM Sets or Endurance Groups, and how namespaces are assigned to groups is outside the specification. Unless the ANAGIDCS capability bit is set, a namespace's group identifier can change while it is attached, and the controller then issues an ANA change notice. [base23]\n\nHosts read group state from log page 0Ch. Each descriptor has a 32-bit group identifier, a 32-bit NSID count, a 64-bit change count and a 4-bit state, followed by 4-byte NSIDs, and descriptors are returned in ascending identifier order. The state codes are 01h optimized, 02h non-optimized, 03h inaccessible, 04h persistent loss and 0Fh change. An open-source host library declares the same 32-byte header. [base23] [libnvme-types]\n\nThe same group can have different ANA states through different controllers, and a controller returns a descriptor only for groups with namespaces attached to it. A group is not a physical path or an independent failure domain. [base23]",
  "related": [
    "asymmetric-namespace-access",
    "namespace-nvme",
    "nvme-multipath-io-policy"
  ],
  "citations": [
    {
      "id": "base23",
      "title": "NVM Express Base Specification 2.3 (1 August 2025), sections 5.2.12.1.13 and 8.1.1: Asymmetric Namespace Access. Pinned edition, not the latest revision.",
      "url": "https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf",
      "accessed": "2026-10-22"
    },
    {
      "id": "hesela-paths",
      "title": "Hesela: NVMe multipath: ANA access states and Linux path policies",
      "url": "https://hesela.com/analyses/nvme-multipath-ana-path-selection/",
      "accessed": "2026-10-15"
    },
    {
      "id": "libnvme-types",
      "title": "libnvme v1.13: ANA log page and ANA group descriptor definitions",
      "url": "https://raw.githubusercontent.com/linux-nvme/libnvme/v1.13/src/nvme/types.h",
      "accessed": "2026-10-22"
    }
  ],
  "status": "shipping",
  "advantages": [
    {
      "text": "A single descriptor reports the state of every member namespace, so a host need not query each namespace separately.",
      "citationIds": [
        "base23"
      ]
    }
  ],
  "limitations": [
    {
      "text": "A change count of 0h means the controller does not report one, so the host must compare descriptor contents to detect changes.",
      "citationIds": [
        "base23"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-10-22",
  "provenance": [
    "base23 was reread on the access date in sections 5.2.12.1.13 and 8.1.1.2 and in Figures 228 and 328.",
    "libnvme-types is the types header of the open-source host library at tag v1.13, read for the ANA log page and group descriptor structures and the state values.",
    "0Ch, the field widths and the state codes come from base23. The 32-byte header follows from the field sizes in both sources."
  ]
}
