Loading

×Sorry to interrupt
This page has an error. You might just need to refresh it.
[NoErrorObjectAvailable] Uncaught ReferenceError: addCTracking is not defined
Failing descriptor: {markup://c:KM_ArticleThemeLayout}

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

vSAN Disk group disks showing 'disks in use' as 0 (70634)

Last Updated: 7/23/2023Categories: TroubleshootingTotal Views: 6154Language:
Chinese (Simplified)JapaneseEnglish

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

Unable to place a vSAN ESXi host into maintenance mode

Disk group in vSAN shows ‘disks in use’ as 0 in  => vCenter > Cluster > Configure > vSAN> Disk management

The Health plugin => vCenter > Cluster > Monitor > vSAN > Health  will show different issues every time the health test is run, with a few examples below:

Network - Hosts with connectivity issues

Network - Network latency check

Host configured with different Environment variables

You will see the following error traces in the logs  :

# less vsanmgmt.log |grep -i MEMORY
2019-05-21T03:48:53Z VSANMGMTSVC: ERROR vsanperfsvc[Thread-2] [VsanHealthDaemon::doVsanHealthCheck] Get exception in invoking QueryCheckLimits : [Errno 12] Cannot allocate memory
2019-05-21T03:53:53Z VSANMGMTSVC: ERROR vsanperfsvc[Thread-2] [VsanHealthDaemon::doVsanHealthCheck] Get exception in invoking QueryCheckLimits : [Errno 12] Cannot allocate memory
2019-05-21T03:58:53Z VSANMGMTSVC: ERROR vsanperfsvc[Thread-2] [VsanHealthDaemon::doVsanHealthCheck] Get exception in invoking QueryCheckLimits : [Errno 12] Cannot allocate memory
2019-05-21T04:03:53Z VSANMGMTSVC: ERROR vsanperfsvc[Thread-2] [VsanHealthDaemon::doVsanHealthCheck] Get exception in invoking QueryCheckLimits : [Errno 12] Cannot allocate memory
2019-05-21T04:08:53Z VSANMGMTSVC: ERROR vsanperfsvc[Thread-2] [VsanHealthDaemon::doVsanHealthCheck] Get exception in invoking QueryCheckLimits : [Errno 12] Cannot allocate memory
2019-05-21T04:09:11Z VSANMGMTSVC: INFO vsanperfsvc[MainThread] [statsdaemon::_logDaemonMemoryStats] Daemon memory stats: eMin=97.280MB, eMinPeak=103.396MB, rMinPeak=103.396MB

#grep -r "memory stats" var/run/log/vsanmgmt* | grep PRESSURE
No result

Restarting the vSAN mgmt service (vsanmgmt) will fix the issue for a few minutes (10 to 180 minutes) and then issue reappears on the vSAN Health Test page.

On all the hosts in the cluster run:

/etc/init.d/vsanmgmtd restart

You may also verify if the issue is resolved by starting the below services if the "vsanmgmtd"  restart does not resolve the issue:
/etc/init.d/vsanvpd restart
/etc/init.d/vpxa restart
/etc/init.d/hostd restart

From vCenter Appliance SSH:

service-control --stop --all
service-control --start –all

Purpose

To identify the issue displayed by the vSAN health test result indicating a to memory leak.

Cause

It’s an issue with Controller Driver "lsi_msgpt3" version (15.00.00.00-1OEM) that is handling the ioctl command from sas3flash due to a known issue.

#/opt/lsi/bin/sas3flash -list
command Hung up

#ps -cPTgjstz | grep sas3flash
101712 101712 sas3flash 101712 18713105 18713105 18713106 U WAIT LOCK 0-23 0.5025 /opt/lsi/bin/sas3flash -list
18714213 18714213 sas3flash 18714213 18713105 18713105 18713106 U WAIT LOCK 0-23 0.5225

#/opt/lsi/bin/sas3flash -list
.
.
Many sas3flash processes waiting.

#ps | grep sas3flash | wc -l
29

A large number of processes running in a WAIT state are causing the vsanmgmt service to crash and the health plugin will display vague results.

The SAS3FLASH plugin initiates the "list "command at regular intervals to the driver, upon not receiving the response the "query" initiated stays in memory. Multiple "queries" remain in memory, finally causing the vsanmgmt service to crash, as can be seen by the ps command mentioned above. The following command can be executed to ensure it is displaying the output without getting hung:

#/opt/lsi/bin/sas3flash -list
Avago Technologies SAS3 Flash Utility
Version 12.00.00.00 (2015.11.19)
Copyright 2008-2015 Avago Technologies. All rights reserved.

Adapter Selected is a Avago SAS: SAS3008(C0)

Controller Number              : 0
Controller                     : SAS3008(C0)
PCI Address                    : 00:03:00:00
SAS Address                    : 5001636-0-026d-fe28
NVDATA Version (Default)       : 09.00.1a.12
NVDATA Version (Persistent)    : 09.00.1a.12
Firmware Product ID            : 0x2721 (IR)
Firmware Version               : 09.00.00.00
NVDATA Vendor                  : Quanta
NVDATA Product ID              : SAS3008
BIOS Version                   : 08.21.00.00
UEFI BSD Version               : 10.00.00.00
FCODE Version                  : N/A
Board Name                     : Quanta Mezz
Board Assembly                 : 35S2BMA0000
Board Tracer Number            : N/A

Finished Processing Commands Successfully.
Exiting SAS3Flash.

Impact / Risks

No impact on production, but disrupts a few management tasks like placing a host into maintenance mode, failing vSAN health test etc.

Resolution

The issue is fixed in the main branch after the lsi_msgpt3 version 16.00.01.00-7.

The async driver version starting from 17.00.00.00 also contains the fix.

Please make sure the matching firmware version is in place when upgrading the Controller driver.

The fix is expected to be included into vSphere6.5U3 branch.

Reference vSAN HCL : https://www.vmware.com/resources/compatibility/detail.php?deviceCategory=vsanio&productid=39639

Workaround

Restarting services on the hosts will fix the issue for few minutes only.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
从 VIC 设备注册表中提取映像时出现“意外 EOF”错误 (77281)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSAN

Related Versions:

VMware vSAN 6.x

Take Our Survey

Support Assistant