Re: [Gluster-users] Swap space requirements

2017-02-08 Thread Dev Sidious
ERATA: less than 4 GB RAM. RAM < 4 GB , SWAP = RAM * 2 RAM > 4 GB, SWAP = RAM + 2 GB On 2/7/2017 5:37 PM, Cedric Lemarchand wrote: > Hum ... I would say that ram is really expensive right now ! > In response to the OP, an old rule was to provision double ram as swap, > actually you could put th

Re: [Gluster-users] Issue in installing Gluster 3.9.0

2017-02-08 Thread Amudhan P
Hi All, Using 'configure --disable-events` fixes above problem. Thank you, Niklas for forwarding this info. regards Amudhan On Sat, Dec 17, 2016 at 5:49 PM, Amudhan P wrote: > Hi All, > > Did anyone faced below issue in installing 3.9.0 using source tar file in > Ubuntu. > > > > On Thu, Dec

Re: [Gluster-users] Swap space requirements

2017-02-08 Thread Dev Sidious
That old rule applied to machines with less than 2 GB RAM. :)) RAM < 2 GB , SWAP = RAM * 2 RAM > 2 GB, SWAP = RAM + 2 GB OP should be fine with 16 GB of SWAP for a machine with 128 GB RAM. Cheers. On 2/7/2017 5:37 PM, Cedric Lemarchand wrote: > Hum ... I would say that ram is really expensive

Re: [Gluster-users] Input/output error - would not heal

2017-02-08 Thread Nag Pavan Chilakam
- Original Message - From: "lejeczek" To: "Nag Pavan Chilakam" Cc: gluster-users@gluster.org Sent: Wednesday, 8 February, 2017 7:15:29 PM Subject: Re: [Gluster-users] Input/output error - would not heal On 08/02/17 06:11, Nag Pavan Chilakam wrote: > "gluster volume info" and "gluster

[Gluster-users] Can't start cloned volume: "Volume id mismatch"

2017-02-08 Thread Gambit15
Hey guys, Any ideas? [root@v0 ~]# gluster volume start data2 volume start: data2: failed: Volume id mismatch for brick s0:/run/gluster/snaps/data2/brick1/data/brick. Expected volume id d8b0a411-70d9-454d-b5fb-7d7ca424adf2, volume id a7eae608-f1c4-44fd-a6aa-5b9c19e13565 found [root@v0 ~]# gluster

[Gluster-users] Moving a physical disk from one machine to another

2017-02-08 Thread Scott Hazelhurst
Dear Ted and Ashish Thanks for your helpful response. Unfortunately I’m running the epel version for my SL6.8 distro so that’s 3.7. So, I’ve tried to remove the bad brick. (I am running a 3x2 system), but I get the following error gluster volume remove-brick A01 replica 1 m55:/export/brickA

Re: [Gluster-users] Distributed volumes

2017-02-08 Thread Dev Sidious
Hi, New to Gluster too. I welcome the more experienced users to correct me if I'm wrong. Based on some quick tests in my environment, it works like this: a) The following creates a replicated (replica count = 2), non-distributed volume gluster volume create replicated_but_not_distributed replic

Re: [Gluster-users] Input/output error - would not heal

2017-02-08 Thread lejeczek
On 08/02/17 06:11, Nag Pavan Chilakam wrote: "gluster volume info" and "gluster vol status" would help in us debug faster. However, coming to gfid mismatch, yes the file "abbreviations.log" (I assume the other brick copy also to be " abbreviations.log" and not "breviations.log" typo mista

Re: [Gluster-users] Distributed volumes

2017-02-08 Thread Gambit15
Distributed is the default, and replicated distributes as long as there are at least twice the number of bricks as your replication level. For example... gluster volume create gv0 server1:/data/brick1/gv0 server2:/data/brick1/gv0 server3:/data/brick1/gv0 ...distributes files across all three serv

Re: [Gluster-users] Slow performance on samba with small files

2017-02-08 Thread Дмитрий Глушенок
For _every_ file copied samba performs readdir() to get all entries of the destination folder. Then the list is searched for filename (to prevent name collisions as SMB shares are not case sensitive). More files in folder, more time it takes to perform readdir(). It is a lot worse for Gluster be

Re: [Gluster-users] Slow performance on samba with small files

2017-02-08 Thread Gary Lloyd
Thanks for the reply I've just done a bit more testing. If I use rsync from a gluster client to copy the same files to the mount point it only takes a couple of minutes. For some reason it's very slow on samba though (version 4.4.4). I have tried various samba tweaks / settings and have yet to ge

Re: [Gluster-users] should geo repl pick up changes to a vol?

2017-02-08 Thread Kotresh Hiremath Ravishankar
Hi lejeczek, Try stop force. gluster vol geo-rep :: stop force Thanks and Regards, Kotresh H R Thanks and Regards, Kotresh H R - Original Message - > From: "lejeczek" > To: "Kotresh Hiremath Ravishankar" > Cc: gluster-users@gluster.org > Sent: Tuesday, February 7, 2017 3:42:18 PM >

Re: [Gluster-users] Slow performance on samba with small files

2017-02-08 Thread Дмитрий Глушенок
Hi, There is a number of tweaks/hacks to make it better, but IMHO overall performance with small files is still unacceptable for such folders with thousands of entries. If your shares are not too large to be placed on single filesystem and you still want to use Gluster - it is possible to run

Re: [Gluster-users] Remove an artificial limitation of disperse volume

2017-02-08 Thread Xavier Hernandez
On 07/02/17 17:29, Olivier Lambert wrote: Yep, but if I hit a 30% penalty, I don't want that :) Any idea of the perf impact? I'll probably contact Xavier directly if he's not here! It depends on the workload. The basic problem is that the I/O write size must be a multiple of the number of data

Re: [Gluster-users] Remove an artificial limitation of disperse volume

2017-02-08 Thread Xavier Hernandez
Hi Pavan, On 07/02/17 14:51, Nag Pavan Chilakam wrote: You can always go for x3(3 replica copies), to address your need which you have asked EC volumes can be seen as raid for understanding purpose, but don't see it as an apple-to-apple comparison. Raid4/6(mostly) relies on XOR'ing bits(so bas

[Gluster-users] Distributed volumes

2017-02-08 Thread Dave Fan
Hi, I'm new to Gluster so a very basic question. Are all volumes distributed by default? Is there a switch to turn this feature on/off? I ask this because in an intro to Gluster I saw "Replicated Volume" and "Distributed Replicated Volume". Is the first type, "Replicated Volume", not distrib

Re: [Gluster-users] Remove an artificial limitation of disperse volume

2017-02-08 Thread Xavier Hernandez
Hi Olivier, sorry, didn't see the email earlier... We've already talked about this in private, but to make things clearer to everyone I answer here. On 07/02/17 14:16, Olivier Lambert wrote: Hi everyone! I'm currently working on implementing Gluster on XenServer/Xen Orchestra. I want to ex

[Gluster-users] Slow performance on samba with small files

2017-02-08 Thread Gary Lloyd
Hi I am currently testing gluster 3.9 replicated/distrbuted on centos 7.3 with samba/ctdb. I have been able to get it all up and running, but writing small files is really slow. If I copy large files from gluster backed samba I get almost wire speed (We only have 1Gb at the moment). I get around