LVM Disk Replacement: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
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

  1. Install and configure the new physical volume.
  2. Add the new physical volume to the volume group.
    1. # extendvg <volume group> <hdisk# of new physical volume>
  3. Migrate the logical volumes to the new physical volume.
    1. # migratepv <hdisk# of old physical volume> <hdisk# of new physical volume>
  4. Remove the old physical volume from the volume group.
    1. # reducevg <volume group> <hdisk# of old physical volume>
  5. Remove the old physical volume from the system.

Further Reading

  1. IBM pSeries and AIX Information Center