[Gluster-users] GlusterFS 3.7: How are the server's configuration data synchronized

2015-09-22 Thread Andreas Hollaus
Hi, Are there any restrictions as to when I'm allowed to make changes to the GlusterFS volume (for instance: start/stop volume, add/remove brick or peer)? How will it handle such changes when one of my two replicated servers is down? How will GlusterFS know which set of configuration files it

[Gluster-users] GlusterFS 3.7

2015-09-22 Thread Andreas Hollaus
Hi, Are there any restrictions as to when I'm allowed to make changes to the GlusterFS volume (for instance: start/stop volume, add/remove brick or peer)? How will it handle such changes when one of my two replicated servers is down? How will GlusterFS know which set of configuration files it

Re: [Gluster-users] GlusterFS 3.7

2015-09-22 Thread Andreas Hollaus
nges you make with the "gluster" command to the peers, obviously if you make local changes to the volume file on one server you are likely to break things unless you copy rsync the changes to the other server. On 22 September 2015 at 04:02, Andreas Hollaus <andreas.hol

Re: [Gluster-users] GlusterFS 3.7

2015-09-22 Thread Andreas Hollaus
ttribute should have been replaced as well as the configuration files? BTW: Yes, I rely on GlusterFS commands and avoid manual editing of files. Regards Andreas > I hope that will answer your doubt. > > Thank you... > > Regards, > Gaurav Garg > > > - Original M

Re: [Gluster-users] split-brain files not shown in gluster volume heal info split-brain command

2015-08-13 Thread Andreas Hollaus
Hi, Isn't the trusted.afr.dirty attribute missing from Brick 2? Shouldn't it be increased and decreased, but never removed? Could that be the reason why GlusterFS is confused? What could be the reason for gfid mismatches? Regards Andreas Brick1 getfattr -d -m . -e hex config.ior # file:

[Gluster-users] GlusterFS 3.7.2: gluster volume heal vol info heal-failed

2015-07-08 Thread Andreas Hollaus
Hi, I'm curious about this 'gluster volume heal vol info heal-failed' command: What would be a possible reason for healing to fail and get listed by this command? I know about split-brain, but as that is another option for the command I suspect that this would list files that could not be

Re: [Gluster-users] GlusterFS 3.7.2: gluster volume heal vol info heal-failed

2015-07-08 Thread Andreas Hollaus
, Ravishankar N wrote: On 07/08/2015 04:31 PM, Andreas Hollaus wrote: Hi, I'm curious about this 'gluster volume heal vol info heal-failed' command: What would be a possible reason for healing to fail and get listed by this command? I know about split-brain, but as that is another option

[Gluster-users] Healing a GlusterFS volume

2015-06-29 Thread Andreas Hollaus
Hi, Is there really any difference if you heal a volume by running the 'gluster volume heal' command compared to if you run the 'find vol -exec stat {} \;' command? As far as I understand, both will sync the bricks, although I guess the the gluster command is asynchronous. I prefer synchronous

Re: [Gluster-users] GlusterFS 3.6.2: Can't mount GlusterFS volume

2015-06-23 Thread Andreas Hollaus
wrote: Sent from one plus one On Jun 22, 2015 7:31 PM, Andreas Hollaus andreas.holl...@ericsson.com wrote: Hi, Well, I don't really know what to expect, but there actually are some errors: Could it be due to that missing extended attribute? I don't understand why it's missing (yet). You

Re: [Gluster-users] GlusterFS 3.6.2: Can't mount GlusterFS volume

2015-06-22 Thread Andreas Hollaus
Hi, Well that did the trick. Thanks! Regards Andreas On 06/22/15 10:07, Sakshi Bansal wrote: Both the bricks are down. Can you run - $ gluster volume start volume-name force ___ Gluster-users mailing list Gluster-users@gluster.org

Re: [Gluster-users] GlusterFS 3.6.2: Can't mount GlusterFS volume

2015-06-22 Thread Andreas Hollaus
Hi, I already supplied the output from that command, and as you can see the volume is started (according to the output). Regards Andreas On 06/22/15 09:44, Sakshi Bansal wrote: Hello, I suppose the volume is not started. You can check the status of the volume by - $ gluster volume

[Gluster-users] GlusterFS 3.6.2: Can't mount GlusterFS volume

2015-06-22 Thread Andreas Hollaus
Hi, I can't mount the GlusterFS volume anymore. Any ideas what could be wrong? I guess the volume should mount even though the remote brick might not be available? In this case it is available ('pingable'), but in some cases it may not be, which seems pretty normal for a replicated volume.

Re: [Gluster-users] GlusterFS 3.6.2: Can't mount GlusterFS volume

2015-06-22 Thread Andreas Hollaus
/22/15 10:40, Andreas Hollaus wrote: Hi, Well that did the trick. Thanks! Regards Andreas On 06/22/15 10:07, Sakshi Bansal wrote: Both the bricks are down. Can you run - $ gluster volume start volume-name force ___ Gluster-users mailing list

Re: [Gluster-users] GlusterFS 3.6.2: Can't mount GlusterFS volume

2015-06-22 Thread Andreas Hollaus
: accepted client from oamhost-5400-2015/06/22-13:25:57:519410-c_glstr- client-1-0-0 (version: 3.6.2) Regards Andreas On 6/22/2015 3:45 PM, Atin Mukherjee wrote: Sent from one plus one On Jun 22, 2015 7:06 PM, Andreas Hollaus andreas.holl...@ericsson.com mailto:andreas.holl...@ericsson.com wrote

Re: [Gluster-users] GlusterFS 3.6.2: Can't mount GlusterFS volume

2015-06-22 Thread Andreas Hollaus
the volume again, even though the command 'gluster volume info' claims that it's started? Regards Andreas On 6/22/2015 4:27 PM, Niels de Vos wrote: On Mon, Jun 22, 2015 at 03:35:56PM +0200, Andreas Hollaus wrote: Hi, I keep having this situation where I have to start the volume using the force

[Gluster-users] Any plans for a c API?

2015-06-10 Thread Andreas Hollaus
Hi, I wonder if there are any plans for a c API which would let me manage my GlusterFS volume (create volume, addr brick, remove brick, examine status and so on)? Regards Andreas ___ Gluster-users mailing list Gluster-users@gluster.org

[Gluster-users] Healing a GlusterFS volume

2015-06-09 Thread Andreas Hollaus
Hi, Is there really any difference if you heal a volume by running the 'gluster volume heal' command compared to if you run the 'find vol -exec stat \;' command? As far as I understand, both will sync the bricks, although I guess the the gluster command is asynchronous. Regards Andreas

[Gluster-users] Strange output from gluster volume heal vol info split-brain command

2015-06-09 Thread Andreas Hollaus
Hi, I detected a directory in split-brain on my file system, but I'm surprised that 'gluster volume heal vol info split-brain' doesn't report it. I would have expected it to show only split-brain issues, compared to 'gluster volume heal vol info' that shows more info regarding the healing

[Gluster-users] Resolving peer rejected

2015-06-04 Thread Andreas Hollaus
Hi, I found this 'pretty easy' but rather complicated ;-) guide for resolving the peer rejected state: - Resolving Peer Rejected Peer Rejected is

[Gluster-users] Question about the extended file attributes

2015-05-04 Thread Andreas Hollaus
Hi, What would be the expected result if I move files to a GlusterFS volume, but the files already have some of the extended file attributes set which are used by GlusterFS (as they were previously part of another GlusterFS volume)? Would there be a problem or would the previous values just be

Re: [Gluster-users] gluster volume create

2015-04-13 Thread Andreas Hollaus
, Andreas Hollaus wrote: Hi and thanks, Well, I guess I didn't explain my problem particularly well. Sorry for that. I guess that a normal gluster user would in the beginning add the replica bricks required and then, whenever the servers restarts, let gluster restart using the same configuration

Re: [Gluster-users] gluster volume create

2015-04-11 Thread Andreas Hollaus
: On 04/11/2015 01:21 AM, Andreas Hollaus wrote: Hi, I wonder what happens when the command 'gluster volume create...' is executed? How is the file system on the brick affected by that command, data and meta-data (extended attributes)? The reason for this question is that I have a strange use

[Gluster-users] gluster volume create

2015-04-10 Thread Andreas Hollaus
Hi, I wonder what happens when the command 'gluster volume create...' is executed? How is the file system on the brick affected by that command, data and meta-data (extended attributes)? The reason for this question is that I have a strange use case where my 2 (mirrored) servers are

Re: [Gluster-users] gluster peer probe error (v3.6.2)

2015-03-23 Thread Andreas Hollaus
, Atin Mukherjee wrote: On 03/22/2015 07:11 PM, Andreas Hollaus wrote: Hi, I hope that these are the logs that you requested. Logs from 10.32.0.48: -- # more /var/log/glusterfs/.cmd_log_history [2015-03-19 13:52:03.277438] : peer probe 10.32.1.144 : FAILED : Probe

Re: [Gluster-users] gluster peer probe error (v3.6.2)

2015-03-22 Thread Andreas Hollaus
-01 00:01:24.423036] E [glusterd-sm.c:1078:glusterd_friend_sm] 0-gluster d: handler returned: -2 Regards Andreas On 03/22/15 07:33, Atin Mukherjee wrote: On 03/22/2015 12:09 AM, Andreas Hollaus wrote: Hi, I get a strange result when I execute 'gluster peer probe'. The command hangs

[Gluster-users] gluster peer probe error (v3.6.2)

2015-03-21 Thread Andreas Hollaus
Hi, I get a strange result when I execute 'gluster peer probe'. The command hangs and seems to timeout without any message (I can ping the address): # gluster peer probe 10.32.1.144 # echo $? 146 The status looks promising, but there's a differences between this output and what you normally

[Gluster-users] Which version of GlusterFS do you recommend?

2014-11-19 Thread Andreas Hollaus
Hi, I'm curious about the different 'families' of GlusterFS (3.4, 3.5 3.6). What's the differences between them and how do I know which one will be most suitable for my application (depending on if I prioritize robustness or lots of features)? -- Regards Andreas

Re: [Gluster-users] Initial sync

2014-11-12 Thread Andreas Hollaus
/restore to be able to run 'gluster volume start' without first re-creating the volume? Regards Andreas On 11/05/14 12:23, Ravishankar N wrote: On 11/05/2014 03:18 PM, Andreas Hollaus wrote: Hi, I'm curious about this 5 phase transaction scheme that is described in the document (lock, pre

Re: [Gluster-users] Initial sync

2014-11-05 Thread Andreas Hollaus
to setup the 'favorite-child' option, I want to know if it's required or not. In our use case, quorum is not a solution, but losing some data is acceptable as long as the bricks are in sync. Regards Andreas On 10/31/14 15:37, Ravishankar N wrote: On 10/30/2014 07:23 PM, Andreas Hollaus wrote: Hi

Re: [Gluster-users] Initial sync

2014-11-05 Thread Andreas Hollaus
On 11/05/14 12:23, Ravishankar N wrote: On 11/05/2014 03:18 PM, Andreas Hollaus wrote: Hi, I'm curious about this 5 phase transaction scheme that is described in the document (lock, pre-op, op, post-op, unlock). Are these stage switches all triggered from the client or can the server do

Re: [Gluster-users] Initial sync

2014-11-05 Thread Andreas Hollaus
to be edited? Regards Andreas On 11/05/14 16:43, Ravishankar N wrote: On 11/05/2014 06:54 PM, Andreas Hollaus wrote: On 11/05/14 12:23, Ravishankar N wrote: On 11/05/2014 03:18 PM, Andreas Hollaus wrote: Hi, I'm curious about this 5 phase transaction scheme that is described in the document

Re: [Gluster-users] Initial sync

2014-10-30 Thread Andreas Hollaus
therefore believe that such a self-healing would actually be possible, even though it may not be implemented. Regards Andreas On 10/30/14 05:21, Ravishankar N wrote: On 10/28/2014 03:58 PM, Andreas Hollaus wrote: Hi, I'm curious about how GlusterFS manages to sync the bricks in the initial

[Gluster-users] Initial sync

2014-10-28 Thread Andreas Hollaus
Hi, I'm curious about how GlusterFS manages to sync the bricks in the initial phase, when the volume is created or extended. I first create a volume consisting of only one brick, which clients will start to read and write. After a while I add a second brick to the volume to create a replicated