How to migrate the logical volumes from one Volume Group to another.

Solution Verified - Updated -

Issue

  • How can we migrate the logical volume lv1 from one Volume Group vg1 to another Volume group vg2 in 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content