Re: [Gluster-devel] question on gluster volume heal VOLUME info command

2016-05-10 Thread Ravishankar N

On 05/11/2016 01:19 AM, Angelos SAKELLAROPOULOS wrote:


Apart from "split-brain" what other type of problem could the file 
have in order to be listed there (that potentially the gluster could 
'heal') ?
The files may not be in split-brain but actually need to be healed 
(data/ metadata/ entry heals).

-Ravi
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] question on gluster volume heal VOLUME info command

2016-05-10 Thread Angelos SAKELLAROPOULOS
Hi,

My question is embedded below.

On Tue, May 10, 2016 at 3:14 PM, Ravishankar N 
wrote:
>
> On 05/10/2016 04:37 PM, Angelos SAKELLAROPOULOS wrote:
>
> Hi,
>
> I use Glusterfs (branch v.3.6.9). I would like to ask you what does
"gluster volume heal VOLUME" command show ?
>
> This launches index heal.
>
> I use GlusterFs as shared storage and check the output of "gluster volume
heal VOLUME info" and "gluster volume heal VOLUME info split-brain"
commands. I would like to ask you what is the difference between above two
commands in
>
> The first lists all files that need heal (including split-brain ones)
while the second one only lists ones in split-brain.

Apart from "split-brain" what other type of problem could the file have in
order to be listed there (that potentially the gluster could 'heal') ?


>
> glusterfs version 3.6.9 ? Moreover, I get the following output when
executing above commands in my system:
>
> info split-brain has been re implemented in 3.7.x to make it more
accurate. (http://review.gluster.org/9459)
>
> #gluster volume heal test_volume info
> Brick server1:/mnt/bricks/test_volume/brick
> Status: Transport endpoint is not connected
>
>
> You need to see why you're getting ENOTCONN here. Is the brick up? Check
glfsheal-.log on the bricks. If both bricks are up, even  "gluster
volume heal VOLUME info"  should print the file that is in split-brain.
>
> -Ravi
>
> Brick server2:/mnt/bricks/test_volume/brick
>  /aDirectory/aFile
> then I try to check output of gluster volume heal info split-brain
command:
> #gluster volume heal test_volume split-brain
> Gathering list of split brain entries on volume services has been
successful
> Brick server1:/mnt/bricks/test_volume/brick
> Number of entries:0
> Brick server2:/mnt/bricks/test_volume/brick
> Number of entries:0
> I also hexdump file /ment/bricks/test_volume/brick/aDirectory/aFile and
receive input/output error and I wonder why "gluster volume heal VOLUME
info split-brain" does not show
/mnt/bricks/test_volume/brick/aDirectory/aFile in split brain mode ?
>
> Thanks,
> Angelos
>
>
> ___
> Gluster-devel mailing list
> Gluster-devel@gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel
>
>
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] question on gluster volume heal VOLUME info command

2016-05-10 Thread Ravishankar N

On 05/10/2016 04:37 PM, Angelos SAKELLAROPOULOS wrote:

Hi,

I use Glusterfs (branch v.3.6.9). I would like to ask you what does 
"gluster volume heal VOLUME" command show ?

This launches index heal.

I use GlusterFs as shared storage and check the output of "gluster 
volume heal VOLUME info" and "gluster volume heal VOLUME info 
split-brain" commands. I would like to ask you what is the difference 
between above two commands in
The first lists all files that need heal (including split-brain ones) 
while the second one only lists ones in split-brain.


glusterfs version 3.6.9 ? Moreover, I get the following output when 
executing above commands in my system:
info split-brain has been re implemented in 3.7.x to make it more 
accurate. (http://review.gluster.org/9459)

#gluster volume heal test_volume info
Brick server1:/mnt/bricks/test_volume/brick
Status: Transport endpoint is not connected


You need to see why you're getting ENOTCONN here. Is the brick up? Check 
glfsheal-.log on the bricks. If both bricks are up, even  
"gluster volume heal VOLUME info"  should print the file that is in 
split-brain.


-Ravi

Brick server2:/mnt/bricks/test_volume/brick
 /aDirectory/aFile
then I try to check output of gluster volume heal info split-brain 
command:

#gluster volume heal test_volume split-brain
Gathering list of split brain entries on volume services has been 
successful

Brick server1:/mnt/bricks/test_volume/brick
Number of entries:0
Brick server2:/mnt/bricks/test_volume/brick
Number of entries:0
I also hexdump file /ment/bricks/test_volume/brick/aDirectory/aFile 
and receive input/output error and I wonder why "gluster volume heal 
VOLUME info split-brain" does not show 
/mnt/bricks/test_volume/brick/aDirectory/aFile in split brain mode ?


Thanks,
Angelos


___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel



___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

[Gluster-devel] question on gluster volume heal VOLUME info command

2016-05-10 Thread Angelos SAKELLAROPOULOS
Hi,

I use Glusterfs (branch v.3.6.9). I would like to ask you what does
"gluster volume heal VOLUME" command show ?
I use GlusterFs as shared storage and check the output of "gluster volume
heal VOLUME info" and "gluster volume heal VOLUME info split-brain"
commands. I would like to ask you what is the difference between above two
commands in glusterfs version 3.6.9 ? Moreover, I get the following output
when executing above commands in my system:
#gluster volume heal test_volume info
Brick server1:/mnt/bricks/test_volume/brick
Status: Transport endpoint is not connected
Brick server2:/mnt/bricks/test_volume/brick
 /aDirectory/aFile
then I try to check output of gluster volume heal info split-brain command:
#gluster volume heal test_volume split-brain
Gathering list of split brain entries on volume services has been successful
Brick server1:/mnt/bricks/test_volume/brick
Number of entries:0
Brick server2:/mnt/bricks/test_volume/brick
Number of entries:0
I also hexdump file /ment/bricks/test_volume/brick/aDirectory/aFile and
receive input/output error and I wonder why "gluster volume heal VOLUME
info split-brain" does not show
/mnt/bricks/test_volume/brick/aDirectory/aFile in split brain mode ?

Thanks,
Angelos
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel