[Gluster-users] gluster remove-brick problem

郭鸿岩(基础平台部) guohongyanghy at didichuxing.com
Sat May 20 04:58:58 UTC 2017


Thank you very much!
I have found the reason with the help of your advice.

I check the log carefully and thoroughly, and found  the cause of the failure is the server node can not connect the other peer ones because of DNS resolution.
After I configured the "IP hostnames” to /etc/hosts
It works as expect!

Thanks to everyone.  May you joy and happiness forever.

by starshine.




在 2017年5月20日,00:48,Nithya Balachandran <nbalacha at redhat.com<mailto:nbalacha at redhat.com>> 写道:

Hi,

The rebalance could have failed because of any one of several reasons. You would need to check the rebalance log for the volume to figure out why it failed in this case. This should be /var/log/glusterfs/data-rebalance.log on bigdata-dlp-server00.xg01.

I can take a look at the log if you send it across.

Regards,
Nithya

On 19 May 2017 at 13:09, Pranith Kumar Karampuri <pkarampu at redhat.com<mailto:pkarampu at redhat.com>> wrote:
Adding gluster-users, developers who work on distribute module of gluster.

On Fri, May 19, 2017 at 12:58 PM, 郭鸿岩(基础平台部) <guohongyanghy at didichuxing.com<mailto:guohongyanghy at didichuxing.com>> wrote:
Hello,

        I am a user of Gluster 3.8 from beijing, China.
        I met a problem.  I added a brick to a volume, but the brick is on the / disk, the same disk with the linux OS.
        So I want to remove it. The volume is of distributed type without replica.

        I use commad: gluster volume remove-brick data server1:/vdata/bricks/data start,
        It is ok. The command is successfully accepted by gluster. But then I check status:  gluster volume remove-brick data server1:/vdata/bricks/data status.
        IT showd:

        Node Rebalanced-files size scanned failures skipped status run time in h:m:s
         --------- ----------- ----------- ----------- ----------- ----------- ------------ ———————
         bigdata-dlp-server00.xg01 0 0Bytes 0 1 0 failed 0:0:0

0 files Scaned, 0 Bytes transfered and 1 failure.

Please give me some advice , How could I do to remove this brick without data loss?

Thank you very much!

best wishes.


by starshine.



--
Pranith


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170520/a1d6c476/attachment.html>


More information about the Gluster-users mailing list