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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.