VMware Cloud Community
NandishVMWare1
Contributor
Contributor

nvme discovery log page in esxi

Hi,

Do we have equivalent esxcli command to get contents of NVMe_Over_TCP array's discovery controller log page
In linux we can get this info using following command

nvme discover -t tcp -a 172.20.161.42 --hostnqn=nqn.2007-10.nps:host1 -s 4420 -G -g

Discovery Log Number of Records 2, Generation counter 11
=====Discovery Log Entry 0======
trtype: tcp
adrfam: ipv4
subtype: nvme subsystem
treq: not required
portid: 0
trsvcid: 4420
subnqn: nqn.2007-11.com.teststorage:linux
traddr: 172.20.162.32
sectype: none
=====Discovery Log Entry 1======
trtype: tcp
adrfam: ipv4
subtype: nvme subsystem
treq: not required
portid: 1
trsvcid: 4420
subnqn: nqn.2007-11.com.teststorage:linux
traddr: 172.20.161.42
sectype: none

I saw the following vmkernel logs during nvme_tcp discovery

cpu19:2101683 opID=31c488e8)NVMEDEV:7426 Controller 275, name nqn.2014-08.org.nvmexpress.discovery#vmhba67#172.20.168.125:4420
cpu19:2101683 opID=31c488e8)NVMEDEV:9120 Succeeded to create recovery world for controller 275
cpu19:2101683 opID=31c488e8)NVMFDEV:931 Controller 275 (nqn.2014-08.org.nvmexpress.discovery#vmhba67#172.20.168.125:4420) registered successfully.
cpu19:2101683 opID=31c488e8)NVMFDEV:1420 Connected to controller successfully
cpu19:2101683 opID=31c488e8)NVMEDEV:8599 Got discovery log page at offset 0, tlen 5120 successfully
cpu19:2101683 opID=31c488e8)NVMFDEV:1273 Controller 275 (nqn.2014-08.org.nvmexpress.discovery#vmhba67#172.20.168.125:4420)

0 Kudos
1 Reply
DavoudTeimouri
Virtuoso
Virtuoso

Hi,

esxcli nvme is available:

https://vdc-repo.vmware.com/vmwb-repository/dcr-public/26334f54-ee84-47c2-b2f3-901f51cbc98a/d3f55719...

-------------------------------------------------------------------------------------
Davoud Teimouri - https://www.teimouri.net - Twitter: @davoud_teimouri Facebook: https://www.facebook.com/teimouri.net/
0 Kudos