2017-08-28 02:03 AM
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: ( [Invoke-NaHostVolumeSpaceReclaim], Exception
+ FullyQualifiedErrorId : QuickReclaimVolume failed,DataONTAP.PowerShell.SDK.Cmdlets.Windows.InvokeNaHostVolumeSpaceReclaim
2017-10-17 01:58 AM - edited 2017-10-17 02:03 AM
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