Re: Crush Map and SSD Pools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you want to be able to start your osd's with /etc/init.d/ceph init
script, then you better make sure that /etc/ceph/ceph.conf does link
the osd's to the actual hostname :)

Check out this snippet from my ceph.conf:


[osd.0]
host = ceph-01
osd crush location = "host=ceph-01-ssd root=ssd"

[osd.1]
host = ceph-01

[osd.2]
host = ceph-01


You see all osd's are linked to the right hostname. But the ssd osd is
then explicitly set to go into the right crush location too.

Kind regards,

Erik.



On 12/30/2014 11:11 PM, Lindsay Mathieson wrote:
> On Tue, 30 Dec 2014 10:38:14 PM Erik Logtenberg wrote:
>> No, bucket names in crush map are completely arbitrary. In fact,
>> crush doesn't really know what a "host" is. It is just a bucket,
>> like "rack" or "datacenter". But they could be called "cat" and
>> "mouse" just as well.
> 
> Hmmm, I tried that earlier and ran into problems with
> starting/stopping the osd - but maybe I screwed something else up.
> Will give it another go.
> 
> 
> 
> _______________________________________________ ceph-users mailing
> list ceph-users@xxxxxxxxxxxxxx 
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux