Hi Sage,
On Fri, 2008-10-24 at 11:33 -0700, Sage Weil wrote:
> The next step to growing the cluster is to expand the CRUSH map to 
> actually allocate data to those OSDs.  That part is a bit more
> involved, 
> as it should involve some planning as far as if and how you'll be
> breaking 
> up the OSD cluster into failure domains, and what kind of future
> growth 
> you expect.  
> 
> 1 - Grab and decompile the current CRUSH map with
> 
>  ./cmonctl osd getcrushmap -o cm
>  ./crushtool -d cm > cm.txt
> 
> 2 - Edit cm.txt to your liking
> 
> 3 - Profit!
>  ./crushtool -c cm.txt -o cm
>  ./cmonctl osd setcrushmap -i cm
> 
> As always, step 2 is the tricky part.  The easiest thing is to make
> the 
> single bucket use 'alg straw' and stick all of the devices in there,
> as 
> straw buckets give you the least data movement when adding/removing 
> devices.  The downside is that it's a slower mapping calculation, but
> for 
> smallish clusters (<= 50 osds) that shouldn't be a problem.

Makes sense... and worked like a charm!  Can't wait to hear the "Stable"
proclamation for ceph.  I'll even accept "Stable Enough".
Thanks for such a quick response!
Brian


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ceph-devel mailing list
Ceph-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ceph-devel

Reply via email to