当存在重复的 NFS IP 地址跨越多个 SVM 时, NDB 无法通过“无法获取存储详细信息”错误进行备份
适用于
- NetApp 数据代理( NDB ) 1.0.1
- 多个存储虚拟机( SVM )之间存在重复的 NFS IP 地址
问题
- NDB 因以下错误无法备份。
Task 'Discovering Resources' failed with error: Unable to discover resources on SCV: Unable to get storage details for datastore <DATASTORE> with managed object reference <DATASTORE>. Storage system(s) may need to be added, also ensure that the associated host is in a connected state.
- 中
Unable to get storage details
显示的消息“”vmcontrol_<JOB_ID>.log
将作为结果SmDiscoverResourcesResponse
显示。
DEBUG <HOST> --- [32374789-550211] c.n.a.m.DatastoreStorageDetailsCache : Storage footprint not found
ERROR <HOST> --- [32374789-550211] c.n.a.d.VsphereDiscoveryManager : Unable to get storage details for datastore <DATASTORE> with managed object reference <DATASTORE>. Storage system(s) may need to be added, also ensure that the associated host is in a connected state.
ERROR <HOST> --- [32374789-550211] c.n.a.s.p.DiscoverResourcesManager : [JobId:<JOBID>] com.netapp.nvpf.api.model.ApiException: Unable to get storage details for datastore <DATASTORE> with managed object reference <DATASTORE>. Storage system(s) may need to be added, also ensure that the associated host is in a connected state.
DEBUG <HOST> --- [32374789-550211] c.n.a.s.p.DiscoverResourcesManager : <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SmDiscoverResourcesResponse>
<Result>
<_message>Unable to get storage details for datastore <DATASTORE> with managed object reference <DATASTORE>. Storage system(s) may need to be added, also ensure that the associated host is in a connected state.</_message>
<_errorCode>-1</_errorCode>
</Result>
<TotalCount>0</TotalCount>
<DisplayCount>0</DisplayCount>
</SmDiscoverResourcesResponse>
Job-<JOB_ID>.log
表示 NDB 在 SVM 中发现错误的 SVM 信息GatherStorageSystemInfoForNfsExports
并对其执行,然后返回 "" 错误。Get-NcFile
No such file or directory
" error is returned.
[INF] Begin GatherStorageSystemInfoForNfsExports
..
[DBG] # of objectGraph:1, StorageSystem: Name : [<SVM>]
..
[INF] End GatherStorageSystemInfoForNfsExports
..
[INF] Begin RunCommand
[DBG] Running Command Get-NcFile controller name : <SVM>, vserver :
[ERR] Failed to run a command Get-NcFile
[DBG] ex.InnerException.Message : No such file or directory
[DBG] PS error string :no such file or directory, Sleeping for: 10000ms
[WRN] retrying the command
..
[DBG] No retry condition match found or max retry reached. Throwing error No such file or directory
[INF] End RunCommand
[INF] Begin CleanUpIfStale
[ERR] No such file or directory
No such file or directory
[INF] End GetFileInfo
[ERR] Unable to determine file info for the path: <PATH>.
[ERR] Error in GetVolumesOptimized:GatherNfsExportVolumeDetails
Unable to determine file info for the path: <PATH>.
[INF] End GatherNfsExportVolumeDetails
[WRN] BuildNfsSharesToStorageSystemPathsMap: caught exception for vserver '<SVM>', Exception:Error in GetVolumesOptimized:GatherNfsExportVolumeDetails
Unable to determine file info for the path: <PATH>.