Questions tagged [glusterfs]

An open source, distributed, network-attached, storage file system capable of scaling to several petabytes and handling thousands of clients.

35 questions
10
votes
2 answers

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 sync with the first one with as little delta…
user60039
  • 696
  • 6
  • 10
6
votes
3 answers

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-server-02:/volume-www/brick From the Client, as we…
夏期劇場
  • 1,571
  • 9
  • 22
  • 35
5
votes
1 answer

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 rebooting, three of the other nodes recognize the rebooted…
Dave Sherohman
  • 408
  • 1
  • 4
  • 9
3
votes
1 answer

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 provisioned volume from the previously created pool…
Print-ABC
  • 31
  • 1
  • 5
2
votes
2 answers

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 cluster (currently just 1 node), to make sure it's…
xil3
  • 151
  • 7
2
votes
1 answer

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 nodes. Additionally I enabled the storage.ctime…
davids
  • 21
  • 3
2
votes
1 answer

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.ext4 -I 512 /dev/xvdb1 Added the entry to…
Mervyn Clarke
  • 43
  • 1
  • 5
2
votes
0 answers

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 gluster in an N-way replicated setup, where each…
mvds
  • 121
  • 3
2
votes
0 answers

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 defaults 0 0 I also tried adding one or both…
2
votes
1 answer

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 these are outdated solutions. I am using systemd…
Patrick
  • 589
  • 3
  • 20
2
votes
1 answer

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 nothing could help me. The first time I used the…
Parsa Samet
  • 767
  • 1
  • 7
  • 20
2
votes
2 answers

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 fine on the another one. [root@webserver1 ~]#…
夏期劇場
  • 1,571
  • 9
  • 22
  • 35
2
votes
1 answer

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://service.myapp.com routes to either api1.myapp.com or…
Jasper Blues
  • 131
  • 3
2
votes
0 answers

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 and asgard is running 3.7.6, which may be the…
Jonathan S. Fisher
  • 200
  • 1
  • 2
  • 13
1
vote
1 answer

how to quickly scan size of directories in big terabyte directories

Basically I have a 3TB disk, inside of it I have 4 directories, and inside of those directories I have hundreds of directories. I would like to view the relative size of any of the directories, it doesn't have to be very accurate, and displaying in…
Dmytro Lysak
  • 113
  • 3
1
2 3