Subscribe

Invoke-NcHostVolumeSpaceReclaim does not work on Cluster Shared Volume with DOT 9.1

We are running a Windows Server 2012 R2 Hyper-V Cluster. Since we migrated the storage from 7-mode to cmode 9.1 we are not able to reclaim lun space via the Powershell Toolkit.

Tested the latest releases 4.3 and 4.4 of the Data Ontap Powershell Toolkit. Here is the output:

 

PS C:\Windows\system32> Invoke-NcHostVolumeSpaceReclaim C:\ClusterStorage\Volume2

 

Reclaim volume free space

Are you sure you want to reclaim free space on volume C:\ClusterStorage\Volume2\?

[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): y

Invoke-NcHostVolumeSpaceReclaim : SCSI command failed: Illegal request, ASC = 21, ASCQ = 0

At line:1 char:1

+ Invoke-NcHostVolumeSpaceReclaim C:\ClusterStorage\Volume2

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (Smiley Happy [Invoke-NaHostVolumeSpaceReclaim], Exception

    + FullyQualifiedErrorId : QuickReclaimVolume failed,DataONTAP.PowerShell.SDK.Cmdlets.Windows.InvokeNaHostVolumeSpaceReclaim

 

Any ideas?

Re: Invoke-NcHostVolumeSpaceReclaim does not work on Cluster Shared Volume with DOT 9.1

I have the same issue, were you able to resolve this?

Re: Invoke-NcHostVolumeSpaceReclaim does not work on Cluster Shared Volume with DOT 9.1

[ Edited ]

I was able to get this command going by enabling maintenance mode on the CSV volume... only one "small" issue with that... data will not be accesible during that process AND... I still no see any change on the disk usage from Netapp GUI