LVM Disk Replacement: Difference between revisions
Jump to navigation
Jump to search
m (moved LVM Working Disk Replacement to LVM Disk Replacement) |
No edit summary |
||
Line 1: | Line 1: | ||
== Replacing a working Physical Volume == | == Replacing a working non-rootvg Physical Volume == | ||
# [[LVM Install a New Physical Volume|Install and configure the new physical volume.]] | # [[LVM Install a New Physical Volume|Install and configure the new physical volume.]] | ||
# Add the new physical volume to the volume group. | # Add the new physical volume to the volume group. |
Revision as of 14:45, 4 January 2012
Replacing a working non-rootvg Physical Volume
- Install and configure the new physical volume.
- Add the new physical volume to the volume group.
- # extendvg <volume group> <hdisk# of new physical volume>
- Migrate the logical volumes to the new physical volume.
- # migratepv <hdisk# of old physical volume> <hdisk# of new physical volume>
- Remove the old physical volume from the volume group.
- # reducevg <volume group> <hdisk# of old physical volume>
- Remove the old physical volume from the system.