[root@esxihost:/] vdq -iHVsanUtil::ReadFromDevice: Failed to open /vmfs/devices/disks/t10.NVMe____Dell_DC_NVMe_#####_##________###########, errno (19)VsanUtil::GetVsanDisks: Error occurred 'Failed to open device /vmfs/devices/disks/t10.NVMe____Dell_DC_NVMe_#####_##________###########', create disk with null id
/var/log/hostd.log on ESX host will display the following snippet for failure of property collection tasks :
YYYY-MM-DDTHH:MM:SS.###Z In(166) Hostd[#######]: [Originator@#### sub=Vimsvc.TaskManager opID=########-#### sid=######## user=dcui:vsanmgmtd] Task Created : vmodlTask-ha-host-########YYYY-MM-DDTHH:MM:SS.###Z In(166) Hostd[#######]: [Originator@#### sub=Http2ServerSession-6120] Starting Http2Session (server): <io_obj t:N7Vmacore6System19TCPSocketObjectAsioE, h:103, <TCP '127.0.0.1 : 8307'>, <TCP '127.0.0.1 : 60883'>>YYYY-MM-DDTHH:MM:SS.###Z In(166) Hostd[#######]: [Originator@#### sub=Solo.Vmomi opID=######## sid=########] Activation finished; <<########-####-####-####-############, <TCP '127.0.0.1 : 8307'>, <TCP '127.0.0.1 : 60883'>>, ha-property-collector, vmodl.query.PropertyCollector.createPropertyCollector, <vim.version.v9_0_0_0, internal, 9.0.0.0>, [N11HostdCommon18VmomiAdapterServer19ActivationResponderE]>YYYY-MM-DDTHH:MM:SS.###Z In(166) Hostd[#######]: [Originator@#### sub=Solo.Vmomi opID=######## sid=########] Throw vim.fault.NotAuthenticatedYYYY-MM-DDTHH:MM:SS.###Z In(166) Hostd[#######]: [Originator@#### sub=Solo.Vmomi opID=######## sid=########] Result:YYYY-MM-DDTHH:MM:SS.###Z In(166) Hostd[#######]: --> (vim.fault.NotAuthenticated) {YYYY-MM-DDTHH:MM:SS.###Z In(166) Hostd[#######]: --> object = 'vmodl.query.PropertyCollector:ha-property-collector',YYYY-MM-DDTHH:MM:SS.###Z In(166) Hostd[#######]: --> privilegeId = "System.View",YYYY-MM-DDTHH:MM:SS.###Z In(166) Hostd[#######]: --> msg = "",YYYY-MM-DDTHH:MM:SS.###Z In(166) Hostd[#######]: --> }
YYYY-MM-DDTHH:MM:SS.###Z In(182) vmkernel: cpu115:####### opID=########)World: 12868: VC opID 867d34eb maps to vmkernel opID ########YYYY-MM-DDTHH:MM:SS.###Z In(182) vmkernel: cpu115:####### opID=########)Device: 435: Unable to allocate device ID memory on heap ##############YYYY-MM-DDTHH:MM:SS.###Z In(182) vmkernel: cpu115:####### opID=########)Device: 435: Unable to allocate device ID memory on heap ##############
YYYY-MM-DDTHH:MM:SS.###Z In(182) vmkernel: cpu85:####### opID=########)World: 12868: VC opID e09e1465-3492 maps to vmkernel opID ########YYYY-MM-DDTHH:MM:SS.###Z Wa(180) vmkwarning: cpu85:####### opID=########)WARNING: StorageSched: 1739: StorSchedQAllocByType: could not allocate scheduler queue for world 0YYYY-MM-DDTHH:MM:SS.###Z In(182) vmkernel: cpu85:####### opID=########)StorageSched: 2250: SchedQ creation failed for worldID 0 for t10.NVMe____Dell_BOSS2DN1____________________________#########YYYY-MM-DDTHH:MM:SS.###Z Wa(180) vmkwarning: cpu85:####### opID=########)WARNING: NvmeFds: 1327: Memory allocation failed
YYYY-MM-DDTHH:MM:SS.###Z In(182) vmkernel: cpu115:########)ScsiPathClaimVsi: 1534: Out of memory.YYYY-MM-DDTHH:MM:SS.###Z In(182) vmkernel: cpu76:########)ScsiPathClaimVsi: 1534: Out of memory.YYYY-MM-DDTHH:MM:SS.###Z Wa(180) vmkwarning: cpu7:2103333 opID=e7914a82)WARNING: Partition: 598: Out of memory for "eui.###"YYYY-MM-DDTHH:MM:SS.###Z Wa(180) vmkwarning: cpu7:2103333 opID=e7914a82)WARNING: Partition: 1387: Partition table read from device eui.#### failed: Out of memoryYYYY-MM-DDTHH:MM:SS.###Z Wa(180) vmkwarning: cpu14:2102590)WARNING: NvmeVmas: 178: Out of memory Unmap done-data alloc failedYYYY-MM-DDTHH:MM:SS.###Z In(182) vmkernel: cpu14:2102590)NvmeFds: 1369: Issue of delete blocks failed [sync:0] numDescs 53 Out of memory 0x45c0a2e02ac0
VMware vSphere ESX
VMware vSAN ESA
NVMe disks
This issue occurs due to a memory leak in NVMe SMART statistics VSI node get calls.
Over time, this causes the storageHeap to run out of memory.
The property collector calls on all VSI nodes ultimately fail causing health service to report erratic behavior
/var/log/vsandevicemonitord.log on ESX host show repeated errors while retrieving SMART health status for the vSAN disks:
YYYY-MM-DDTHH:MM:SS.###Z In(14) vsandevicemonitord[#######]: [#############]: Exception Out of memory getting SMART health status for vSAN disk t10.NVMe____Dell_DC_NVMe_##________#########.YYYY-MM-DDTHH:MM:SS.###Z In(14) vsandevicemonitord[#######]: [#############]: Exception Out of memory getting SMART health status for vSAN disk t10.NVMe____Dell_DC_NVMe_##________#########.
YYYY-MM-DDTHH:MM:SS.###Z In(14) vsandevicemonitord[#######]: [#############]: Exception Out of memory retrieving SMART percentage used for vSAN disk t10.NVMe____Dell_DC_##________#########.YYYY-MM-DDTHH:MM:SS.###Z In(14) vsandevicemonitord[#######]: [#############]: Exception Out of memory getting SMART health status for vSAN disk t10.NVMe____Dell_DC_NVMe_##________#########.
vsish -e get /system/heaps/storageHeap-##############/statsHeap stats { Name:storageHeap current heap size:430141864 initial heap size:11534336 current bytes allocated:430141768 percent free of current size:0 percent releasable of current size:0 maximum heap size:430141864 maximum bytes available:96 # of failure messages:125282383 number of succeeded allocations:482400875 number of failed allocations:62610593 number of freed allocations:481530200 average size of an allocation:3221225472
# vsish -e get /storage/scsifw/devices/t10.NVMe____Dell_DC_NVMe_#####_##________###########/nvmesmartstatsVSISHCmdGetInt():Get failed: Out of memoryError: Error in command cat: Out of memory
This issue is fixed in VMware vSphere ESX 9.1.0 (Build 25370933) & VMware vSphere ESXi 8.0U3j (25429389) and higher
For older ESXi versions affected by this issue, rebooting the host temporarily restores normal operation. Later on, upgrade to the version with the fix to prevent the issue from reoccurring.
Place the impacted host into Maintenance Mode using the Ensure Accessibility or No Data Migration option.
Reboot the ESXi host to clear the memory heap exhaustion.
Once the host is back online, verify the /bootbank and vSAN disk status.
Repeat for other hosts in the cluster sequentially. Do not reboot multiple hosts simultaneously to avoid vSAN quorum loss.
See Download Broadcom products, patches and software to download the ESX 9.1.0 (Build 25370933) or ESXi 8.0U3j (25429389) release.