LVM Relocate Volume Group to New Server: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
Line 10: Line 10:
## Remove all information associated with the physical volumes.
## Remove all information associated with the physical volumes.
### [[LVM_Remove_a_Physical_Volume#Removal_of_a_Physical_Volume_from_LVM|Removal of a Physical Volume from LVM]]
### [[LVM_Remove_a_Physical_Volume#Removal_of_a_Physical_Volume_from_LVM|Removal of a Physical Volume from LVM]]
### [[LVM_Remove_a_Physical_Volume#Removal_of_the_Physical_Volume_from_the_System|Removal of the Physical Volume from the System]]


# New Server  
# New Server  

Revision as of 14:57, 12 December 2017

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.
      1. # vgchange -an <volume group>
    3. Export the volume group.
      1. # 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.
      1. # pvscan
    2. Import the volume group from the old server.
      1. # vgimport <volume group>
    3. Activate the volume group.
      1. # vgchange -ay <volume group>

Further Reading

  1. Moving a Volume Group to Another System