NVMe TCP and ANA

a.engel

New Member
May 31, 2024
2
0
1
Hello Team,

I try to configure NVMe/TCP on a Proxmox 8.2 version. I see the controller and also the namespace. looks everything good (NetApp ONTAP Storage).
I´m only wondering where I can find information about ANA. If this is working or if I need some additional configuration steps. I was not able to find
any informations about ANA right now. Anybody already experience with that topic?

Best Regards
Andreas
 
Hello Andreas,
The best way to see the Asymmetric Namespace Access (ANA) information is using nvme-cli.

You can get a sense of your controllers capabilites by reviewing the "Identify Controller" data structure.
Here's an example:
Code:
# nvme id-ctrl -o json /dev/nvme0 | grep ana
  "anatt" : 10,
  "anacap" : 71,
  "anagrpmax" : 32,
  "nanagrpid" : 32

If you want to know what ANA group your namespace is configured into, review the "Identify Namespace" data structure.
Here's an example:
Code:
# nvme id-ns -n 1  -o json /dev/nvme0 | grep ana
  "anagrpid" : 1,

Lastly, if you want to see the current state of native NVMe multipathing, consult the nvme subsystem.
Here's an example:
Code:
# nvme list-subsys -o json /dev/nvme0n1
{
  "Subsystems" : [
    {
      "Name" : "nvme-subsys0",
      "NQN" : "nqn.2009-12.com.blockbridge:f589803d-3d99-4c81-bd76-0092300f05cf",
      "Paths" : [
        {
          "Name" : "nvme0",
          "Transport" : "tcp",
          "Address" : "traddr=172.29.249.238 trsvcid=4420 src_addr=10.10.10.57",
          "State" : "live",
          "ANAState" : "optimized"
        },
        {
          "Name" : "nvme1",
          "Transport" : "tcp",
          "Address" : "traddr=10.10.10.206 trsvcid=4420 src_addr=10.10.10.57",
          "State" : "live",
          "ANAState" : "optimized"
        }
      ]
    }
  ]

I hope this helps!


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Last edited: