aix系统 mirror rootvg | |
| |
aix系统 mirror rootvg # lspv hdisk0 none None hdisk1 00c0be90bec51bf9 rootvg active # chdev -l hdisk0 -a pv=yes hdisk0 changed # extendvg rootvg hdisk0 # mirrorvg -S rootvg -S参数指定后台同步vg 0516-1124 mirrorvg: Quorum requirement turned off, reboot system for this to take effect for rootvg. 0516-1126 mirrorvg: rootvg successfully mirrored, user should perform bosboot of system to initialize boot records. Then, user must modify bootlist to include: hdisk0 hdisk1. # lsvg -l rootvg rootvg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT hd5 boot 1 2 2 closed/syncd N/A hd6 paging 2 4 2 open/syncd N/A hd8 jfs2log 1 2 2 open/syncd N/A hd4 jfs2 1 2 2 open/syncd / hd2 jfs2 6 12 2 open/syncd /usr hd9var jfs2 1 2 2 open/syncd /var hd3 jfs2 1 2 2 open/syncd /tmp hd1 jfs2 1 2 2 open/syncd /home hd10opt jfs2 1 2 2 open/syncd /opt 往hdisk0上写boot p_w_picpath # bosboot -ad /dev/hdisk0 bosboot: Boot p_w_picpath is 30437 512 byte blocks. 查看bootlist # bootlist -m normal -o hdisk1 blv=hd5 修改bootlist # bootlist -m normal hdisk1 hdisk0 # bootlist -m normal -o hdisk1 blv=hd5 hdisk0 blv=hd5 |
转载于:https://blog.51cto.com/hcwl001/499632