Linux/GlusterFS: Difference between revisions
< Linux
mNo edit summary |
mNo edit summary |
||
Line 22: | Line 22: | ||
gluster volume start docker-data | gluster volume start docker-data | ||
gluster volume status | |||
</pre> | |||
== Connect client to volume == | |||
<pre> | |||
</pre> | |||
== Infos == | |||
<pre> | |||
gluster peer status | |||
gluster volume info | |||
gluster volume profile {volume_name} start | |||
gluster volume profile {volume_name} start | |||
gluster volume status | gluster volume status |
Revision as of 17:46, 17 December 2021
Server Setup
apt install glusterfs-client glusterfs-server systemctl enable glusterd systemctl start glusterd gluster peer probe node1 gluster peer probe node2 ... gluster peer status
Create Volume
gluster volume create docker-config replica 2 vm-docker0:/mnt/gluster_docker-config vm-docker1:/mnt/gluster_docker-config force gluster volume create docker-data replica 2 vm-docker0:/mnt/gluster_docker-data vm-docker1:/mnt/gluster_docker-data force gluster volume start docker-config gluster volume start docker-data gluster volume status
Connect client to volume
Infos
gluster peer status gluster volume info gluster volume profile {volume_name} start gluster volume profile {volume_name} start gluster volume status