Skip to main content
NetApp Knowledge Base

SCW failed to get resource object graphs using SMAPI

Views:
541
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

Applies to

SnapCenter Plug-In for Windows (SCW)

Issue

  • Disks are not discovered when performing a Refresh Disks on a Plug-In for Windows host
  • The SCW_<JOB>.log for the resource discovery job reports the below error

Information SDW PID=[5152] TID=[22320] GetHostFileSystem: Return '0' lun fileSystems
Error SDW PID=[5152] TID=[22320] Failed to get resource object graphs using SMAPI. Error code: 0. Details: Failed to enumerate the disks. 
Verbose SDW PID=[5152] TID=[22320] --SmapiToStorageResolver::GetResourceObjectGraphs
Verbose SDW PID=[5152] TID=[22320] ++VirtualDiskDiscoveryManager::ResolveVirtualDiskStorageLayout
Error SDW PID=[5152] TID=[22320] Error: The resource graph is null/empty

  • Alternatively, you may see the following sequence and error:

Verbose SDW PID=[3652] TID=[2096] query: select * from MSFT_Volume Where FileSystem = 'NTFS'
Verbose SDW PID=[3652] TID=[2096] scope: \\SRV00123\root\Microsoft\Windows\Storage
Verbose SDW PID=[3652] TID=[2096] ++ConfigManager::GetConfigSettingIs_Wmi_Timeout_Set
Verbose SDW PID=[3652] TID=[2096] INFO: Config setting for whether to do have WMI query time out is not found. Using the default value of False
Verbose SDW PID=[3652] TID=[2096] INFO: WMI query time out = False
Verbose SDW PID=[3652] TID=[2096] --ConfigManager::GetConfigSettingIs_Wmi_Timeout_Set
Information SDW PID=[3652] TID=[2096] Completed GetWindowsVolumes using select * from MSFT_Volume Where FileSystem = 'NTFS'
Error SDW PID=[3652] TID=[2096] Error: Failed to get Windows volumes

  • Thirdly, WMI may not be responding properly causing the following outputs in addition to the error above:

Verbose SDW PID=[3652] TID=[2096] GetWindowsVolumes: Added 0 volumes
Verbose SDW PID=[3652] TID=[2096] --HostDiscoveryManager::GetWindowsVolumes
Verbose SDW PID=[3652] TID=[2096] GetHostFileSystem: Task threads completed
Verbose SDW PID=[3652] TID=[2096] GetHostFileSystem: Found 0 disks
Verbose SDW PID=[3652] TID=[2096] GetHostFileSystem: Found 0 partitions
Verbose SDW PID=[3652] TID=[2096] GetHostFileSystem: Found 0 hostVolumes
Verbose SDW PID=[3652] TID=[2096] ++HostDiscoveryHelper::GetHostFileSystemList
Verbose SDW PID=[3652] TID=[2096] INFO: SupportInstallableFileSystem flag not found.
Verbose SDW PID=[3652] TID=[2096] Return SupportInstallableFileSystem as true
Verbose SDW PID=[3652] TID=[2096] Support IFS
Verbose SDW PID=[3652] TID=[2096] --HostDiscoveryHelper::GetHostFileSystemList
Verbose SDW PID=[3652] TID=[2096] GetHostFileSystemList: Return 0 fileSystems
Verbose SDW PID=[3652] TID=[2096] GetHostFileSystem: Found 0 fileSystems
Verbose SDW PID=[3652] TID=[2096] --HostDiscoveryManager::GetHostFileSystem
Information SDW PID=[3652] TID=[2096] GetHostFileSystem: Total fileSystems: '0'
Information SDW PID=[3652] TID=[2096] GetHostFileSystem: Return '0' lun fileSystems

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.