[Bugs] [Bug 1517260] Volume wrong size

bugzilla at redhat.com bugzilla at redhat.com
Thu Feb 1 05:04:13 UTC 2018


--- Comment #19 from Nithya Balachandran <nbalacha at redhat.com> ---
Hi David,

We don't know why this is happening yet but we have a workaround until we fix

On every node in the cluster (ubuntu1, ubuntu2 and ubuntu3):
1. Copy the shared-brick-count.sh file to /usr/lib*/glusterfs/3.12.3/filter/.
(You might need to create the filter directory in this path.)
2. Give the file execute permissions. 

For example, on my system (the version is different):

[root at rhgsserver1 dir1]# cd /usr/lib/glusterfs/3.12.5/
[root at rhgsserver1 3.12.5]# ll
total 4.0K
drwxr-xr-x.  2 root root   64 Feb  1 08:56 auth
drwxr-xr-x.  2 root root   34 Feb  1 09:12 filter
drwxr-xr-x.  2 root root   66 Feb  1 08:55 rpc-transport
drwxr-xr-x. 13 root root 4.0K Feb  1 08:57 xlator

[root at rhgsserver1 3.12.5]# cd filter
[root at rhgsserver1 filter]# pwd
[root at rhgsserver1 filter]# ll
total 4
-rwxr-xr-x. 1 root root 95 Feb  1 09:12 shared-brick-count.sh

On any one node, run:
gluster v set volume1 cluster.min-free-inodes 6%

This should regenerate the .vol files and set the value of option
shared-brick-count to 1. Please check if the .vol files to confirm this.

You do not need to restart the volume.

Let me know if this solves the problem.

You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=QV1G6SlEdF&a=cc_unsubscribe

More information about the Bugs mailing list