+ -
当前位置:首页 → 问答吧 → HA在C-spoc中建lv报错,请各位老大看一下

HA在C-spoc中建lv报错,请各位老大看一下

时间:2011-06-14

来源:互联网

现在有两台机器AHYZ1 AHYZ2做双机,在AHYZ2上通过C-spoc中建lv正常,但是在AHYZ1上建lv就报下面的错误 AHZY1: renjiubao cl_mklv: Error executing clupdatevg zy2xpvg 00c3f0a53e9abf63 on node AHZY2 ,看了C-spoc的日志里面内容如下:
06/14/11 12:00:39 [========== C_SPOC COMMAND LINE ==========]
06/14/11 12:00:39 /usr/es/sbin/cluster/sbin/cl_mklv -cspoc -g ahyz_map -RAHZY1 -yrenjiubao -tjfs2 zy2xpvg 1 hdisk52
06/14/11 12:00:40 AHZY1: success: clresactive  -v zy2xpvg
06/14/11 12:00:40 AHZY2: success: clresactive  -v zy2xpvg
06/14/11 12:00:40 AHZY1: success: eval  LANG=C lspv
06/14/11 12:00:41 AHZY1: success: eval  odmget -q 'attribute = lvserial_id and name = renjiubao' CuAt
06/14/11 12:00:41 AHZY2: success: eval  odmget -q 'attribute = lvserial_id and name = renjiubao' CuAt
06/14/11 12:00:43 AHZY1: success: mklv  -y renjiubao -t jfs2 zy2xpvg 1 hdisk52
06/14/11 12:00:44 AHZY1: success: varyonvg  -n -b -u zy2xpvg
06/14/11 12:00:46 cl_mklv: cl_mklv: Error executing clupdatevg zy2xpvg 00c3f0a53e9abf63 on node AHZY2
06/14/11 12:00:46 AHZY2: FAILED: eval  clupdatevg zy2xpvg 00c3f0a53e9abf63
06/14/11 12:00:46 AHZY2: 00c3f0a53e9abf630000000000000000
06/14/11 12:00:46 AHZY2: importvg -L zy2xpvg hdisk46 failed!
06/14/11 12:00:46 AHZY2: 0516-1138 importvg: The -L option cannot be executed on the non-active
06/14/11 12:00:46 AHZY2:        volume group zy2xpvg because the Volume Group Descriptor Area indicates it
06/14/11 12:00:46 AHZY2:        contains the logical volume name loglv01, which already exists for another
06/14/11 12:00:46 AHZY2:        volume group.  The -L option does not allow logical volumes to be
06/14/11 12:00:46 AHZY2:        automatically renamed by importvg.  Rename loglv01 on local system and
06/14/11 12:00:46 AHZY2:        retry the importvg -L.
06/14/11 12:00:46 AHZY2: 0516-1138 importvg: The -L option cannot be executed on the non-active
06/14/11 12:00:46 AHZY2:        volume group zy2xpvg because the Volume Group Descriptor Area indicates it
06/14/11 12:00:46 AHZY2:        contains the logical volume name loglv01, which already exists for another
06/14/11 12:00:46 AHZY2:        volume group.  The -L option does not allow logical volumes to be
06/14/11 12:00:46 AHZY2:        automatically renamed by importvg.  Rename loglv01 on local system and
06/14/11 12:00:46 AHZY2:        retry the importvg -L.
06/14/11 12:00:46 AHZY2: RETURN_CODE=1
06/14/11 12:00:46 AHZY2: cl_rsh had exit code = 1, see cspoc.log and/or clcomd.log for more information
06/14/11 12:00:47 AHZY1: success: varyonvg  -n zy2xpvg
感觉是 zy2xpvg在importvg到AHYZ2上有重名的loglv,但是有点不明白,在AHYZ1上建的时候两边也都有同名的loglv,怎么就不报错呢?谢谢各位了

作者: renjiubao   发布时间: 2011-06-14

查看下两边你的LV的名字,报错信息写的很明白,LOGLV01 已经存在了。

作者: xuqf   发布时间: 2011-06-14