AIX alt disk install: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
Line 8: Line 8:
# <tt>'''# bootlist -m normal <hdisk0>'''</tt>
# <tt>'''# bootlist -m normal <hdisk0>'''</tt>
# Use either alt_disk_install or alt_disk_copy
# Use either alt_disk_install or alt_disk_copy
## <tt>'''# alt_disk_install -C -B -V <removed hdisk#>'''</tt>
#: <tt>'''# alt_disk_install -C -B -V <removed hdisk#>'''</tt>
## <tt>'''# alt_disk_copy -d <removed hdisk#> -B -V'''</tt>
#: <tt>'''# alt_disk_copy -d <removed hdisk#> -B -V'''</tt>
# <tt>'''# syncvg -v rootvg'''</tt>
# <tt>'''# syncvg -v rootvg'''</tt>
# Mirror rootvg:
# Mirror rootvg:

Revision as of 18:53, 27 April 2017

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:
      1. # mirrorvg -S rootvg hdisk1
    2. Manually create logical volumes if mirrorvg fails:
      1. # 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