跳转到主内容

SCW 无法使用 SMAPI 获取资源对象

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

适用场景

适用于 Windows 的 SnapCenter 插件( SCW )

问题描述

  • 在适用于 Windows 的插件主机上执行刷新磁盘时未发现磁盘
  • 资源发现作业的scw_scale.log <JOB> 报告以下错误

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

  • 或者、您可能会看到以下顺序和错误:

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

  • 第三、除了上述错误之外、WMI可能无法正确响应、进而导致以下输出:

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.
Scan to view the article on your device