As part of upgrade preparation, users should identify any planned deprecated devices for the next ESXi version (as mentioned in KB 88172) and disable the respective NVMeoF adapters that use these deprecated devices prior to the ESXi update.
Follow the steps to disable the NVMeoF adapter.
# esxcli nvme fabrics disable -p <protocol> -d <device>
For example
# esxcli nvme fabrics disable -p RDMA -d vmrdma2
# esxcli nvme fabrics disable -p TCP -d vmnic6
In case user has not performed this step prior to update, then after upgrade user might observe stale connection entries.
To workaround the issue, clean up the stale entries following the below mentioned steps:
Removing connection entry
# esxcli nvme fabrics connection delete -a <Adapter Qualified Name>"
In the above example, the stale entries can be cleaned up by running
# esxcli nvme fabrics connection delete -a aqn:nvmetcp:00-02-c9-b5-e5-30-T
# esxcli nvme fabrics connection delete -a aqn:nvmetcp:00-02-c9-b5-e5-30
To confirm the entries are gone from the system,
# esxcli nvme fabrics connection list
Adapter Qualified Name Admin Queue Size Connection Mode Controller ID Digest Is CDC Keep Alive Timeout Subsystem NQN Transport Address Transport Type
------------------------------- ---------------- ---------------- ------------- ------ ------ ------------------ ------------------------------------------------------- ----------------- --------------
aqn:nvmetcp:24-8a-07-96-4d-8e-T SINGLE_SUBSYSTEM false nqn.1988-11.com.dell:powerstore:00:18c4eb9a7a2bC0891214 10.20.2.21 TCP
aqn:nvmerdma:24-8a-07-96-4d-8f SINGLE_SUBSYSTEM false nqn.2010-06.com.purestorage:flasharray.4d4bafbf03558e0f 10.20.54.101 RDMA
aqn:nvmetcp:24-8a-07-96-4d-8f-T SINGLE_SUBSYSTEM false nqn.1988-11.com.dell:powerstore:00:18c4eb9a7a2bC0891214 10.20.2.22 TCP
aqn:nvmetcp:24-8a-07-96-4d-8e-T SINGLE_SUBSYSTEM false nqn.1988-11.com.dell:powerstore:00:18c4eb9a7a2bC0891214 10.20.2.22 TCP
aqn:nvmerdma:24-8a-07-96-4d-8e SINGLE_SUBSYSTEM false nqn.2010-06.com.purestorage:flasharray.4d4bafbf03558e0f 10.20.54.101 RDMA
aqn:nvmetcp:24-8a-07-96-4d-8f-T SINGLE_SUBSYSTEM false nqn.1988-11.com.dell:powerstore:00:18c4eb9a7a2bC0891214 10.20.2.21 TCP