Hi David,

Is this Volume is uses Geo-replication? Geo-replication feature enables 
Changelog to identify the latest changes happening in the GlusterFS volume. 

Content of .glusterfs directory also includes hardlinks to the actual data, so 
the size shown in .glusterfs is including data. Please refer the comment by 
Xavi https://github.com/gluster/glusterfs/issues/833#issuecomment-594436009 
<https://github.com/gluster/glusterfs/issues/833#issuecomment-594436009>

If Changelogs files are causing issue, you can use archival tool to remove 
processed changelogs.
https://github.com/aravindavk/archive_gluster_changelogs 
<https://github.com/aravindavk/archive_gluster_changelogs>

—
regards
Aravinda Vishwanathapura
https://kadalu.io


> On 05-Mar-2020, at 9:02 AM, David Cunningham <dcunning...@voisonics.com> 
> wrote:
> 
> Hello,
> 
> We are looking for some advice on disk use. This is on a single node 
> GlusterFS test server.
> 
> There's a 2GB partition for GlusterFS. Of that, 470MB is used for actual 
> data, and 1GB is used by the .glusterfs directory. The .glusterfs directory 
> is mostly used by the two-character directories and the "changelogs" 
> directory. Why is so much used by .glusterfs, and can we reduce that overhead?
> 
> We also have a problem with this test system where GlusterFS is giving "No 
> space left on device" errors. That's despite "df" reporting only 54% used, 
> and even if we add the 470MB to 1GB used above, that still comes out to less 
> than the 2GB available, so there should be some spare.
> 
> Would anyone be able to advise on these please? Thank you in advance.
> 
> The GlusterFS version is 5.11 and here is the volume information:
> 
> Volume Name: gvol0
> Type: Distribute
> Volume ID: 33ed309b-0e63-4f9a-8132-ab1b0fdcbc36
> Status: Started
> Snapshot Count: 0
> Number of Bricks: 1
> Transport-type: tcp
> Bricks:
> Brick1: myhost:/nodirectwritedata/gluster/gvol0
> Options Reconfigured:
> transport.address-family: inet
> nfs.disable: on
> geo-replication.indexing: on
> geo-replication.ignore-pid-check: on
> changelog.changelog: on
> 
> -- 
> David Cunningham, Voisonics Limited
> http://voisonics.com/ <http://voisonics.com/>
> USA: +1 213 221 1092
> New Zealand: +64 (0)28 2558 3782
> ________
> 
> 
> 
> Community Meeting Calendar:
> 
> Schedule -
> Every Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://bluejeans.com/441850968
> 
> Gluster-users mailing list
> Gluster-users@gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users





________



Community Meeting Calendar:

Schedule -
Every Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users

Reply via email to