AIX mirror rootvg
id : kij9c062db
category : computer
blog : unix
created : 08/24/10 - 11:18:59

  • First of all extend your rootvg to have two disks :
# extenvg rootvg <new_disk>

  • Mirror your rootvg with mirrorvg command :
# mirrorvg -c 2 rootvg <new_disk>

  • Change bootlist to add new mirrored disk :
    • List current bootlist :
# bootlist -o -m normal

    • Change bootlist :
# bootlist -m normal <hdiskx> <hdisky>

  • hdiskx and hdisky are your rootvg disks, old one and mirrored one.
# bosboot -ad <hdiskx>
# bosboot -ad <hdisky>

  • If you add an new LV don't forget to make a copy of it :
# mklvcopy <lv_name> 2