[Gluster-users] trouble rebalancing volume

Brian Cipriano bcipriano at zerovfx.com
Fri Mar 9 16:23:35 UTC 2012


Strange! Our procedures are almost exactly the same.

I did use the .deb file from gluster.org.

The only possible difference is that my bricks are mounted differently. 
My bricks are mounted within /gluster:

/gluster/brick0001
/gluster/brick0002

and so on.

- brian

On 3/9/12 11:19 AM, Xavier Normand wrote:
> Hi Brian,
>
> i replicate you setup and try to rebalance. I didn't have any of your 
> issue.
>
> There is what i did:
>
> 1. Install a Ubuntu 10.04 LTS 64Bit
> 2. Install GlusterFS using the .deb file
> 3. Add two drive two 1TB each format in ext4 mount on /data1 & /data2
> 4. Create a volume in glusterfs [ volume create data transport tcp 
> glustertest:/data1 ]
> 5. Start the volume et mount it on the same server on /media
> 6. Copy a bunch on file on it.
> 7. Add the other drive in the volume [ volume add-brick data 
> glustertest:/data2 ]
> 8. Rebalance [ volume rebalance data start ]
>
> Are you using the .deb file on gluster.org <http://gluster.org>?
>
> *Xavier*
>
>
> On Fri, Mar 9, 2012 at 10:57 AM, Brian Cipriano <bcipriano at zerovfx.com 
> <mailto:bcipriano at zerovfx.com>> wrote:
>
>     10.04 LTS, 64-bit.
>
>
>     On 3/9/12 10:57 AM, Xavier Normand wrote:
>>     What version of Ubuntu are you using? LTS? 32 or 64 bits?
>>
>>     *Xavier Normand*
>>     Administrateur Système
>>     De Marque inc.
>>     418 658-1910 #229 <tel:418%20658-1910%20%23229>
>>
>>
>>     On Fri, Mar 9, 2012 at 10:30 AM, Brian Cipriano
>>     <bcipriano at zerovfx.com <mailto:bcipriano at zerovfx.com>> wrote:
>>
>>         Sure thing. I believe these are them.
>>
>>         The volume in question is called "west".
>>
>>         - brian
>>
>>
>>         On 3/9/12 10:27 AM, shylesh kumar wrote:
>>>         Hi Brian,
>>>
>>>         Could you please provide the rebalance and glusterd logs,
>>>         that would help in debugging the problem.
>>>
>>>
>>>         Thanks,
>>>         Shylesh
>>>
>>>
>>>
>>>
>>>         On Fri, Mar 9, 2012 at 8:52 PM, Brian Cipriano
>>>         <bcipriano at zerovfx.com <mailto:bcipriano at zerovfx.com>> wrote:
>>>
>>>             I've just confirmed that the same is happening on a
>>>             totally different Ubuntu machine. Doesn't seem to be
>>>             confined to the machine.
>>>
>>>             Could maybe be something I'm missing in the setup
>>>             though? Some package I haven't installed?
>>>
>>>             - brian
>>>
>>>
>>>             On 3/9/12 9:59 AM, Brian Cipriano wrote:
>>>
>>>                 Hi Shylesh - thanks for the reply.
>>>
>>>                 I've restarted a few times - glusterd, the volume,
>>>                 the machine itself. Same results.
>>>
>>>                 - brian
>>>
>>>                 On 3/9/12 12:46 AM, Shylesh Kumar Mohan wrote:
>>>
>>>                     Hi Brian,
>>>
>>>                     Could you please restart glusterd and try again
>>>                     rebalancing.
>>>
>>>
>>>
>>>                     Thanks,
>>>                     Shylesh
>>>
>>>                     ----- Original Message -----
>>>                     From: Brian Cipriano<bcipriano at zerovfx.com
>>>                     <mailto:bcipriano at zerovfx.com>>
>>>                     To: gluster-users at gluster.org
>>>                     <mailto:gluster-users at gluster.org>
>>>                     Sent: Thu, 08 Mar 2012 18:08:22 -0500 (EST)
>>>                     Subject: [Gluster-users] trouble rebalancing volume
>>>
>>>                     Hi all -
>>>
>>>                     I'm having issues rebalancing my layout/data
>>>                     across a two-brick volume.
>>>                     I'm on Gluster 3.2.5.
>>>
>>>                     I'm currently using a single Ubuntu 10.04
>>>                     machine. Both bricks reside on
>>>                     this machine. Adding the brick went fine. Here's
>>>                     the volume's info:
>>>
>>>                     $ sudo gluster volume info
>>>                     Volume Name: branch
>>>                     Type: Distribute
>>>                     Status: Started
>>>                     Number of Bricks: 2
>>>                     Transport-type: tcp
>>>                     Bricks:
>>>                     Brick1: system01:/gluster/brick0001
>>>                     Brick2: system01:/gluster/brick0002
>>>
>>>                     brick0001 has a bunch of files on it, brick0002
>>>                     is empty. I'd like to
>>>                     rebalance the directory layout and data onto the
>>>                     new brick. But strange
>>>                     things happen when I try to do this.
>>>
>>>                     $ sudo gluster volume rebalance branch
>>>                     fix-layout status
>>>                     rebalance stopped
>>>                     $ sudo gluster volume rebalance branch
>>>                     fix-layout start
>>>                     Rebalance on branch is already started
>>>                     $ sudo gluster volume rebalance branch
>>>                     fix-layout status
>>>                     rebalance stopped
>>>
>>>                     Weird! I can't seem to get this to work.
>>>
>>>                     Am I doing some wrong, or is this some other issue?
>>>
>>>                     Thanks!
>>>
>>>                     - brian
>>>                     _______________________________________________
>>>                     Gluster-users mailing list
>>>                     Gluster-users at gluster.org
>>>                     <mailto:Gluster-users at gluster.org>
>>>                     http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>>>
>>>
>>>                 _______________________________________________
>>>                 Gluster-users mailing list
>>>                 Gluster-users at gluster.org
>>>                 <mailto:Gluster-users at gluster.org>
>>>                 http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>>>
>>>
>>>             _______________________________________________
>>>             Gluster-users mailing list
>>>             Gluster-users at gluster.org <mailto:Gluster-users at gluster.org>
>>>             http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>>>
>>>
>>>
>>>
>>>         -- 
>>>         Thanks & Regards
>>>         Shylesh Kumar M
>>>
>>
>>
>>         _______________________________________________
>>         Gluster-users mailing list
>>         Gluster-users at gluster.org <mailto:Gluster-users at gluster.org>
>>         http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>>
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120309/bddf1fed/attachment.html>


More information about the Gluster-users mailing list