LVM Relocate Volume Group to New Server: Difference between revisions
Jump to navigation
Jump to search
(→Linux) |
|||
Line 15: | Line 15: | ||
### <tt>'''# vgimport <volume group>'''</tt> | ### <tt>'''# vgimport <volume group>'''</tt> | ||
## Activate the volume group. | ## Activate the volume group. | ||
### <tt>'''# vgchange - | ### <tt>'''# vgchange -ay <volume group>'''</tt> | ||
== Further Reading == | == Further Reading == |
Revision as of 19:39, 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 -ay <volume group>
- Scan for new physical volumes.