Linux/GlusterFS: Difference between revisions
< Linux
m (→Create Volume) |
mNo edit summary |
||
Line 19: | Line 19: | ||
gluster volume start storage-config | gluster volume start storage-config | ||
gluster volume status | |||
</pre> | </pre> |
Revision as of 17:30, 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 storage-config replica 2 vm-docker0:/mnt/gluster_storage-config vm-docker1:/mnt/gluster_storage-config force gluster volume start storage-config gluster volume status