How to migrate the logical volumes from one Volume Group to another.
Issue
-
How can we migrate the logical volume
lv1from one Volume Groupvg1to another Volume groupvg2in below mentioned scenario?# lvs -a -o +devices vg1 LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices lv1 vg1 -wi-ao---- 500.00m /dev/sda(0) # lvs -a -o +devices vg2 LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices lv2 vg2 -wi-ao---- 500.00m /dev/sdb(0)
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.