某局点因为机房断电导致两台CVK主机重启,重启后有一台CVK主机一个存储卷无法正常激活。报错提示“操作执行失败internal error:Ocfs2 configuration error,failed to ping other host.please check the network or make sure storage is only managed by this CVM”
现场环境一共两台CVK主机,其中一台CVK主机重启失败,另一台CVK主机激活storage2存储卷时提示报错“internal error:Ocfs2 configuration error,failed to ping other host.please check the network or make sure storage is only managed by this CVM”,其他存储卷可以正常激活。
存储的问题首先检查ocfs2_shell日志文件,从日志中看到当前的设备已经被其他主机管理。
2016-04-05 21:50:53 ocfs2_disks_mounted.py/42L: WARNING:There are 1 node(s) from slotmap command.
2016-04-05 21:50:58 ocfs2_disks_mounted.py/89L: WARNING:node 2 is active on device /dev/disk/by-id/dm-name-360002ac000000000000000030000a12d.
2016-04-05 21:50:58 ocfs2_disks_mounted.py/130L: ERROR:device /dev/disk/by-id/dm-name-360002ac000000000000000030000a12d is mounted on other hosts.
2016-04-05 21:50:58 [XZDL-CVK01](ocfs2_disk_format_check): ERROR:Disk /dev/disk/by-id/dm-name-360002ac000000000000000030000a12d had been mounted by other hosts, not need to format it.
2016-04-05 21:51:06 ocfs2_mount_check.py/266L: ERROR:localhost can not connect to 10.0.0.21
2016-04-05 21:51:25 [XZDL-CVK01](ocfs2_disk_not_cvk_vg_check): DEBUG:cvk_vgs: , error code: 0
2016-04-05 21:51:25 [XZDL-CVK01](disk_lvs_monitor): DEBUG:360002ac000000000000000030000a12d lvs 0.
2016-04-05 21:51:25 [XZDL-CVK01](ocfs2_disk_multi_part_check): DEBUG:360002ac000000000000000030000a12d multipath dm info: dm-2.
2016-04-05 21:51:25 [XZDL-CVK01](ocfs2_disk_multi_part_check): DEBUG:naa of disk /dev/disk/by-path/pci-0000:04:00.2-fc-0x20110002ac00a12d-lun-1 is 360002ac000000000000000030000a12d.
2016-04-05 21:51:25 [XZDL-CVK01](ocfs2_disk_multi_part_check): INFO:disk /dev/disk/by-path/pci-0000:04:00.2-fc-0x20110002ac00a12d-lun-1 with 360002ac000000000000000030000a12d has 0 disk part(s).
2016-04-05 21:51:25 [XZDL-CVK01](ocfs2_disk_multi_part_check): DEBUG:naa of disk /dev/disk/by-path/pci-0000:04:00.2-fc-0x20120002ac00a12d-lun-1 is 360002ac000000000000000030000a12d.
2016-04-05 21:51:25 [XZDL-CVK01](ocfs2_disk_multi_part_check): INFO:disk /dev/disk/by-path/pci-0000:04:00.2-fc-0x20120002ac00a12d-lun-1 with 360002ac000000000000000030000a12d has 0 disk part(s).
很显然这两台CVK主机发生了脑裂现象,解决方案就是将另一台CVK主机关机。
将另一台CVK主机关闭电源后,此存储卷能够正常激活。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作