登录站点

用户名

密码

AIX 磁盘镜像操作日志

热4已有 52 次阅读  2010-11-07 12:25   标签:  AIX  日志  镜像  磁盘 
# extendvg rootvg hdisk1
0516-1398 extendvg: The physical volume hdisk1, appears to belong to
another volume group. Use the force option to add this physical volume
to a volume group.
0516-792 extendvg: Unable to extend volume group.
# lspv
hdisk0          000a1bdd2abeb6f9                    rootvg          active
hdisk1          000a1bddefb03822                    None           
# chdev -l hdisk1 -a pv=clear
hdisk1 changed
# lspv
hdisk0          000a1bdd2abeb6f9                    rootvg          active
hdisk1          none                                None           
 
bash-3.2# chdev -l hdisk1 -a pv=yes
hdisk1 changed
bash-3.2# lspv
hdisk0          000a1bdd2abeb6f9                    rootvg          active
hdisk1          000a1bdd1f2f4f6f                    None           
bash-3.2# lsvg rootvg
VOLUME GROUP:       rootvg                   VG IDENTIFIER:  000a1bdd00004c000000012b9b753f71
VG STATE:           active                   PP SIZE:        64 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      1088 (69632 megabytes)
MAX LVs:            256                      FREE PPs:       765 (48960 megabytes)
LVs:                11                       USED PPs:       323 (20672 megabytes)
OPEN LVs:           9                        QUORUM:         2 (Enabled)
TOTAL PVs:          2                        VG DESCRIPTORS: 3
STALE PVs:          0                        STALE PPs:      0
ACTIVE PVs:         2                        AUTO ON:        yes
MAX PPs per VG:     32512                                    
MAX PPs per PV:     1016                     MAX PVs:        32
LTG size (Dynamic): 256 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      relocatable
# mirrorvg -c 2 rootvg
0516-622 mklvcopy: Warning, cannot write lv control block data.
0516-1126 mirrorvg: rootvg successfully mirrored, user should perform
        bosboot of system to initialize boot records.  Then, user must modify
        bootlist to include:  hdisk1 hdisk0.
bash-3.2# syncvg -v rootvg
bash-3.2# bosboot -ad /dev/hdisk0
bosboot: Boot image is 35273 512 byte blocks.
bash-3.2# bosboot -ad /dev/hdisk1
bosboot: Boot image is 35273 512 byte blocks.
bash-3.2# bootlist -m normal hdisk0 hdisk1
 
 
分享 举报

发表评论 评论 (1 个评论)

涂鸦板