Questions tagged [glusterfs]
An open source, distributed, network-attached, storage file system capable of scaling to several petabytes and handling thousands of clients.
32
questions
10
votes
2answers
2k views
Synchronising millions of files between two Linux servers
I have a server which exports a directory containing ~7 million files (mostly images) from its local disk to network clients via NFS.
I need to add a second one for the sake of HA, and to keep it in ...
5
votes
3answers
12k views
GlusterFS how to failover (smartly) if a mounted Server is failed?
In GlusterFS, lets say i have 2 Nodes (Servers) on a Volume. Lets say the volume info is something like this:
Volume Name: volume-www
Brick1: gluster-server-01:/volume-www/brick
Brick2: gluster-...
4
votes
1answer
7k views
How to force glusterfs peer to attempt to reconnect to rebooted node?
I have a six-node glusterfs cluster running. This morning, I noticed that one of the machines was behaving strangely, so I rebooted it, just to be safe - a manual STONITH, if you will.
After ...
3
votes
1answer
2k views
Ubuntu/GlusterFS: Unable to create thinly provisioned volume from previously created pool using lvcreate
I'm testing out glusterfs, and was following this guide on creating setting up volumes. I ran into an error when trying to create a thinly provisioned volume. This is the section
Create a thinly ...
2
votes
1answer
826 views
Mount is denied mounting GlusterFS point at boot
I have a simple 2 brick replication using two nodes. I am trying to make the mount point for the volume mount automatically at boot. I have tried various solutions such as here and here, but most of ...
2
votes
1answer
4k views
GlusterFS replicated volume - mounting issue
I'm running GlusterFS using 2 servers (ST0 & ST1) and 1 client (STC), and the volname is rep-volume.
I surfed the net, and read all articles explaining how to fix mounting issues but unfortunately ...
2
votes
2answers
8k views
Redhat : “gluster volume status” shows NFS Server on localhost as N/A and Offline
I have 2 Nodes GlusterFS setup on 2 Redhat 6.7 Servers. (GlusterFS versions are both 3.7.12) Then the "NFS Server on localhost" status on one Server shows "n/a" and Online "N", while it is showing all ...
2
votes
1answer
194 views
How will glusterFS performance degrade (if at all) with > 2 nodes
I have two API service nodes one Amazon Web Services. These nodes are mostly for servicing API calls. They also serve some image content.
There's a load balancer in the front so that URL http://...
2
votes
1answer
426 views
XFS, GlusterFS v5.5 and the Year-2038 problem
I tried out default retention periods e.g. to set the Retention date to
2071. When I did the WORMing, everything seems to be OK. From FUSE and also
at Brick-Level, the retention was set to 2071 on all ...
2
votes
1answer
2k views
Adding brick volume to gluster fails
I created a 2TB volume to increase space on home directory.
I created the partition:
$ parted /dev/xvdb mklabel gpt
$ parted -s /dev/xvdb mkpart primary ext4 1 100%
Formatted the partition:
$ mkfs....
2
votes
0answers
394 views
GlusterFS replicated volume auto failover not working
I have two nodes that have a replicated gluster volume. Then a third node that has mounted that volume using the following mount string in /etc/fstab:
node1,node2:/gv0 /glustermount glusterfs ...
2
votes
0answers
906 views
How do you find out why a GlusterFS peer was rejected?
I tried adding a new peer to my gluster cluster, but it's saying the peer is rejected. I've poured through all of my logs but cannot find any hints.
Magnum-pi and Apple-pi are running gluster 3.7.3 ...
1
vote
1answer
974 views
HTTP Session Management while using Nginx as in “Round Robin” mode Load-balancer?
I'm trying to load-balance "2 Web Servers (running Apache/PHP)" by putting nginx in front of them. But I need to use Round Robin algorithm but when I do this, I can't manage to have the stable ...
1
vote
2answers
881 views
Problems mounting GlusterFS when starting up pod (in Kubernetes)
Just to give a bit of background - I have a 3 node GlusterFS cluster running, and I made sure to test it works by mounting a few directories on some servers. I also tested a mount on the Kubernetes ...
1
vote
0answers
21 views
GlusterFS on CentOS 8 - Replicated Volume Creation Failed
I start learning GlusterFS in a homelab that is consists of 4 CentOS 8 virtual machines. My lab setup is as in the following:
one VM act as Name Server (BIND) and Time Server (Chrony)
A cluster of 3 ...
1
vote
1answer
89 views
file lock existence check on remote host
I want to check the existence of file lock on a file in gluster file system. So that I can see from any host that whether file lock is held by any process (remote or local) on file in gluster file ...
1
vote
0answers
782 views
GlusterFS graceful reboot of brick
TL;DR What is the best/simplest way to reboot a gluster node (containing a replicated brick) in such a way that it doesn't impact (i.e. freeze) the remaining cluster?
Longer story:
I'm configuring ...
1
vote
0answers
212 views
GlusterFS peer rejected and no data replication following reboot
I'm experimenting with glusterfs on ubuntu16.04.
Setup consists of:
Gluster-server node1: ubuntu16-2
Gluster-server node2: ubuntu16-3
Gluster-client: ubuntu16-1
I've setup a gluster volume named '...
1
vote
0answers
1k views
gluster rebalance failure
gluster rebalance is failing after the rebalance and brick is also going down after running the rebalance. The output and logs are as follow:
$ gluster --mode=script --wignore volume status
Status ...
1
vote
0answers
235 views
Error: Systemd start for glusterfs-server failed
I keep getting the error below when I run puppet agent -t but when I check the gluster service, the service is already running. What do I need to do to fix this error that I keep getting?
Error: ...
1
vote
0answers
533 views
Symlinks not working on GlusterFS Fuse mount
I am running GlusterFS 3.11.3 on CentOS 7 64-bit in an OpenVZ environment.
Since I am not the datacenter owner and the OpenVZ hosts don't allow sys_admin privileges to virtual machines, I have ...
1
vote
0answers
922 views
GlusterFS - Unable to list files within a specific directory on a Gluster fuse mount point
We have a single volume 'gvol0' which is split across two nodes (replicated), server1 and server2:
Here is the sanitised volume info:
Volume Name: gvol0
Type: Replicate
Volume ID: ...
1
vote
1answer
362 views
GlusterFS use Geo-replication or normal gluster?
We have 4 offices with ipsec lan2lan over fibre net (20-100 mbit on eache office, except one office with 10 mbit fibre). Latency is below 20 ms (between to of the offices with fastest network we have ...
0
votes
1answer
742 views
Puppet exec command runs successfully but doesn't make the needed changes
I am trying to make some changes on my Ubuntu 16.04 server using puppet exec to run commands to make those changes. When I run puppet, the command is executed successfully but puppet exec doesn't make ...
0
votes
1answer
868 views
How to install GlusterFS on Core OS?
I have provisioned a kubernetes cluster across CoreOS hosts with kubespray, and am trying to setup container native storage with gluster-kubernetes.
The problem I am running into is that CoreOS has ...
0
votes
1answer
219 views
sharing a drive over the network
I want to share a drive over the Local Area Network so that I can use it for building system images (my machine itself doesn't have that much storage and I'd prefer to use a drive over the network ...
0
votes
0answers
88 views
Glusterfs and Heketi CLI - Errors when deleting a volume
I have a GlusterFS cluster and I am trying to remove a volume from it.
I get the following error:
[root@heketi-795bcbcd95-tzg52 /]# heketi-cli volume delete ba82a9396213c4b5dd2b0452577267c5
Error: ...
0
votes
1answer
644 views
Multiple GlusterFS backup servers
I've setup an arbitrated replicated volume like this
gluster volume create gvol \
replica 3 \
arbiter 1 \
host1:/opt/brick/vol1 host2:/opt/brick/vol1 host3:/opt/arb/vol1 \
host4:/opt/...
0
votes
1answer
190 views
.glusterfs folder takes 26 Terabytes (Gluster Volume)
I'm using Gluster on my cluster and I'm running into a problem with storage.
My data takes about 17 Terabytes out of the 36 Terabytes being used. So I looked around for what was taking the remaining ...
0
votes
1answer
120 views
Resilient Gluster mount
According to https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Setting%20Up%20Clients/#mounting-volumes
The server specified in the mount command is only used to fetch the gluster ...
0
votes
1answer
64 views
Puppet Gluster Volume Error
I am getting this error when I add a gluster volume and run puppet agent -t:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while ...
0
votes
1answer
357 views
mysql high availablity for LAMP application (ubuntu 14.04)
im trying to achieve HIGH Availability (HA) for a LAMP application(News Portal website) which might be of interest to many unfamiliar users.For files im using Glusterfs (replica) for redundancy ...