PowerVM Migrating a Logical Volume Backed Virtual Disk to Different Volume Group


How can I migrate a existing logical volume backed virtual disk to another volume group on my vioserver?


Note: Logical volume must be closed and not in use

As Padmin User Only


Step 1. Unvirtualize the existing logical volume backed disk thats presented through your current vhosts

rmvdev -vtd vtd_name


Step 2. Copy the current logical volume to the destination volume group a system generated name will be given.

cplv -vg desti_vg_name source_lv_name


Step 3. Revirtualize the new logical volume back out through vhost#

mkvdev -vdev lv_name -vadapter vhost# -dev vtd_name


See command man pages for optional flags

About Author