I'm trying to increase a FlexVol using the Resize Volume command in WFA. I just want to increase the size of the volume by an amount that will be input by the user. What do I enter for the AutoSizeIncrementSize parameter? I tried using $Size. The command completes successfully, but the volume doesn't get increased.
I just realized I think I should be using the 'TargetSize' parameter. I am able to put a final size of the volume successfully, but I want to increase the volume size by a user input amount. I tried using volume1.size_mb + $Size, but I get error:
I am still getting the illegal expression error. See attached screenshots. I believe my volume selection should be working fine because if I have user input only as final target size, I'm able to resize the volume successfully. But, seems to be failing on illegal expression with ((int)volume2.size_mb ) . Thanks for the assistance, I can do a webex if you like.
The solution above resolved the issues. The reason I continued to get the error initially is because I wasn't following the first item in the instruction, using 'search or define' to define the volume being resized. Once I fixed that by adding the command shown here, everything worked perfectly.