Moving disks between disk groups

To move an unused disk between disk groups, remove the disk from one disk group and add it to the other. For example, to move the physical disk sdc (attached with the disk name salesdg04) from disk group salesdg and add it to disk group mktdg, use the following commands:

# vxdg -g salesdg rmdisk salesdg04 
# vxdg -g mktdg adddisk mktdg02=sdc

Warning:

This procedure does not save the configurations nor data on the disks.

You can also move a disk by using the vxdiskadm command. Select Remove a disk from the main menu, and then select Add or initialize a disk.

To move disks and preserve the data on these disks, along with VxVM objects, such as volumes:

More Information

Moving objects between disk groups