[Gluster-users] Replica brick not working

Miloš Čučulović - MDPI cuculovic at mdpi.com
Tue Dec 6 16:38:54 UTC 2016


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?


-- 
- 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


More information about the Gluster-users mailing list