AIX alt disk install

From UNIX Systems Administration
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Create an alt_disk_install copy of rootvg (3x mirror)

  1. # syncvg -v rootvg
  2. # unmirrorvg rootvg <hdisk #>
  3. # reducevg rootvg <hdisk #>
  4. # chpv -c <hdisk #>
  5. # chvg -Qn rootvg
  6. # bosboot -ad <hdisk0>
  7. # bootlist -m normal <hdisk0>
  8. Use either alt_disk_install or alt_disk_copy
    # alt_disk_install -C -B -V <removed hdisk#>
    # alt_disk_copy -d <removed hdisk#> -B -V
  9. # syncvg -v rootvg
  10. Mirror rootvg:
    1. Using mirrorvg to automatically create copies:
      # mirrorvg -S rootvg hdisk1
    2. Manually create logical volumes if mirrorvg fails:
      # mklvcopy <lv name> 2 hdisk1
  11. # syncvg -v rootvg
  12. # bosboot -ad hdisk0
  13. # bosboot -ad hdisk1
  14. # bootlist -m normal hdisk0 hdisk1
  15. Verify the bootlist contains hdisk0 and hdisk1
    # bootlist -m normal -o

Remove the altinst_rootvg (3x Mirror)

  1. Use either the alt_rootvg_op or alt_disk_install to remove the alternate rootvg.
    1. # alt_rootvg_op -X altinst_rootvg
    2. # alt_disk_install -X altinst_rootvg
  2. # extendvg -f rootvg <hdisk#>
  3. # mirrorvg -c3 rootvg <hdisk#>
  4. # bosboot -ad hdisk0
  5. # bosboot -ad hdisk1
  6. # bosboot -ad hdisk#
  7. # bootlist -m normal hdisk0 hdisk1 hdisk#
  8. Verify the bootlist contains hdisk0 and hdisk1
    1. # bootlist -m normal -o

Boot to altinst_rootvg

  1. # bootlist -m normal <hdisk containing altinst_rootvg
  2. # shutdown -r now

Further Reading

  1. IBM pSeries and AIX Information Center