Hi,
I tried to reclaim space on a NetApp LUN and get:
PS C:\Users\administrator.NLTESTLAB> Invoke-NaHostVolumeSpaceReclaim -path W:
Reclaim volume free space
Are you sure you want to reclaim free space on volume W:\?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
Invoke-NaHostVolumeSpaceReclaim : Target volume is not a LUN hosted by Data ONTAP.
At line:1 char:32
+ Invoke-NaHostVolumeSpaceReclaim <<<< -path W:\
+ CategoryInfo : InvalidOperation: (:) [Invoke-NaHostVolumeSpaceReclaim], ArgumentException
+ FullyQualifiedErrorId : QuickReclaimVolume failed,DataONTAP.PowerShell.SDK.Cmdlets.Windows.InvokeNaHostVolumeSpaceReclaim
I verified the drive letter is indeed a NetApp LUN:
PS C:\Users\administrator.NLTESTLAB> Get-NaHostDisk -DataOntap
HostDrivePath Disk Size ControllerPath
------------- ---- ---- --------------
V:\ 1 100.0 GB caffeine:/vol/sdt_win_real2/v_drive
E:\ 2 10.0 GB caffeine:/vol/windows_lun_vol/windows_lun
F:\ 3 11.0 GB caffeine:/vol/win2k8_lun_vol/win2k8_lun
W:\ 4 50.0 GB sdt-fas270-top:/vol/sdt_win_real2/w_drive
I tried a reclaim on another LUN (on the caffeine controller above which runs 8.0) and it worked fine. The failure occurs on a FAS270 controller running 7.3.6P5.
Any tips to troubleshoot?
Thanks,
Chris