AIX alt disk install: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
# Verify the bootlist contains hdisk0 and hdisk1
# Verify the bootlist contains hdisk0 and hdisk1
# <tt>'''# bootlist -m normal -o'''</tt>
# <tt>'''# bootlist -m normal -o'''</tt>
== Remove the altinst_rootvg (3x Mirror) ==
# <tt>'''# alt_disk_install -X altinst_rootvg'''</tt>
# <tt>'''# extendvg -f rootvg <hdisk#>'''</tt>
# <tt>'''# mirrorvg -c3 rootvg <hdisk#>'''</tt>
# <tt>'''# bosboot -ad hdisk0'''</tt>
# <tt>'''# bosboot -ad hdisk1'''</tt>
# <tt>'''# bosboot -ad hdisk#'''</tt>
# <tt>'''# bootlist -m normal hdisk0 hdisk1 hdisk#'''</tt>
# Verify the bootlist contains hdisk0 and hdisk1
## <tt>'''# bootlist -m normal -o'''</tt>
== Boot to altinst_rootvg ==
# <tt>'''# bootlist -m normal <hdisk containing altinst_rootvg'''</tt>
# <tt>'''# shutdown -r now'''</tt>
== Further Reading ==
== Further Reading ==
# [http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.doc/doc/base/aixinformation.htm IBM pSeries and AIX Information Center]
# [http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.doc/doc/base/aixinformation.htm IBM pSeries and AIX Information Center]

Revision as of 14:58, 29 December 2011

Create and 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. # alt_disk_install -C -B -V <removed hdisk#>
  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
  16. # bootlist -m normal -o

Remove the altinst_rootvg (3x Mirror)

  1. # 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