- 20TB partitions are formatted using XFS and mounted with default options into /mnt/raid
- /mnt/raid/gluster/meta - folder with cluster metadata
- /mnt/raid/gluster/storage - storage
- /etc/glusterfs/glusterd.vol on the storage nodes
volume management
type mgmt/glusterd
option working-directory /mnt/raid/gluster/meta
option transport-type socket,rdma
option transport.rdma.bind-address 192.168.11.3
option transport.rdma.listen-port 24008
option transport.socket.keepalive-time 10
option transport.socket.keepalive-interval 2
option transport.socket.read-fail-log off
end-volume
- /etc/glusterfs/glusterd.vol on the other nodes
volume management
type mgmt/glusterd
option working-directory /var/lib/glusterd
option transport-type socket,rdma
option transport.rdma.bind-address 192.168.11.2
option transport.rdma.listen-port 24008
option transport.socket.keepalive-time 10
option transport.socket.keepalive-interval 2
option transport.socket.read-fail-log off
end-volume
- All nodes of cluster should be registered from the master node with
gluster peer probe 192.168.11.#
- Currently replicating storage is used, created with:
gluster volume create storage replica 2 transport rdma 192.168.11.1:/mnt/raid/gluster/storage 192.168.11.3:/mnt/raid/gluster/storage
gluster volume start storage
- Mounted with following line in fstab
192.168.11.1:storage /pdv glusterfs defaults 0 0