#Using cplv to move a logical volume from one volume group to another #For this example, we will move logical volume /dev/infprdlv (filesystem /infoprod) to volume group newvg #If needed, use smit to create the new volume group using the new disk #If this is a new volume group, create jfslog #get log list: lsvg -o | lsvg -l -i | grep log mklv -t jfslog -y loglv02 -a'c' newvg 1 hdiskpower0 /usr/sbin/logform /dev/loglv02 # don't move logs (make new one - above) # don't move paging (make new paging) LOOP FOR EACH LV umount /infoprod # XX comes from PP field in "lsvg -l oldvg" mklv -t copy -y'tinfprdlv' newvg XX hdiskpowerX cplv -e tinfprdlv -f infprdlv chlv -n oinfprdlv infprdlv chlv -n infprdlv tinfprdlv chfs -a dev=/dev/infprdlv /infoprod chfs -a log=/dev/loglv02 /infoprod mount /infoprod lsvg -l newvg |grep infoprod