LVM Relocate Volume Group to New Server

From UNIX Systems Administration
Jump to: navigation, search

Relocate Volume Group to New Server

AIX

Linux

  1. Old Server
    1. Dismount all active logical volumes from their mount points.
    2. Deactivate the volume group.
      # vgchange -an <volume group>
    3. Export the volume group.
      # vgexport <volume group>
    4. Remove all information associated with the physical volumes.
      1. Removal of a Physical Volume from LVM.
      2. Removal of the Physical Volume from the System.
  1. New Server
    1. Scan for new physical volumes.
      # pvscan
    2. Import the volume group from the old server.
      # vgimport <volume group>
    3. Activate the volume group.
      # vgchange -ay <volume group>

Further Reading

  1. Moving a Volume Group to Another System