[Gluster-devel] Rebalance failure wrt trashcan

Nithya Balachandran nbalacha at redhat.com
Thu May 14 11:08:46 UTC 2015


The rebalance failure is due to the interaction of the lookup-unhashed changes and rebalance local crawl changes. I will send a patch shortly.

Regards,
Nithya




----- SATHEESARAN <sasundar at redhat.com> wrote:
> On 05/14/2015 12:55 PM, Vijay Bellur wrote:
> > On 05/14/2015 09:00 AM, SATHEESARAN wrote:
> >> Hi All,
> >>
> >> I was using glusterfs-3.7 beta2 build (
> >> glusterfs-3.7.0beta2-0.0.el6.x86_64 )
> >> I have seen rebalance failure in one of the node.
> >>
> >> [2015-05-14 12:17:03.695156] E
> >> [dht-rebalance.c:2368:gf_defrag_settle_hash] 0-vmstore-dht: fix layout
> >> on /.trashcan/internal_op failed
> >> [2015-05-14 12:17:03.695636] E [MSGID: 109016]
> >> [dht-rebalance.c:2528:gf_defrag_fix_layout] 0-vmstore-dht: Fix layout
> >> failed for /.trashcan
> >>
> >> Does it have any impact ?
> >>
> >
> > I don't think there should be any impact due to this. rebalance should 
> > continue fine without any problems. Do let us know if you observe the 
> > behavior to be otherwise.
> >
> > -Vijay
> I tested the same functionally and I don't find any impact as such, but 
> the 'gluster volume status <vol-name>' reports the rebalance as a FAILURE.
> Any tool ( for example oVirt ), consuming the output from 'gluster 
> volume status <vol> --xml'  would report the rebalance operation as FAILURE
> 
> [root@ ~]# gluster volume rebalance vmstore start
> volume rebalance: vmstore: success: Rebalance on vmstore has been 
> started successfully. Use rebalance status command to check status of 
> the rebalance process.
> ID: 68a12fc9-acd5-4f24-ba2d-bfc070ad5668
> 
> [root@~]# gluster volume rebalance vmstore status
>                                      Node Rebalanced-files size       
> scanned      failures       skipped status   run time in secs
>                                 ---------      ----------- -----------   
> -----------   -----------   ----------- ------------     --------------
>                                 localhost                0 
> 0Bytes             2             0             0 completed               
> 0.00
>                               10.70.37.58                0 
> 0Bytes             0             3             0 failed               0.00
> volume rebalance: vmstore: success:
> 
> [root@~]# gluster volume status vmstore
> Status of volume: vmstore
> Gluster process                             TCP Port  RDMA Port Online  Pid
> ------------------------------------------------------------------------------
> ......
> 
> Task Status of Volume vmstore
> ------------------------------------------------------------------------------
> Task                 : Rebalance
> ID                   : 68a12fc9-acd5-4f24-ba2d-bfc070ad5668
> Status               : failed
> 
> Snip from --xml tasks :
> <tasks>
>            <task>
>              <type>Rebalance</type>
> <id>68a12fc9-acd5-4f24-ba2d-bfc070ad5668</id>
>              <status>4</status>
>              <statusStr>failed</statusStr>
>            </task>
> </tasks>
> 
> Even this is the case with remove-brick with data migration too
> 
> -- sas
> 
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel



More information about the Gluster-devel mailing list