LVM Relocate Volume Group to New Server
Jump to navigation
Jump to search
Relocate Volume Group to New Server
AIX
Linux
- Old Server
- Dismount all active logical volumes from their mount points.
- Deactivate the volume group.
- # vgchange -an <volume group>
- Export the volume group.
- # vgexport <volume group>
- New Server
- Scan for new physical volumes.
- # pvscan
- Import the volume group from the old server.
- # vgimport <volume group>
- Activate the volume group.
- # vgchange -an <volume group>
- Scan for new physical volumes.