SCV Backup of a Datastore fails with an error "No such file or directory"
Applies to
- SnapCenter Plug-in for VMware (SCV) 4.6 and above
- vCenter 7.0 and above
Issue
SCV Backup of a Datastore fails with the following error messages
- job-<job_id>.log
Running Command Get-NcFile controller name : <VCenter Server name>, vserver : Failed to run a command Get-NcFile
ex.Message : No such file or directory
ex.InnerException.Message : No such file or directory
[INF] End GetFileInfo
[ERR] Unable to determine file info for the path: <Path>.
[ERR] Error in GetVolumesOptimized:GatherNfsExportVolumeDetails or the path: <Path>.
[INF] End GatherNfsExportVolumeDetails
[WRN] BuildNfsSharesToStorageSystemPathsMap: caught exception for vserver '<SVM Name>', Exception:Error in GetVolumesOptimized:GatherNfsExportVolumeDetails
Unable to determine file info for the path: <Path>.
[INF] End BuildNfsExportToStorageSystemPathsMap
[INF] End Convert
[INF] End GetStorageFootprint
[DBG] SDGetStorageResponse : SDGetStorageResponse :
Result : SDGetStorageResult : HostResource : /<DataStoreName>
[INF] End SDGetStorage
- wfe_<job_id>.log
Calling GetNasStorageInfo with NFS LIF finished
Storage footprint not found. Unable to get storage details for datastore <Datastore Name> with managed object reference <DataStore ID>. Storage system(s) may need to be added, also ensure that the associated host is in a connected state.
-----------------------------
Encountered error while processing discover resources. Error: Unable to get storage details for datastore <Datastore Name> with managed object reference <Datastore ID>. Storage system(s) may need to be added, also ensure that the associated host is in a connected state.-----------------------------
Unable to get storage details for datastore <Datastore Name> with managed object reference <Datastore ID>. Storage system(s) may need to be added, also ensure that the associated host is in a connected state.
-----------------------------
<SmDiscoverResourcesResponse>
<Result>
<_message>Unable to get storage details for datastore <Datastore Name> with managed object reference <Datastore ID>. 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>
-----------------------------