Microsoft Virtualization Discussions
I tried using set-nclunattribute for IsSpaceReservationEnabled to false it it doesn't seem to work. Is this the right cmdlet to do this? In the web console you would go to SVM,storage,luns, click edit on any lun and choose the checkbox for disable space reservation.
See The Solution
LUN attributes are different than you might expect, they allow the setting of arbitrary metadata about the LUN. You want the "Set-NcLunSpaceReserved" cmdlet:
# set the LUN to thin provisioned
Get-NcLun $lunName | Set-NcLunSpaceReserved -Off
# set the LUN to thick provisioned
Get-NcLun $lunName | Set-NcLunSpaceReserved
Hope that helps.
View solution in original post