Copying a raw logical volume to another physical volume

To copy a raw logical volume to another physical volume, perform the following steps.

  1. Create a mirrored copy of the logical volume on a new physical volume in the volume group using the following command:
    mklvcopy LogVol_name 2 new_PhysVol_name
    
  2. Synchronize the partitions in the new mirror copy using the following command:
    syncvg -l LogVol_name
    
  3. Remove the copy of the logical volume from the physical volume using the following command:
    rmlvcopy LogVol_name 1 old_PhysVol_name
    

At this point, the raw logical volume copy is usable.