Microsoft Virtualization Discussions
Microsoft Virtualization Discussions
Hi,
i am getting "invalid block range" error doing a Copy-NaHostFile, see Picture.
Running Ontap 7.3.3
Udo
Solved! See The Solution
This is a bug in Ontap 7.3.4 and older, you need 7.3.5 or newer
This is a bug in Ontap 7.3.4 and older, you need 7.3.5 or newer
Hello Good People,
I have the same problem running 7.3.6 and below is the error message i am getting:
Copy-NaHostFile : Clone operation failed to start: Invalid block range.
+ CategoryInfo : InvalidOperation: (:) [Copy-NaHostFile], EDENSE_CLONE_INVALID_RANGE
+ FullyQualifiedErrorId : ApiException,DataONTAP.PowerShell.SDK.Cmdlets.Toolkit.Windows.CopyNaHostFile
We have been able to run this command without problem many time before but for some reason it has stopped working.
Any assistance would be greatly appreciated.
Kind regards,
Jason
Hi All,
I've solved my own problem. The issue was that there was a disconnected session on the server and a PowerShell must have been open in that session with DataONTAP loaded. I found the problem when i went to delete the module from C:\Windows\System32\WindowsPowerShell\v1.0\Modules\DataONTAP and got an error saying a DataONTAP PowerShell dll file was open.
I disconnected the session, copied the module back to C:\Windows\System32\WindowsPowerShell\v1.0\Modules\DataONTAP and all is working again.