Re: [Gluster-users] removing peers manually

2015-12-13 Thread Atin Mukherjee
On 12/14/2015 07:45 AM, Thing wrote: > I seem to have a peer that I cannot detach, network seems fine, I > assume I dont have to bare metal rebuild it to clean it up? > > == > [root@ipa1 salt]# salt 'glusterp3.graywitch.co.nz > ' cmd.run "gluster peer

[Gluster-users] command failure

2015-12-13 Thread Thing
I am trying to setup a replication across 3 servers, for some reason I get a failure, /data1 is my 120gb test volume, (I am waiting on the arrival of 3 x 1tb disks) The failure I get is, = [root@ipa1 salt]# salt glusterp1.graywitch.co.nz cmd.run "gluster volume create glustervol01 replica 3

[Gluster-users] gluster peer status error

2015-12-13 Thread Thing
For some reason glusterp2 isnt showing up correctly? DNS is correct as is the hosts file, what have I done wrongly and how do I fix it please? = [root@ipa1 salt]# salt '*' cmd.run "gluster peer status" glusterp2.graywitch.co.nz: Number of Peers: 2 Hostname: 192.168.1.1

Re: [Gluster-users] command failure

2015-12-13 Thread Thing
I dont seem to have a consistant cluster, how do I get rid of 192.168.1.1 which shouldnt be there? deatch wont work, is there a file I can edit by hand? = [root@ipa1 salt]# salt 'glusterp1.graywitch.co.nz' cmd.run "gluster peer status" glusterp1.graywitch.co.nz: Number of Peers: 1

[Gluster-users] concurrent writes not all being written

2015-12-13 Thread Andrus, Brian Contractor
All, I have a small gluster filesystem on 3 nodes. I have a perl program that multi-threads and each thread writes it's output to one of 3 files depending on some results. My trouble is that I am seeing missing lines from the output. The input is a file of 500 lines. Depending on the line, it

Re: [Gluster-users] command failure

2015-12-13 Thread Lindsay Mathieson
On 14/12/15 10:34, Thing wrote: I am trying to setup a replication across 3 servers, for some reason I get a failure, /data1 is my 120gb test volume, (I am waiting on the arrival of 3 x 1tb disks) The failure I get is, = [root@ipa1 salt]# salt glusterp1.graywitch.co.nz

Re: [Gluster-users] command failure

2015-12-13 Thread Thing
Hi, No its mounted fine. --edit-- data1 not data01, doh On 14 December 2015 at 13:53, Lindsay Mathieson wrote: > On 14/12/15 10:34, Thing wrote: > > I am trying to setup a replication across 3 servers, for some reason I get > a failure, > > /data1 is my

Re: [Gluster-users] unable to create gluster volume

2015-12-13 Thread Atin Mukherjee
This looks like your peers are in inconsistent state. I believe peer status output must be showing glusterp2 in disconnected state. Can you forcibly detach it and then attach it back to the cluster? On Mon, Dec 14, 2015 at 9:07 AM, Thing wrote: > I am attempting to create

[Gluster-users] removing peers manually

2015-12-13 Thread Thing
I seem to have a peer that I cannot detach, network seems fine, I assume I dont have to bare metal rebuild it to clean it up? == [root@ipa1 salt]# salt 'glusterp3.graywitch.co.nz' cmd.run "gluster peer status" glusterp3.graywitch.co.nz: Number of Peers: 1 Hostname:

[Gluster-users] unable to create gluster volume

2015-12-13 Thread Thing
I am attempting to create a gluster volume but get this error, [root@glusterp1 data1]# gluster volume create volume1 replica 3 transport tcp glusterp1.graywitch.co.nz:/data1 glusterp2.graywitch.co.nz:/data1 gvolume create: volume1: failed: Staging failed on glusterp3.graywitch.co.nz.

Re: [Gluster-users] How to diagnose volume rebalance failure?

2015-12-13 Thread PuYun
Here is the tail of the failed rebalance log, any clue? [2015-12-13 21:30:31.527493] I [dht-rebalance.c:2340:gf_defrag_process_dir] 0-FastVol-dht: Migration operation on dir /for_ybest_fsdir/user/Weixin.oClDcjhe/Ny/5F/1MsH5--BcoGRAJPI took 20.95 secs [2015-12-13 21:30:31.528704] I