Microsoft Virtualization Discussions

Error "Invalid Block Range" doing Copy-NaHostFile

ulorenz
3,402 Views

Hi,

i am getting "invalid block range" error doing a Copy-NaHostFile, see Picture.

Running Ontap 7.3.3

Udo

1 ACCEPTED SOLUTION

ulorenz
3,402 Views

This is a bug in Ontap 7.3.4 and older, you need 7.3.5 or newer

View solution in original post

3 REPLIES 3

ulorenz
3,403 Views

This is a bug in Ontap 7.3.4 and older, you need 7.3.5 or newer

jasonpadman
3,402 Views

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

jasonpadman
3,403 Views

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.

Public