<html><head></head><body><div class="ydp5844638fyahoo-style-wrap" style="font-family:courier new, courier, monaco, monospace, sans-serif;font-size:16px;"><div></div>
<div>Check with 'gluster volume info <volume_name> | grep shard'</div><div><br></div><div>If you have it enabled it should show:</div><div><div><div>features.shard: on</div></div><br></div><div>Keep in mind that disabling sharding is really bad, so if you really use it - do not disable sharding - will cause a real mess.</div><div><br></div><div>Best Regards,</div><div>Strahil Nikolov</div><div><br></div>
</div><div id="ydp5772f61yahoo_quoted_8190386451" class="ydp5772f61yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
В сряда, 15 май 2019 г., 16:24:20 ч. Гринуич+3, Paul van der Vlis <paul@vandervlis.nl> написа:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">Hello Strahil,<br clear="none"><br clear="none">Thanks for your answer. I don't find the word "sharding" in the<br clear="none">configfiles. There is not much shared data (24GB), and only 1 brick:<br clear="none">---<br clear="none"><a shape="rect" href="mailto:root@xxx" rel="nofollow" target="_blank">root@xxx</a>:/etc/glusterfs# gluster volume info DATA<br clear="none"><br clear="none">Volume Name: DATA<br clear="none">Type: Distribute<br clear="none">Volume ID: db53ece1-5def-4f7c-b59d-3a230824032a<br clear="none">Status: Started<br clear="none">Snapshot Count: 0<br clear="none">Number of Bricks: 1<br clear="none">Transport-type: tcp<br clear="none">Bricks:<br clear="none">Brick1: xxx-vpn:/DATA<br clear="none">Options Reconfigured:<br clear="none">transport.address-family: inet<br clear="none">nfs.disable: on<br clear="none">----<br clear="none">(I have edited this a bit for privacy of my customer).<br clear="none"><br clear="none">I think they have used glusterfs because it can do ACLs.<br clear="none"><br clear="none">With regards,<br clear="none">Paul van der Vlis<br clear="none"><br clear="none"><br clear="none">Op 15-05-19 om 14:59 schreef Strahil Nikolov:<br clear="none">> Most probably you use sharding , which splits the files into smaller<br clear="none">> chunks so you can fit a 1TB file into gluster nodes with bricks of<br clear="none">> smaller size.<br clear="none">> So if you have 2 dispersed servers each having 500Gb brick-> without<br clear="none">> sharding you won't be able to store files larger than the brick size -<br clear="none">> no matter you have free space on the other server.<br clear="none">> <br clear="none">> When sharding is enabled - you will see on the brick the first shard as<br clear="none">> a file and the rest is in a hidden folder called ".shards" (or something<br clear="none">> like that).<br clear="none">> <br clear="none">> The benefit is also viewable when you need to do some maintenance on a<br clear="none">> gluster node, as you will need to heal only the shards containing<br clear="none">> modified by the customers' data.<br clear="none">> <br clear="none">> Best Regards,<br clear="none">> Strahil Nikolov<br clear="none">> <br clear="none">> <br clear="none">> В сряда, 15 май 2019 г., 7:31:39 ч. Гринуич-4, Paul van der Vlis<br clear="none">> <<a shape="rect" href="mailto:paul@vandervlis.nl" rel="nofollow" target="_blank">paul@vandervlis.nl</a>> написа:<br clear="none">> <br clear="none">> <br clear="none">> Hello,<br clear="none">> <br clear="none">> I am the new sysadmin of an organization what uses Glusterfs.<br clear="none">> I did not set it up, and I don't know much about Glusterfs.<br clear="none">> <br clear="none">> What I do not understand is that I do not see all data in the mount.<br clear="none">> Not as root, not as a normal user who has privileges.<br clear="none">> <br clear="none">> When I do "ls" in one of the subdirectories I don't see any data, but<br clear="none">> this data exists at the server!<br clear="none">> <br clear="none">> In another subdirectory I see everything fine, the rights of the<br clear="none">> directories and files inside are the same.<br clear="none">> <br clear="none">> I mount with something like:<br clear="none">> /bin/mount -t glusterfs -o acl 10.8.0.1:/data /data<br clear="none">> I see data in /data/VOORBEELD/, and I don't see any data in /data/ALGEMEEN/.<br clear="none">> <br clear="none">> I don't see something special in /etc/exports or in /etc/glusterfs on<br clear="none">> the server.<br clear="none">> <br clear="none">> Is there maybe a mechanism in Glusterfs what can exclude data from<br clear="none">> export? Or is there a way to debug this problem?<br clear="none">> <br clear="none">> With regards,<br clear="none">> Paul van der Vlis<br clear="none">> <br clear="none">> ----<br clear="none">> # file: VOORBEELD<br clear="none">> # owner: root<br clear="none">> # group: secretariaat<br clear="none">> # flags: -s-<br clear="none">> user::rwx<br clear="none">> group::rwx<br clear="none">> group:medewerkers:r-x<br clear="none">> mask::rwx<br clear="none">> other::---<br clear="none">> default:user::rwx<br clear="none">> default:group::rwx<br clear="none">> default:group:medewerkers:r-x<br clear="none">> default:mask::rwx<br clear="none">> default:other::---<br clear="none">> <br clear="none">> # file: ALGEMEEN<br clear="none">> # owner: root<br clear="none">> # group: secretariaat<br clear="none">> # flags: -s-<br clear="none">> user::rwx<br clear="none">> group::rwx<br clear="none">> group:medewerkers:r-x<br clear="none">> mask::rwx<br clear="none">> other::---<br clear="none">> default:user::rwx<br clear="none">> default:group::rwx<br clear="none">> default:group:medewerkers:r-x<br clear="none">> default:mask::rwx<br clear="none">> default:other::---<br clear="none">> ------<br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> -- <br clear="none">> Paul van der Vlis Linux systeembeheer Groningen<br clear="none">> <a shape="rect" href="https://www.vandervlis.nl/" rel="nofollow" target="_blank">https://www.vandervlis.nl/</a><br clear="none">> _______________________________________________<br clear="none">> Gluster-users mailing list<br clear="none">> <a shape="rect" href="mailto:Gluster-users@gluster.org" rel="nofollow" target="_blank">Gluster-users@gluster.org</a> <mailto:<a shape="rect" href="mailto:Gluster-users@gluster.org" rel="nofollow" target="_blank">Gluster-users@gluster.org</a>><br clear="none">> <a shape="rect" href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="nofollow" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><div class="ydp5772f61yqt7771216563" id="ydp5772f61yqtfd79828"><br clear="none"><br clear="none"><br clear="none"><br clear="none">-- <br clear="none">Paul van der Vlis Linux systeembeheer Groningen<br clear="none"><a shape="rect" href="https://www.vandervlis.nl/" rel="nofollow" target="_blank">https://www.vandervlis.nl/</a><br clear="none"></div></div></div>
</div>
</div></body></html>