Microsoft Virtualization Discussions
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
+ 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?
See The Solution
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