ocfs2集群系统节点无法挂载

joeluo 发布于 2011/08/04 18:05
阅读 863
收藏 0

最近在测试ocfs2集群文件系统,主节点可以挂载,但第二个节点无法挂载,配置cluster.conf文件如下:

node:
        name = joe-desktop
        cluster = ocfs2
        number = 0
        ip_address = 192.168.1.246
        ip_port = 7777

node:
        name = joeluo-desktop
        cluster = ocfs2
        number = 1
        ip_address = 192.168.1.247
        ip_port = 7777

cluster:
        name = ocfs2
        node_count = 2

 

mkfs.ocfs2 -b 4k -C 32K -N 4 -L "ocfs" /dev/sdc5

在246上可以挂载成功,在247上执行mount -t ocfs2 -o _netdev -L "ocfs" /data显示如下:

mount: no such partition found

查看状态:/etc/init.d/o2cb status


Driver for "configfs": Loaded
Filesystem "configfs": Mounted
Stack glue driver: Loaded
Stack plugin "o2cb": Loaded
Driver for "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking O2CB cluster ocfs2: Online
Heartbeat dead threshold = 200
  Network idle timeout: 30000
  Network keepalive delay: 2000
  Network reconnect delay: 2000

Checking O2CB heartbeat: Not  Active

请教大哥??

 


 

加载中
返回顶部
顶部