Re: [Gluster-users] Turn off readdirp
excuse me I do like your command but in my email it was displaced. On Wed, Aug 23, 2017 at 8:59 PM, Niels de Vos wrote: > On Wed, Aug 23, 2017 at 08:06:18PM +0430, Tahereh Fattahi wrote: > > Hi > > How can I turn off readdirp? > > I saw some solution but they don't work. > > > > I tried server side > > gluster volume vol performance.force-readdirp off > > gluster volume vol dht.force-readdirp off > > gluster volume vol perforamnce.read-ahead off > > and in client side fuse mount > > mount -t glusterfs server:/vol /mnt -o user.readdirp=no > > > > but I can see just readdirp request in server. > > > > What shold I do? > > Try mounting like this: > > # mount -t glusterfs server:/vol -o use-readdirp=no /mnt > > > HTH, > Niels > ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] Turn off readdirp
Hi How can I turn off readdirp? I saw some solution but they don't work. I tried server side gluster volume vol performance.force-readdirp off gluster volume vol dht.force-readdirp off gluster volume vol perforamnce.read-ahead off and in client side fuse mount mount -t glusterfs server:/vol /mnt -o user.readdirp=no but I can see just readdirp request in server. What shold I do? ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] How fill my volume for test?
Thank you Is it correct that there is not a standard way to fill a file system? If I fill my gluster volume with each of these methods, the result of performance test (speed of read, write, ...) are valid? On Tue, May 30, 2017 at 4:22 PM, Nag Pavan Chilakam wrote: > Hi, > Do you mean to fill your gluster volume? > If so, without getting into the details, I can try giving some pointers: > 1)As I see you want to fill data randomly with many directories and files, > you can try to download linux kernel(kernel.org) and untar it > 2)there are different tools available in github like FIO, smallfile( > https://github.com/bengland2/smallfile/blob/master/smallfile_cli.py), > crefi > 3)One last hack-->If the intention is to fill your volume as fast of > possible and assuming your volume is inside a directory on a thin lv(not > directly using the mount path as the brick ), then you can directly copy > data into the LV mount with some random data or huge files(any log files or > use above tools) > This helps fill faster, as you are avoiding network as in a mount. > IMPORTANT NOTE: I would like to reinstate, that you must be filling into > the LV mount instead of the brick mount. Eg: if you LV mount is /rhs/lv1, I > expect(as recommended), your brick path is something like > /rhs/lv1/ . Hence you can fill in data under /rhs/lv1/ > > > Regards, > nag > > - Original Message - > From: "Tahereh Fattahi" > To: gluster-users@gluster.org > Sent: Tuesday, 30 May, 2017 3:29:40 PM > Subject: [Gluster-users] How fill my volume for test? > > Hi > I need to fill my volume and after that start testing. > Is there a test case, test bench (I dont know the name) a program that > create a lot of directory and files with different type and size (the data > in files is not important, maybe random)? > I can do this by my self but I dont know is this work correct? > Is there any standard for fill a file system? > > ___ > Gluster-users mailing list > Gluster-users@gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users > ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] How fill my volume for test?
Hi I need to fill my volume and after that start testing. Is there a test case, test bench (I dont know the name) a program that create a lot of directory and files with different type and size (the data in files is not important, maybe random)? I can do this by my self but I dont know is this work correct? Is there any standard for fill a file system? ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] Rebalance without changing layout
Hi Is it possible to rebalance data in gluster without changing layout? When I use rebalance with force, the layout changed. I dont want changing layout, just balancing data over layout. ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] Consumption of brick space
Hi I create a brick with size 5G. I want to know is some space of this 5G used for gluster server or all of that used for storing data (expect a little that os consume)? ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] Can not delete a volume
Thanks a lot For gv2, I have two bricks, second peer is in peer list from node I want to delete. But there are other nodes for other volumes, not gv2, that are in peer list but are not connected. How can I remove these nodes from peer list? On Sun, May 7, 2017 at 9:00 PM, Atin Mukherjee wrote: > Can you please paste the output of 'gluster peer status' from the node > where volume delete CLI failed? Also during this failure did you find out > which node(s) are down (as per the command) from the glusterd logs? > > On Sun, 7 May 2017 at 21:53, Tahereh Fattahi > wrote: > >> Hi >> >> When I want to delete my test volume I get error: >> volume delete: gv2: failed: Some of the peers are down >> >> But all nodes are up (service glsterd, connetion, ip , .. all things are >> ok ) and before stop or after start (after trying for deletion) work >> correctly. >> >> So how can I delete the volume? it is necessary for me. >> ___ >> Gluster-users mailing list >> Gluster-users@gluster.org >> http://lists.gluster.org/mailman/listinfo/gluster-users > > -- > --Atin > ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] Can not delete a volume
Hi When I want to delete my test volume I get error: volume delete: gv2: failed: Some of the peers are down But all nodes are up (service glsterd, connetion, ip , .. all things are ok ) and before stop or after start (after trying for deletion) work correctly. So how can I delete the volume? it is necessary for me. ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] Server source code installation
Hi I have 3 gluster servers and one volume. Know, I want to change the source code of serves and install again. Is it enough to stop and delete the volume, make and install the code? Or before installation I should delete some files or folders? ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] When gfid set?
Hi I want to know when I create a file, when gfid for that file is set? In which translator? ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] About inode table: client, server and inconsistency
Hi Is it correct that each brick has one inode table for itself and each client has one inode table that stores anything that is stored in bricks inode table? Does all inode tables store in RAM all the time? When and how client's inode table update (how solve the inconsistency problem between clinet and brick inode table that is because of rebalance or other client fops) ? ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] How understand some code execute client side or server side?
Thank you very much, it is very helpful. I see the client graph also in /var/log/glusterfs/mnt-glusterfs.log when mount the file system. I think there is a tree structure between xlator (I had seen something in code like child and parent of each xlator), so just some of them are the point of connecting to server. I think xlator with type protocol/client is responsible for send request and get response from server. am I correct? On Thu, Mar 9, 2017 at 8:38 PM, Mohammed Rafi K C wrote: > GlusterFS has mainly four daemons, ie glusterfs (generally client > process), glusterfsd (generally brick process), glusterd (management > daemon) and gluster (cli). > > Except cli (cli/src) all of them are basically the same binary symlinked > to different name. So what makes them different is graphs, ie each daemons > loads a graph and based on the graph it does it's job. > > > Nodes of each graph are called xlators. So to figure out what are the > xlators loaded in client side graph. You can see a client graph > /var/lib/glusterd/vols//trusted-.-fuse.vol > > Once you figured out the xlators in client graph and their type, you can > go to the source code, xlatos//. > > > Please note that, if an xlator loaded on client graph it doesn't mean that > it will only run in client side. The same xlator can also run in server if > we load a graph with that xlator loaded. > > > Let me know if this is not helping you to understand > > > Regards > > Rafi KC > > > So glusterd and cli codes are always ran on servers. > On 03/09/2017 08:28 PM, Tahereh Fattahi wrote: > > Hi > Is there any way to understand that some code is running client side or > server side (from source code and its directories)? > Is it possible for some code to execute both client and server side? > > > ___ > Gluster-users mailing > listGluster-users@gluster.orghttp://lists.gluster.org/mailman/listinfo/gluster-users > > > ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] How understand some code execute client side or server side?
Hi Is there any way to understand that some code is running client side or server side (from source code and its directories)? Is it possible for some code to execute both client and server side? ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] Is it possible to have more than one volume?
Thank you So one distributed file system has one volume with many server and many brick, is it correct? On Thu, Mar 9, 2017 at 4:26 PM, Kaushal M wrote: > On Thu, Mar 9, 2017 at 6:15 PM, Tahereh Fattahi > wrote: > > Hi > > Is it possible to have more than one volume? (I know difference between > > brick and volume and in this question I mean volume) > > If yes, how should link these volumes to each other? > > You can have more than one volume in your GlusterFS pool. The volumes > are completely independent of each other, there is no linking between > volumes. > > > > > ___ > > Gluster-users mailing list > > Gluster-users@gluster.org > > http://lists.gluster.org/mailman/listinfo/gluster-users > ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] Is it possible to have more than one volume?
Hi Is it possible to have more than one volume? (I know difference between brick and volume and in this question I mean volume) If yes, how should link these volumes to each other? ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] multiple gluster volume
Hi Is it possible to have multiple volume in glusterfs (I know difference between brick and volume)? If yes, how should link these volumes to each other? ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] How does layout make and store?
Hi I want to know how the layout of directories does store? Is everything just in trusted.glusterfs.dht? or something else has role in this subject? another question is about making the layout, does layout make in client side or server side? for example the trusted.glusterfs.dht get value in client or server? I had thought that client should do that but the field list[].start and list[].stop in layout structure does not get value in mkdir but after mkdir this attribute has value in server side ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] how debuge dht translator?
Hello I want to undrestand the operation of dht translator, then i decide to debug the code for this aim. But i can not do that:( I think i should run gdb in client side, but how? I can not mount the file system for client from gdb. And if I mount seperately, I can not run any glusterfs within gdb Is there any way to not using gdb and debug with printf (Iknow it is very stupid but is easy) and see the serult in the terminal? ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users
[Gluster-users] Fwd: how debuge dht translator?
Hello I want to undrestand the operation of dht translator, then i decide to debug the code for this aim. But i can not do that:( I think i should run gdb in client side, but how? I can not mount the file system for client from gdb. And if I mount seperately, I can not run any glusterfs within gdb Is there any way to not using gdb and debug with printf (Iknow it is very stupid but is easy) and see the serult in the terminal? ___ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users