Microsoft Virtualization Discussions

Copy-NcHostFile with Ontap 9.8 error "SCSI command failed: Illegal request, ASC = 2"

jjanssen1986
views-count 504 Views

Hello,

 

i would like to test Powershell Toolkit for copy Hyper-V vhdx files. I recive following error:

 

Copy-NcHostFile : SCSI command failed: Illegal request, ASC = 21, ASCQ = 0
At line:1 char:1
+ Copy-NcHostFile -SourceFile 'C:\ClusterStorage\svmhanhtphv11_lun101\VMs\MGMT01\M ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Copy-NaHostFile], Exception
+ FullyQualifiedErrorId : System.Exception,DataONTAP.PowerShell.SDK.Cmdlets.Toolkit.Windows.CopyNaHostFile

 

Ontap 9.8

OS: Windows Server2012R2

 

Thx

Jan

4 REPLIES 4

Re: Copy-NcHostFile with Ontap 9.8 error "SCSI command failed: Illegal request, ASC = 2"

bingen
views-count 505 Views

Hi, Jan. Can you check the space-allocation option on the LUN in ONTAP? It should be set to enabled.

Re: Copy-NcHostFile with Ontap 9.8 error "SCSI command failed: Illegal request, ASC = 2"

jjanssen1986
views-count 505 Views

We use a AFF220 there should space allocation disabled normaly for best deduplication.

Re: Copy-NcHostFile with Ontap 9.8 error "SCSI command failed: Illegal request, ASC = 2"

bingen
views-count 505 Views

Yes, for sure you definitely want to keep everything thin to maximize your storage efficiency and immediately realize the space savings. However, the options can be very confusing sometimes.

 

The space-allocation LUN option doesn't affect deduplication, it has to do with accepting SCSI T-10 thin provisioning commands such as UNMAP and similar.

 

 

Re: Copy-NcHostFile with Ontap 9.8 error "SCSI command failed: Illegal request, ASC = 2"

jjanssen1986
views-count 505 Views

Hello,

 

thx for answer. Which Lun need to be space-allocation enable. Source or Destination ?

How can i verify this ?

 

Best Regards

JJ

G2 Review Banner
All Community Forums
Public