How to Replace(rootvg & non-rootvg) disk in AIX:

0
9364
rootvg
rootvg

Procedure 1: Disk Replacement when the Volume Group is Mirrored

  1. Remove all copies from disk:
  2. Remove disk from volume group:
  3. Remove disk from ODM:
  4. Connect new disk to system (use Hot Plug Disk Replacement Procedure)  (May have to shut down if not hot-pluggable)
  5. Add new disk to volume group:
  6. Create new copies:

Procedure 2a: Disk Still Working in non-rootvg

  1. Connect new disk to system
  2. Add new disk to volume group:
  3. Migrate old disk to new disk: (*)
  4. Remove old disk from volume group:
  5. Remove old disk from ODM:

Procedure 2b: Disk Still Working in ROOTVG

  1.  Connect new disk to system
  2. Add new disk to volume group
  3. Disk contains hd5 ?
  4. Migrate old disk to new disk:
  5. Remove old disk from volume group
  6. Remove old disk from ODM

Procedure 3: Disk in Missing or Removed State

  1. Identify all LVs and file systems on failing disk:
  2. Unmount all file systems on failing disk:
  3. Remove all file systems and LVs from failing disk
  4. Remove disk from volume group:
  5. Remove disk from system:
  6. Add new disk to volume group:
  7. Re-create all LVs and file systems on new disk:
  8. Restore file systems from backup:

Procedure 4: Total rootvg Failure

  1. Replace bad disk (Use Hot Plug Disk Replacement Procedure)
  2. Boot in maintenance mode
  3. Restore from a mksysb tape
  4. Import each volume group into the new ODM (importvg) if needed

Procedure 5: Total non-rootvg Failure

  1. Export the volume group from the system:
  2. Check /etc/filesystems
  3. Remove bad disk from ODM and the system:
  4. Connect new disk
  5. If volume group backup is available (savevg):
  6. If no volume group backup is available, Recreate Volume groups(mkvg), Logical volumes and File systems(mklv, crfs)
  7. Restore data from a backup:

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.