Re: [Gluster-users] Brick Preference

2010-06-28 Thread phil cryer
On Thu, Jun 24, 2010 at 11:20 AM, Jeff Darcy wrote: > The setfattrs are actually attribute deletes, so deleting what already > didn't exist is a no-op. I was working with another user on the IRC > channel yesterday who was seeing the same thing. The approach we came > up with was: That was me,

Re: [Gluster-users] Brick Preference

2010-06-24 Thread Jeff Darcy
On 06/24/2010 12:49 PM, Andy Pace wrote: > When is a good time to defrag? Is it something I should cron > (hourly? Daily?) to make sure files are evenly distributed amongst > each brick? It's totally up to you. The way I just outlined is a bit disruptive. We're doing it to recover from what looks

Re: [Gluster-users] Brick Preference

2010-06-24 Thread Harshavardhana
On 06/24/2010 09:49 AM, Andy Pace wrote: When is a good time to defrag? Is it something I should cron (hourly? Daily?) to make sure files are evenly distributed amongst each brick? Files on our gluster infrastructure are going to be changing very often (xen sparse image files), and the last th

Re: [Gluster-users] Brick Preference

2010-06-24 Thread Andy Pace
uster-users] Brick Preference On 06/24/2010 10:57 AM, Andy Pace wrote: > Good call. > > > However, when running scale-n-defrag.sh (not supposed to run defrag.sh > standalone apparently), i get a lot of errors: > > find: `setfattr': No such file or directory The s

Re: [Gluster-users] Brick Preference

2010-06-24 Thread Jeff Darcy
On 06/24/2010 10:57 AM, Andy Pace wrote: > Good call. > > > However, when running scale-n-defrag.sh (not supposed to run > defrag.sh standalone apparently), i get a lot of errors: > > find: `setfattr': No such file or directory The setfattrs are actually attribute deletes, so deleting what alr

Re: [Gluster-users] Brick Preference

2010-06-24 Thread Andy Pace
lf Of Harshavardhana Sent: Thursday, June 24, 2010 2:10 AM To: gluster-users@gluster.org Subject: Re: [Gluster-users] Brick Preference On 06/23/2010 01:53 PM, Andy Pace wrote: > Just wondering how Gluster determines which brick to send files to. I've got > 4 bricks setup right now, and benchm

Re: [Gluster-users] Brick Preference

2010-06-24 Thread Andy Pace
: gluster-users-boun...@gluster.org [mailto:gluster-users-boun...@gluster.org] On Behalf Of Harshavardhana Sent: Thursday, June 24, 2010 2:10 AM To: gluster-users@gluster.org Subject: Re: [Gluster-users] Brick Preference On 06/23/2010 01:53 PM, Andy Pace wrote: > Just wondering how Gluster determines which

Re: [Gluster-users] Brick Preference

2010-06-24 Thread Harshavardhana
On 06/23/2010 01:53 PM, Andy Pace wrote: Just wondering how Gluster determines which brick to send files to. I've got 4 bricks setup right now, and benchmarking 4 clients against them, and it seems that all the clients prefer bricks 3 and 4, rather than 1 and 2... It's setup in a replicating/d

[Gluster-users] Brick Preference

2010-06-23 Thread Andy Pace
Just wondering how Gluster determines which brick to send files to. I've got 4 bricks setup right now, and benchmarking 4 clients against them, and it seems that all the clients prefer bricks 3 and 4, rather than 1 and 2... It's setup in a replicating/distributing model. Is there a way to 'weig