Community maintenance is complete. Thank you for your patience!

Active IQ Unified Manager Discussions

Resize Volume command in WFA completes successfully, but Volume size is not increased

A_Campbell

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. 

1 ACCEPTED SOLUTION

Hi Campbell,

Thanks for the details.

 

For creating customized workflow for Resize volume please follow the below steps:

 

1. Search and define should be done for volume dictionary.

2. For TargetSize Instance, MVEL expression as mentioned here: ((int)volume2.size_mb ) + $TargetSize (Attached is the screenshot for reference)

3. Resize volume command, TargetSize should be provided in MB(if one GB need to increased please provide as 1024)

 

For more details please let us know, we will have WebEx disucussion.

 

Best Regards,

Shiva

https://netapp-meeting.webex.com/join/ssivakum

 

 

 

View solution in original post

6 REPLIES 6

A_Campbell

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:

Illegal expression: volume1.size_mb + $Size
Location: 'Resize volume' command > 'Other Parameters' tab > 'TargetSize' property

 

Anyone know the syntax here?

Hi Campbell,

Thanks for the details.

 

For creating customized workflow for Resize volume please follow the below steps:

 

1. Search and define should be done for volume dictionary.

2. For TargetSize Instance, MVEL expression as mentioned here: ((int)volume2.size_mb ) + $TargetSize (Attached is the screenshot for reference)

3. Resize volume command, TargetSize should be provided in MB(if one GB need to increased please provide as 1024)

 

For more details please let us know, we will have WebEx disucussion.

 

Best Regards,

Shiva

https://netapp-meeting.webex.com/join/ssivakum

 

 

 

View solution in original post

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.

resize_vol_error1.jpgresize_vol_error2.jpgresize_vol_error3.jpg

Thanks for the details.

 

In workflow, Please change Parameter type from string to Number for TargetSize parameter.

 

If still problem exists, we will have webex on tomorrow(March 06) 7 P.M. IST.

Please confirm your availability for the Webex.

https://netapp-meeting.webex.com/join/ssivakum

 

Thanks,

Shiva

I changed the TargetSize parameter from string to Number and still getting illegal expression. Yes, I will be there for the WebEx on March 06 7 P.M. IST

 

Thank you

A_Campbell

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.

 

resize_vol_error4.jpg

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public