In addition to the "set -units GB", we also do "rows 0" to get rid of the netapp line wrapping, and then "set -showseparator ~", so there is a known field separater - makes using awk to manipulate the data a lot easier. You can also use "-fields" on your commands so you only get the fields you are interested in:
ssh -C -i $KEY user@$CONTROLLER "rows 0;set -showseparator ~;set -units GB;vol show -fields size"
-Jeff ********************************************************** Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues