LVM Relocate Volume Group to New Server: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Relocate Volume Group to New Server == === AIX === === Linux === # Old Server ## Dismount all active logical volumes from their mount points. ## Deactivate the volume group...") |
No edit summary |
||
Line 17: | Line 17: | ||
### <tt>'''# vgchange -an <volume group>'''</tt> | ### <tt>'''# vgchange -an <volume group>'''</tt> | ||
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/VG_move.html | == 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] | |||
[[Category:AIX]] | |||
[[Category:Linux]] |
Revision as of 18:18, 27 February 2015
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.