Microsoft Virtualization Discussions

Error "Invalid Block Range" doing Copy-NaHostFile

ulorenz

Hi,

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

Running Ontap 7.3.3

Udo

1 ACCEPTED SOLUTION

ulorenz

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

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

View solution in original post

jasonpadman

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

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.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public