Topics: AIX, System Admin
Copying a logical volume
For copying a logical volume, the cplv command can be used. Using the -v flag, you can enter the name of the volume group you wish to copy to.
Once the logical volume has been copied, the trick is to get the file system in it back online:
Copy the stanza of the file system in the logical volume you copied to a new stanza in /etc/filesystems. Modify this new stanza; enter the correct jfs log, mount point and logical volume name. After this, do a fsck of your new mount point. Make sure your new mount point exists. After the fsck, you can mount the file system.
If you found this useful, here's more on the same topic(s) in our blog:
- JFS2 snapshots
- Using an alternative MAC address
- Command line update of HMC
- Generating a PDF file from a text file on AIX
- Control-M
Interested in learning more?