How to move a volume(full of data) from one diskgroup to onother diskgroup -------------------------------------------------------------------------- Let's say you want to move one or more volumes from one diskgroup to another. Please backup all data before doing this in case you make a mistake along the way. This is a VERY TRICKY way to do this, but if done correctly, it WILL work. WARNING: Since you can really only move disk drives from diskgroup to diskgroup, you must make sure prior to doing this procedure that the disk only contains data for the volume(s) you want to move. In other words, if a physical disk contains data for two different volumes (one you want to move and one which you wish to remain), you will have to first move the data which is to remain in this diskgroup off this disk. First, you'll need to save the configuration of the volume(s) you want to move as it appears in the current diskgroup. For example, to save the volume configuration for the volumes named "vol02" and "vol13" in the diskgroup named "rootdg", run: vxprint -g rootdg -hmvps vol02 vol13 > /var/tmp/filename Now remove the volume(s) recursively that you want to move to the new diskgroup. Select the volume(s) and use the menu entry "BasicOps->VolumeOperations->RemoveVolumesRecursively" to do this. Run the command vxdisk list and save the output. Then, remove the now empty disks from the current diskgroup (select the disk(s) and use the "AdvancedOps->DiskGroup->RemoveDisks" menu entry). Then create a new diskgroup with these disks. Here's the tricky part: YOU NEED TO MAKE SURE THAT THE NAMES OF THE DISKS ARE THE SAME AS THEY WERE IN THE OLD DISKGROUP. For example, if 'c1t3d4s2' used to be 'disk03', you need to make sure that that 'c1t3d4s2' is still called 'disk03' in the new diskgroup. This is where you can use the output of the 'vxdisk list' command. To recreate the volume(s) in the new diskgroup (in this example, named "newdg"), run the command vxmake -g newdg -d /var/tmp/filename After the new volumes are made in the new diskgroup, you'll need to start all the volumes using 'vxvol start' or by using the VxVA GUI. If it all works, great! If not, recreate the volumes manually and then restore all the data from backup tape.