歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Unix知識 >> 關於Unix

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 image
# bosboot -ad /dev/hdisk0
bosboot: Boot image 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
Copyright © Linux教程網 All Rights Reserved