NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

Disable lun space reservation.

ijustwantthemodule
5,004 Views

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.

1 ACCEPTED SOLUTION

asulliva
4,952 Views

Hello @ijustwantthemodule

 

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.

 

Andrew

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

View solution in original post

1 REPLY 1

asulliva
4,953 Views

Hello @ijustwantthemodule

 

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.

 

Andrew

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Public