So; I'm creating a workflow to create a CIFS share on an existing volume. The first step is to find the user specified volume and increase the size of it by the desired size of the CIFS share (plus a little room for snapshots). I cannot, however, get the workflow to correctly set the TargetSize parameter for the ResizeVolume command.
I've tried using a finder to find the volume and then defined a new volume using the paramters of the found volume and adding the user requested size to size_mb. This does nothing.
3) Set the new size in one of 2 ways in "resized_vol.size_mb":
Absolute => orig_vol.size_mb + $ShareSize
Relative => "+" + $ShareSize
IT CONCATINATES the new volume size with old volume size ....like if old volume is 1024MB and new volume input is 1024MB then its giving 10241024 as volume size. Instead it should add them 1024+1024=2048 MB. Kindly help guys how to add size . ASAP
Ok yaron, Still i am not able to fix it. I will start from beginning what i am doing
step 1: i made a new workflow then i chose "resize volume command" .
step 2: I was asked to fill attributes "Define volume" i chose from dropdown " by searching for an existing volume" later i used a finder "Find volume by name in a given array" fed attribute like volume name with $volume_name and other attribute Array IP or name with $controller_name . later i am using query search for $volume_name and $controller_name.
now from here on i dont know which command i should take or what next should be done. So that i can resize my volume. I need to add space to existing volume. I have your above post but i am unable to do as said .Kindly help