[Gluster-users] Replica brick not working

Atin Mukherjee amukherj at redhat.com
Wed Dec 7 09:44:08 UTC 2016


On Tue, Dec 6, 2016 at 10:08 PM, Miloš Čučulović - MDPI <cuculovic at mdpi.com>
wrote:

> Dear All,
>
> I have two servers, storage and storage2.
> The storage2 had a volume called storage.
> I then decided to add a replica brick (storage).
>
> I did this in the following way:
>
> 1. sudo gluster peer probe storage (on storage server2)
> 2. sudo gluster volume add-brick storage replica 2
> storage:/data/data-cluster
>
> Then I was getting the following error:
> volume add-brick: failed: Operation failed
>
> But, it seems the brick was somehow added, as when checking on storage2:
> sudo gluster volume info storage
> I am getting:
> Status: Started
> Number of Bricks: 1 x 2 = 2
> Transport-type: tcp
> Bricks:
> Brick1: storage2:/data/data-cluster
> Brick2: storage:/data/data-cluster
>

> So, seems ok here, however, when doing:
> sudo gluster volume heal storage info
> I am getting:
> Volume storage is not of type replicate/disperse
> Volume heal failed.
>
>
> Also, when doing
> sudo gluster volume status all
>
> I am getting:
> Status of volume: storage
> Gluster process                       TCP Port  RDMA Port  Online  Pid
> ------------------------------------------------------------
> ------------------
> Brick storage2:/data/data-cluster    49152     0          Y       2160
> Brick storage:/data/data-cluster     N/A       N/A        N       N/A
> Self-heal Daemon on localhost        N/A       N/A        Y       7906
> Self-heal Daemon on storage          N/A       N/A        N       N/A
>
> Task Status of Volume storage
> ------------------------------------------------------------
> ------------------
>
> Any idea please?
>

It looks like the brick didn't come up during an add-brick. Could you share
cmd_history, glusterd and the new brick log file from both the nodes? As a
workaround, could you try 'gluster volume start storage force' and see if
the issue persists?


>
> --
> - Kindest regards,
>
> Milos Cuculovic
> IT Manager
>
> ---
> MDPI AG
> Postfach, CH-4020 Basel, Switzerland
> Office: St. Alban-Anlage 66, 4052 Basel, Switzerland
> Tel. +41 61 683 77 35
> Fax +41 61 302 89 18
> Email: cuculovic at mdpi.com
> Skype: milos.cuculovic.mdpi
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
>



-- 

~ Atin (atinm)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161207/38640635/attachment.html>


More information about the Gluster-users mailing list