<html><head></head><body><div class="ydpccd55ecfyahoo-style-wrap" style="font-family:courier new, courier, monaco, monospace, sans-serif;font-size:16px;"><div></div>
<div>It seems that I got confused.</div><div>So you see the files on the bricks (servers) , but not when you mount glusterfs on the clients ?</div><div><br></div><div>If so - this is not the sharding feature as it works the opposite way.</div><div><br></div><div>Best Regards,</div><div>Strahil Nikolov</div><div><br></div>
</div><div id="ydp8edf2bd0yahoo_quoted_8151609257" class="ydp8edf2bd0yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
В четвъртък, 16 май 2019 г., 0:35:04 ч. Гринуич+3, Paul van der Vlis <paul@vandervlis.nl> написа:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">Op 15-05-19 om 15:45 schreef Nithya Balachandran:<br clear="none">> Hi Paul,<br clear="none">> <br clear="none">> A few questions:<br clear="none">> Which version of gluster are you using?<br clear="none"><br clear="none">On the server and some clients: glusterfs 4.1.2<br clear="none">On a new client: glusterfs 5.5<br clear="none"><br clear="none">> Did this behaviour start recently? As in were the contents of that<br clear="none">> directory visible earlier?<br clear="none"><br clear="none">This directory was normally used in the headoffice, and there is direct<br clear="none">access to the files without Glusterfs. So I don't know.<br clear="none"><br clear="none">With regards,<br clear="none">Paul van der Vlis<br clear="none"><br clear="none">> Regards,<br clear="none">> Nithya<br clear="none">> <br clear="none">> <br clear="none">> On Wed, 15 May 2019 at 18:55, Paul van der Vlis <<a shape="rect" href="mailto:paul@vandervlis.nl" rel="nofollow" target="_blank">paul@vandervlis.nl</a><br clear="none">> <mailto:<a shape="rect" href="mailto:paul@vandervlis.nl" rel="nofollow" target="_blank">paul@vandervlis.nl</a>>> wrote:<br clear="none">> <br clear="none">> 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<br clear="none">> shard as<br clear="none">> > a file and the rest is in a hidden folder called ".shards" (or<br clear="none">> 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> <mailto:<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<br clear="none">> /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">> <mailto:<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="ydp8edf2bd0yqt4897236767" id="ydp8edf2bd0yqtfd69292"><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><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><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></div></div>
</div>
</div></body></html>