ONTAP Discussions

resizing volume via powershell module command started to fail after ontap upgrades

plexOntap
239 Views

Hi, after an ontap upgrade we are now getting a cryptic message to me and I can no longer use the code to resize volumes. The help file for this command is not super detailing and it doesn't matter if I try to grow 1mb or one tb  and it happens on any volume for any svm across 3 filers.

 

here is the command that now fails and the error it throws 

 

Set-NcVolSize -Name $vol2.Name -Size +1tb -VserverContext:$vol2.Vserver
Set-NcVolSize : One or more of the fields "-max-autosize","-size" are being set/modified. Set the values such that "-max-autosize" and "-size" should always be less than or equal to 600.
At line:1 char:1
+ Set-NcVolSize -Name $vol2.Name -Size +1tb -VserverContext:$vol2.Vserv ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: ({nccluster]:NcController) [Set-NcVolSize], EAPIERROR
+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Volume.SetNcVolSize

 

the 600 stays constant across any volume  or any filer 

 

any one know how to debug this further or know the answer to why this used to work and stopped after the code upgrades?

Name Version
---- -------
Set-NcVolSize 9.15.1.2410

Name Address Vserver Version
---- ------- ------- -------
netapp01-clust... 172.xx.xx.152 NetApp Release 9.14.1P8: Fri Sep 13 07:12:27 UTC 2024

 

thanks

 

0 REPLIES 0
Public