Re: [Gluster-users] Fwd: Replica brick not working

2016-12-19 Thread Miloš Čučulović - MDPI
All was fixed now, thank you very much. I had to completely purge the storage2 server for all glusterfs files. The entire procedure is as follows: How to add a new replica volume 1. Purge all glusterfs packages on new server 2. Remove all from /var/log/glusterfs and /var/lib/glusterfs 3. Instal

Re: [Gluster-users] Fwd: Replica brick not working

2016-12-14 Thread Atin Mukherjee
On Wed, Dec 14, 2016 at 1:34 PM, Miloš Čučulović - MDPI wrote: > Atin, > > I was able to move forward a bit. Initially, I had this: > > sudo gluster peer status > Number of Peers: 1 > > Hostname: storage2 > Uuid: 32bef70a-9e31-403e-b9f3-ec9e1bd162ad > State: Peer Rejected (Connected) > > Then, on

Re: [Gluster-users] Fwd: Replica brick not working

2016-12-14 Thread Miloš Čučulović - MDPI
Atin, I was able to move forward a bit. Initially, I had this: sudo gluster peer status Number of Peers: 1 Hostname: storage2 Uuid: 32bef70a-9e31-403e-b9f3-ec9e1bd162ad State: Peer Rejected (Connected) Then, on storage2 I removed all from /var/lib/glusterd except the info file. Now I am getti

Re: [Gluster-users] Fwd: Replica brick not working

2016-12-13 Thread Atin Mukherjee
Milos, I just managed to take a look into a similar issue and my analysis is at [1]. I remember you mentioning about some incorrect /etc/hosts entries which lead to this same problem in earlier case, do you mind to recheck the same? [1] http://www.gluster.org/pipermail/gluster-users/2016-December

Re: [Gluster-users] Fwd: Replica brick not working

2016-12-13 Thread Miloš Čučulović - MDPI
Hi All, Moving forward with my issue, sorry for the late reply! I had some issues with the storage2 server (original volume), then decided to use 3.9.0, si I have the latest version. For that, I synced manually all the files to the storage server. I installed there gluster 3.9.0, started it,

Re: [Gluster-users] Fwd: Replica brick not working

2016-12-08 Thread Pranith Kumar Karampuri
On Thu, Dec 8, 2016 at 11:25 PM, Pranith Kumar Karampuri < pkara...@redhat.com> wrote: > > > On Thu, Dec 8, 2016 at 11:17 PM, Pranith Kumar Karampuri < > pkara...@redhat.com> wrote: > >> >> >> On Thu, Dec 8, 2016 at 10:22 PM, Ravishankar N >> wrote: >> >>> On 12/08/2016 09:44 PM, Miloš Čučulović

Re: [Gluster-users] Fwd: Replica brick not working

2016-12-08 Thread Pranith Kumar Karampuri
On Thu, Dec 8, 2016 at 11:17 PM, Pranith Kumar Karampuri < pkara...@redhat.com> wrote: > > > On Thu, Dec 8, 2016 at 10:22 PM, Ravishankar N > wrote: > >> On 12/08/2016 09:44 PM, Miloš Čučulović - MDPI wrote: >> >>> I was able to fix the sync by rsync-ing all the directories, then the >>> hale sta

Re: [Gluster-users] Fwd: Replica brick not working

2016-12-08 Thread Pranith Kumar Karampuri
On Thu, Dec 8, 2016 at 10:22 PM, Ravishankar N wrote: > On 12/08/2016 09:44 PM, Miloš Čučulović - MDPI wrote: > >> I was able to fix the sync by rsync-ing all the directories, then the >> hale started. The next problem :), as soon as there are files on the new >> brick, the gluster mount will ren

Re: [Gluster-users] Fwd: Replica brick not working

2016-12-08 Thread Ravishankar N
On 12/08/2016 09:44 PM, Miloš Čučulović - MDPI wrote: I was able to fix the sync by rsync-ing all the directories, then the hale started. The next problem :), as soon as there are files on the new brick, the gluster mount will render also this one for mounts, and the new brick is not ready yet,

Re: [Gluster-users] Fwd: Replica brick not working

2016-12-08 Thread Miloš Čučulović - MDPI
I was able to fix the sync by rsync-ing all the directories, then the hale started. The next problem :), as soon as there are files on the new brick, the gluster mount will render also this one for mounts, and the new brick is not ready yet, as the sync is not yet done, so it results on missing

Re: [Gluster-users] Fwd: Replica brick not working

2016-12-08 Thread Miloš Čučulović - MDPI
Additional info, there are warning / errors in the new brick: [2016-12-08 15:37:05.053615] E [MSGID: 115056] [server-rpc-fops.c:509:server_mkdir_cbk] 0-storage-server: 12636867: MKDIR /dms (----0001/dms) ==> (Permission denied) [Permission denied] [2016-12-08 15:37:

Re: [Gluster-users] Fwd: Replica brick not working

2016-12-08 Thread Miloš Čučulović - MDPI
1. No, atm the old server (storage2) volume is mounted on some other servers, so all files are created there. If I check the new brick, there is no files. 2. On storage2 server (old brick) getfattr: Removing leading '/' from absolute path names # file: data/data-cluster trusted.gfid=0x

Re: [Gluster-users] Fwd: Replica brick not working

2016-12-08 Thread Ravishankar N
On 12/08/2016 06:53 PM, Atin Mukherjee wrote: On Thu, Dec 8, 2016 at 6:44 PM, Miloš Čučulović - MDPI mailto:cuculo...@mdpi.com>> wrote: Ah, damn! I found the issue. On the storage server, the storage2 IP address was wrong, I inversed two digits in the /etc/hosts file, sorry for t

Re: [Gluster-users] Fwd: Replica brick not working

2016-12-08 Thread Miloš Čučulović - MDPI
A note to add, when checking the sudo gluster volume heal storage info I am getting more than 2k Number of entries, but no file on storage server (replica). - Kindest regards, Milos Cuculovic IT Manager --- MDPI AG Postfach, CH-4020 Basel, Switzerland Office: St. Alban-Anlage 66, 4052 Basel

Re: [Gluster-users] Fwd: Replica brick not working

2016-12-08 Thread Atin Mukherjee
On Thu, Dec 8, 2016 at 6:44 PM, Miloš Čučulović - MDPI wrote: > Ah, damn! I found the issue. On the storage server, the storage2 IP > address was wrong, I inversed two digits in the /etc/hosts file, sorry for > that :( > > I was able to add the brick now, I started the heal, but still no data > t