The simplest method is to use the cplv command
to copy the original logical volume and create a new logical volume on the
destination physical volume.
- Stop using the logical volume. Unmount the file system, if applicable,
and stop any application that accesses the logical volume.
- Select a physical volume that has the capacity to contain all of
the data in the original logical volume.
Attention: If you copy from a larger logical volume containing
data to a smaller one, you can corrupt your file system because some data
(including the superblock) might be lost.
- Copy the original logical volume (in this example, it is named lv00)
and create the new one, using the following command:
Note: The following cplv command fails if it creates a
new logical volume and the volume group is varied on in concurrent mode.
cplv lv00
- Mount the file systems, if applicable, and restart applications
to begin using the logical volume.
At this point, the logical volume copy is usable.