NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

Error "Invalid Block Range" doing Copy-NaHostFile

ulorenz
4,826 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
4,826 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
4,827 Views

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

jasonpadman
4,826 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
4,827 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