Subscribe
Accepted Solution

Copy-NcHostFile Error

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: (Smiley Happy [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

Re: Copy-NcHostFile Error

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