rootvg里有2个lv是stale导致拆镜像不成功

主机的errpt报hdisk0错误,
errpt|more
0315-021 Cannot open error message catalog /var/adm/ras/codepoint.cat.
The error report will still run, but it will not have explanatory messages.
IDENTIFIER TIMESTAMP  T C RESOURCE_NAME  DESCRIPTION
B6267342   1030013713 P H hdisk0         1312
80D3764C   1029234913 U H LVDD           E853
E86653C3   1029234913 P H LVDD           ECBD
747725D9   1029234913 P H hdisk0         1312

lsvg -l rootvg:
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
hd5                 boot       1       2       2    closed/syncd  N/A
hd6                 paging     1       2       2    open/syncd    N/A
paging00            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       8       16      2    open/stale    /usr
hd9var              jfs2       2       4       2    open/stale    /var
hd3                 jfs2       10      20      2    open/syncd    /tmp
hd1                 jfs2       20      40      2    open/syncd    /home
hd10opt             jfs2       2       4       2    open/syncd    /opt
hd11admin           jfs2       1       2       2    open/syncd    /admin
livedump            jfs2       1       2       2    open/syncd    /var/adm/ras/livedump
lg_dumplv           sysdump    2       2       1    open/syncd    N/A
rootvg_aix53        jfs2       80      160     2    open/syncd    N/A
rootvg_aix61        jfs2       80      160     2    open/syncd    N/A
rootvg_aix71        jfs2       80      160     2    open/syncd    N/A
fslv00              jfs2       20      40      2    open/syncd    /inst

把sysdump设备指向别的设备后,
unmirrorvg rootvg hdisk0
0516-1246 rmlvcopy: If hd5 is the boot logical volume, please run 'chpv -c '
        as root user to clear the boot record and avoid a potential boot
        off an old boot image that may reside on the disk from which this
        logical volume is moved/removed.
0516-622 rmlvcopy: Warning, cannot write lv control block data.
0516-622 rmlvcopy: Warning, cannot write lv control block data.
0516-622 rmlvcopy: Warning, cannot write lv control block data.
0516-076 lreducelv: Cannot remove last good copy of stale partition.
        Resynchronize the partitions with syncvg and try again.
0516-922 rmlvcopy: Unable to remove logical partition copies from
        logical volume hd2.
0516-1135 unmirrorvg: The unmirror of the volume group failed.
        The volume group is still partially or fully mirrored.

lsvg -l rootvg
rootvg:
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
hd5                 boot       1       1       1    closed/syncd  N/A
hd6                 paging     1       1       1    open/syncd    N/A
paging00            paging     2       2       1    open/syncd    N/A
hd8                 jfs2log    1       1       1    open/syncd    N/A
hd4                 jfs2       1       1       1    open/syncd    /
hd2                 jfs2       8       16      2    open/stale    /usr
hd9var              jfs2       2       4       2    open/stale    /var
hd3                 jfs2       10      20      2    open/syncd    /tmp
hd1                 jfs2       20      40      2    open/syncd    /home
hd10opt             jfs2       2       2       1    open/syncd    /opt
hd11admin           jfs2       1       1       1    open/syncd    /admin
livedump            jfs2       1       1       1    open/syncd    /var/adm/ras/livedump
lg_dumplv           sysdump    2       2       1    open/syncd    N/A
rootvg_aix53        jfs2       80      80      1    open/syncd    N/A
rootvg_aix61        jfs2       80      80      1    open/syncd    N/A
rootvg_aix71        jfs2       80      80      1    open/syncd    N/A
fslv00              jfs2       20      20      1    open/syncd    /inst

hd3和hd1通过rmlvcopy可以成功拆镜像,但hd2和hd9var处于stale状态不能拆。
尝试用syncvg -l hd2
0516-934 /etc/syncvg: Unable to synchronize logical volume hd2.

请问现在应该怎样才可以拆镜像然后换硬盘?
谢谢
参与13

9同行回答

yxdongzhiwenyxdongzhiwen系统运维工程师神州数码信息服务股份有限公司
lspv -p hdisk0lspv -p hdisk1 先确认坏在哪边 然后rmlvcopy 从那块盘上删除。再执行unmirrorvg显示全部
lspv -p hdisk0
lspv -p hdisk1
先确认坏在哪边 然后rmlvcopy 从那块盘上删除。
再执行unmirrorvg收起
系统集成 · 2014-02-25
浏览6897
xieyadongxieyadong系统工程师南方电网
rmlvcopy hd2 1 hdisk0 hdisk1 删除一个逻辑卷的COPY后,再次unmirrorvg试试nmirrorvg rootvg显示全部
rmlvcopy hd2 1 hdisk0 hdisk1
删除一个逻辑卷的COPY后,再次unmirrorvg试试
nmirrorvg rootvg收起
系统集成 · 2013-10-31
浏览6980
zhenzongjianzhenzongjian软件开发工程师na
确定一下坏的lv在哪几个盘上了显示全部
确定一下坏的lv在哪几个盘上了收起
互联网服务 · 2013-10-31
浏览6892
老鬼老鬼存储架构师IT
一起学习学习吧。显示全部
一起学习学习吧。收起
系统集成 · 2013-11-04
浏览7042
玉树林风玉树林风系统工程师中国民生银行
可能是你PV没激活吧,检查PV状态显示全部
可能是你PV没激活吧,检查PV状态收起
银行 · 2013-11-01
浏览7117
午夜幽魂午夜幽魂系统运维工程师计算机有限公司
直接删除LV的COPY就可以了,记得删完要bosboot显示全部
直接删除LV的COPY就可以了,记得删完要bosboot收起
系统集成 · 2013-10-31
浏览7010
zp_ccczp_ccc高级技术主管国内某金融科技公司
你另一块盘上有boot信息吗显示全部
你另一块盘上有boot信息吗收起
互联网服务 · 2013-10-31
浏览6930
axiaowuuaaxiaowuua系统运维工程师Gigaset
楼上写的真是专业啊,竟然全英文,可惜看不懂。。。显示全部
楼上写的真是专业啊,竟然全英文,可惜看不懂。。。收起
互联网服务 · 2013-10-31
浏览7001
CJ_aneCJ_ane系统运维工程师IBM
If hd5 is the boot logical volume, please run 'chpv -c '         as root user to clear the boot record and avoid a potential boot         off an old boot image that may reside on the disk from...显示全部
If hd5 is the boot logical volume, please run 'chpv -c '
        as root user to clear the boot record and avoid a potential boot
        off an old boot image that may reside on the disk from which this
        logical volume is moved/removed.
收起
IT其它 · 2013-10-31
浏览6882

提问者

gzmtt_ask
软件开发工程师广州穆蒂
擅长领域: 服务器存储灾备

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2013-10-31
  • 关注会员:1 人
  • 问题浏览:32943
  • 最近回答:2014-02-25
  • X社区推广