ITPub博客

首页 > Linux操作系统 > Linux操作系统 > aix系统 mirror rootvg

aix系统 mirror rootvg

原创 Linux操作系统 作者:lhl1212 时间:2009-11-04 15:34:34 0 删除 编辑
 
 

# 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

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/611609/viewspace-618109/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: oracle行转列
请登录后发表评论 登录
全部评论

注册时间:2008-12-08

  • 博文量
    252
  • 访问量
    550917