Warning: Except fo r the afs_createuser2.pl version, these may have bugs: use carefully. Freeestpart=`df /vi*|grep /vice|sort -n -r -k 4|head -1|sed -e 's,.*/,,'` while read vn a b c vs vp d;do vos mov $vn $vs $vp fell `df /vi*|grep /vice|sort -n -r -k 4|head -1|sed -e 's,.*/,,'`;vos backup $vn;done <Usvf This moves volumes from a volform output format to the freeest vicepx on a server. while read vn a b c vs vp d;do vos mov $vn $vs $vp lachesis `vos part lachesis|sed -e 's,.*/\(.*\):,\1 ,'|sort -r -n -k 2|sed -e 's, .*,,'|head -1`;vos backup $vn;done <uservolform This moves to the freeest vicepx on another server. For non-user volumes: while read vn j1 j2 j3 sr pa j4;do $PATH/afs_createuser2.pl |while read nsr npa j5; do vos mov $vn $sr $pa $nsr $npa;done;done <n1 For user volumes: while read vn j1 j2 j3 sr pa j4;do $PATH/afs_createuser2.pl |while read nsr npa j5; do vos mov $vn $sr $pa $nsr $npa;vos backup $vn;done;done <u1 Checking: ps -ef|grep vos|grep pts/1|sed -e 's,.* vos ,vos ,'|while read a b c d;do grep -n $c u1;done