Pranith Kumar Karampuri
2017-May-19 07:39 UTC
[Gluster-users] gluster remove-brick problem
Adding gluster-users, developers who work on distribute module of gluster. On Fri, May 19, 2017 at 12:58 PM, ???(?????) <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/20170519/fcbf8aa3/attachment.html>
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> 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> 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/20170519/96ffc547/attachment.html>