Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Microsoft Virtualization Discussions

Copy-NcHostFile Error

MOHANRANJITH

I am trying to copy (clone) a VHD file on the same LUN which is a CSV. But I get the following error

Copy-NcHostFile : Exception of type 'System.OutOfMemoryException' was thrown.

at line:1 char:1

Copy-NcHostFile C:\ClusterStorage\Volume1\test.vhd

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   + CategoryInfo          : NotSpecified: (:) [Copy-NaHostFile], OutOfMemoryException

   + FullyQualifiedErrorId : System.OutOfMemoryException,DataONTAP.PowerShell.SDK.Cmdlets.Toolkit.Windows.CopyNaHostFile

I have installed the latest version of Powershell toolkit. I have tested this on Windows 2012 and Windows 2008 R2. Both gives me the same error? Did anyone notice this error?

Regards,

Mohan

1 ACCEPTED SOLUTION

MOHANRANJITH

This has been solved by NetApp PS Team. The magic parameter is -skipunmap at the end of the command line. Example Copy-NcHostFile <src> <dest> -skipunmap

View solution in original post

1 REPLY 1

MOHANRANJITH

This has been solved by NetApp PS Team. The magic parameter is -skipunmap at the end of the command line. Example Copy-NcHostFile <src> <dest> -skipunmap

View solution in original post

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