On Tue, Dec 6, 2016 at 10:08 PM, Miloš Čučulović - MDPI <cuculovic@xxxxxxxx> 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@xxxxxxxx
Skype: milos.cuculovic.mdpi
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users
--
~ Atin (atinm)
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users