Accessing Gluster FS from the client machine

Accessing Gluster FS from the client machine

for this test case since I run Manjro (arch based) I will install the client on Manjaro, you can install it on your own machine

Search for glusterfs-client

pacman -Ss glusterfs
extra/qemu-block-gluster 6.2.0-2
    QEMU GlusterFS block module
community/glusterfs 1:10.0-3 [installed]
    a cluster file-system capable of scaling to several peta-bytes.

Install glusterfs-client

Mine ia Manjaro, you can you dnf , yum, apt, etc

pacman -Sy glusterfs

In Arch the server and client are part the same package, but on you distro , they are different, e.g.

  • gulsterfs-server

  • glusterfs-client

Add name resolution

Now add name resolutoin to your own /etc/hosts file, for me:

Create the mount point

It is up to you where you want to mount it, I am going to mount it at:

Mount the volume

The name gv0 means glusterfs-volume-0 which I have created already.

Verify the mounted volume

verify the mounted volume

Also we can see mount command

Use the mounted volume

You can now go to /mnt/glusterfs/gv0 and add files, etc and it will be stored there.

Check the data added from the server

Now we can check the server if we have the data we added or not

Last updated

Was this helpful?