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.

ONTAP Discussions

PowerShell question about volume efficiency

HUX20002000
1,265 Views

I'm trying to change the volume efficiency policy for a volume. When I do this, it appears to work (as in, it returns some volume info and no errors):

 

C:\scripts > Set-NcSis -VserverContext cifs -Name vol_test -Policy auto-20%-changelog-threshold

Name     State  TotalSize Used    Available Dedupe Aggregate  Vserver
----     -----  --------- ----    --------- ------ ---------  -------
vol_test online 50.0 GB           47.5 GB          aggr1      cifs

 

C:\scripts >

 

However, when I check it on the NetApp CLI, nothing has changed:

 

clus1::> sis show -fields policy -volume vol_test
vserver volume   policy
------- -----    --------
cifs    vol_test -

 

I see the same behavior if I do it this way:

 

C:\scripts > Get-NcVol vol_test | Set-NcSis -Policy auto-20%-changelog-threshold

 

Am I doing something wrong, or does 'Set-NcSis' just not work properly in the NetApp.ONTAP PowerShell module? (I'm using the latest version: 9.15.1.2407.)

0 REPLIES 0
Public