Storage Replication Adapter (SRA): Unable to create a temporary file
- Views:
- 148
- Visibility:
- Public
- Votes:
- 2
- Category:
- ontap-storage-replication-adapter
- Specialty:
- VIRT
- Last Updated:
Applies to
- Storage Replication Adapter (SRA) 9.x
- SRM windows server
Issue
During discovery operation when it tries to create a temp file on the SRM Windows machine it fails with the below error:
SRA command 'prepareFailover' failed. Unable to create a temporary file.
Vmware SRM log:
2022-04-13T22:27:42.427+10:00 error vmware-dr[06256] [SRM@6876 sub=SraCommand opID=64a433fb] Temp File creation failed (Giving up after 5 attempts).
2022-04-13T22:27:42.427+10:00 error vmware-dr[06256] [SRM@6876 sub=SraCommand opID=64a433fb] Failed to execute discoverArrays command: Unable to create temp output file under 'C:\WINDOWS\TEMP\vmware-SYSTEM-2768016'
2022-04-13T22:27:42.427+10:00 error vmware-dr[06256] [SRM@6876 sub=Storage opID=64a433fb] Dr::Storage::VmomiLayer::ArrayManagerImpl::ExecuteSraCommand: Unable to execute SRA command discoverArrays, array manager MoRef=[dr.storage.ArrayManager:storage-arraymanager-4620749]
--> (dr.storage.fault.CommandFailed)