zoukankan      html  css  js  c++  java
  • GlusterFS无法启动原因及处理方案

    启动结果:

    Redirecting to /bin/systemctl status  glusterd.service
    glusterd.service - GlusterFS, a clustered file-system server
       Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled)
       Active: failed (Result: exit-code) since Fri 2014-09-26 01:47:54 EDT; 5min ago
      Process: 25116 ExecStart=/usr/sbin/glusterd -p /run/glusterd.pid (code=exited, status=1/FAILURE)

    Sep 26 01:47:54 datasvr1 systemd[1]: glusterd.service: control process exited, code=exited status=1
    Sep 26 01:47:54 datasvr1 systemd[1]: Failed to start GlusterFS, a clustered file-system server.
    Sep 26 01:47:54 datasvr1 systemd[1]: Unit glusterd.service entered failed state.

    原因:

     glusterfs的工作目录问题。

       

    处理方法:

      

      打开glusterfs配置文件(/etc/glusterfs/glusterd.vol)

        volume management
           type mgmt/glusterd

            #working-directory的位置为/var/lib/glusterfsd
            option working-directory /var/lib/glusterfsd

            option transport-type socket,rdma

            option transport.socket.keepalive-time 10
            option transport.socket.keepalive-interval 2
            option transport.socket.read-fail-log off
        end-volume

      

      清空working-directory指定目录下的内容。

  • 相关阅读:
    SP是什么?CP是什么?SP与CP有什么区别?
    SP与CP将走向互补融合
    SP与CP分工
    Asynchronous Socket 顺序
    Asynchronous Client Socket Example
    Synchronous Server Socket Example
    web应用程序根目录
    简单socket服务(一)
    Asynchronous Server Socket Example
    Socket连接不上的问题
  • 原文地址:https://www.cnblogs.com/langren1992/p/5139700.html
Copyright © 2011-2022 走看看