LVM Relocate Volume Group to New Server: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:


== Further Reading ==
== Further Reading ==
# [https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/VG_move.html|Moving a Volume Group to Another System]
# [https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/VG_move.html Moving a Volume Group to Another System]


[[Category:AIX]]
[[Category:AIX]]
[[Category:Linux]]
[[Category:Linux]]

Revision as of 18:19, 27 February 2015

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>
  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 -an <volume group>

Further Reading

  1. Moving a Volume Group to Another System