Tag Archives: Storage

Glusterfs 排错

出现诸如rpc服务不可用导致glusterfs不可使用 报错的情况 Dec  9 10:36:32 node3 systemd: Cannot add dependency job for unit loopback_gluster.service, ignoring: Unit not found. Dec  9 10:36:32 node3 systemd: rpcbind.socket failed to listen on sockets: Address family not supported by protocol Dec  9 10:36:32 node3 systemd: Failed to listen … Continue reading

Posted in Glusterfs, Servuce | Tagged , , | Leave a comment

GlusterFS与Kubernetes的适配

安装epel源 pssh -l auto -h /opt/node.list -i ‘sudo yum install -y epel-release*’ 安装heketi

Posted in Glusterfs, Kubernetes | Tagged , , , | Leave a comment

glusterfs 的缩容、扩容和替换(转载)

Source: https://www.cnblogs.com/bfmq/p/9990467.html 1. 扩容操作 1 [root@g1 ~]# gluster peer probe g3                # 将新节点添加到集群里,如果是原本集群内的机器操作则省略 2 peer probe: success. Host g3 port 24007 already in peer list        # 这台机器添加过了 3 [root@g1 ~]# gluster volume info test                             # 此时该卷块设备为4个 4 5 Volume Name: test … Continue reading

Posted in Glusterfs, Servuce | Tagged , | Leave a comment

GlusterFS Server的各个模式的详细介绍

GlusterFS 几种volume 模式说明:一、 默认模式,既DHT, 也叫 分布卷: 将文件已hash算法随机分布到 一台服务器节点中存储。 gluster volume create test-volume server1:/exp1 server2:/exp2

Posted in Glusterfs, Servuce | Tagged , | Leave a comment

GlusterFS 搭建+优化

1. 在每一个节点上进行安装并启动服务 # 先安装 gluster 源 $ yum install centos-release-gluster -y # 安装 glusterfs 组件 $ yum install -y glusterfs glusterfs-server glusterfs-fuse glusterfs-rdma glusterfs-geo-replication glusterfs-devel ## 创建 glusterfs 目录 $ mkdir /opt/glusterd ## 修改 glusterd 目录 $ sed -i ‘s/var\/lib/opt/g’ … Continue reading

Posted in Glusterfs, Servuce | Tagged , | Leave a comment