As mentioned before, I started contributing to glusterfs after I joined Redhat.

Now, this story is more of an evolving almanac with entries being added for every step taken by me while exploring or coming across something in glusterfs. Being a FOSS enthusiast, one not only has to use and contribute to the open code but also enlighten others of the path to be taken.

Basic tools and scripts

  1. Rsync.

Glusterfs basics

  1. Setting up the environment for glusterfs.


Photo by Mohammad Amin Masoudi on Unsplash

Git never ceases to amaze me. The amount of thought process which had gone into it and how it works is amazing. Now a full disclosure is that I won’t be explaining or even exploring as to how git works under the hood.

This story would rather address how to cherry pick but not on how cherry pick works internally.

The very first question is what might be the reason that we required cherry pick at the very first place ?

Suppose you’re working on an open source message queue system for distributed computing ( or just assume whatever you’re…


Encryption and security have been important right from the days of Caesar ( well even before that ) as empires, kingdoms, individuals, enterprises and all have sought to protect their data albeit for their own reasons.

But if one isn’t careful, a single duplicate certificate can wreck havoc into your own secure system.

Now this story won’t be telling you how to create certificates or how to even enable the TLS/SSL options in case of Glusterfs.

The strange error

Suppose it’s a beautiful Friday evening and you’ve already done with most of your tasks for the day. The web applications are deployed in…


Glusterfs binaries and files, if one had to explore will fall under the root user. In nix everything is a file. Thereby it is only the owner of a file and people in the allowed group who can execute a binary. Does that mean non root user cannot run Glusterfs?

If one were to work in a system wherein the default user is say ant which is not a part of the sudoers file. …


The other day while working with glusterfs, I found something strange. The I/O was happening properly and all the brick processes were also up in the nodes, but on trying to obtain the status of the volume, I found that certain bricks are in stopped state! Strange isn’t it?

We’ll explore as to what exactly caused this and why not to mess with the ye old sock files.

So, I started digging deep ( well a fancy term for going through the logs. If it weren’t for the logs debugging would have been an herculean task for any issue in…


This post is about one of the features in glusterfs known as events. As the name suggests this is related to whatever event takes place in glusterfs, that might be something like a volume creation, volume deletion, geo-rep events, peer events, so on and so forth.

The question is how is it captured? Well that is what this post is about…

How it works

Now, if you are someone who has explored or is keen on looking under the hood then you’d have noticed something called as gf_event in the glusterfs code. …


This is a very short post.

Now, when working with glusterfs, one requires userspace-rcu package. But in certain operating systems like centos-7 and even RHEL 7, when trying to install the userspace-rcu and userspace-rcu-devel, one could see that they are greeted by the package not found error.

After searching for the root cause, it seems like a certain repository is not enabled. So, the one workaround I found was to install the epel-release rpm using the command,

rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Once that’s done, installation of userspace-rcu and userspace-rcu-devel won’t give any issue…


This story is about a simple distribute volume in glusterfs. How to create it and how is it different from a replicate volume. This is in continuation with the previous story on Replicate Volume in glusterfs.

Distribute Volume in glusterfs

Now, using a replicate volume would guarantee a primary level of data reliability. But that cannot be the only concern for the user right ?

Right…. If I am using a filesystem, I would be expecting reliability but at the same time, I wouldn’t just create N copies of data in all the N disks. I would also expect some distribution. So it is…


This is in continuation to the story on the setting up of the environment for working with glusterfs.

Now, that we have begun, it is time to start with some basic features of the glusterfs and how to use them. In this story our primary focus would be on creating a replicate volume in glusterfs.

A 3-node cluster as replicate volume

For this purpose, we’d be using a 3 Node cluster. So one should be having three VMs ready ( or even servers if you have them ) with the glusterfs installed in them. ( be it source or package install )

What is Replicate Volume?

Imagine that you are…


I have been exploring the Geo-replication feature of glusterfs and have stumble upon a tool called rsync. What is rsync and what does it do ?

Photo by Drew Coffman on Unsplash

Imagine your personal library. With books stacked in the shelves neatly. You regularly dust them, refer them in times of research or even for fun and also expand the library whenever you add a new book. This is a happy scenario.

All your books in one place. Well doesn’t sound so bad. But what if the house caught fire or even the library got destroyed due to some reason ( Get imaginative ). …

schaffung

Recursive…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store