[ceph-users] Re: Reserve OSDs exclusive for pool

2022-08-21 Thread Anthony D'Atri

https://ceph.io/en/news/blog/2017/new-luminous-crush-device-classes/

It’s in the CRUSH map, so it’s persistent.  

> On Aug 21, 2022, at 12:12 PM, Boris Behrens  wrote:
> 
> Hi Anthony,
> oh that is cool.
> 
> Does the OSD overwrite it, after restarts? Anything I would need to know,
> after doing this to persist it?
> 
> Cheers
> Boris
> 
>> Am So., 21. Aug. 2022 um 20:55 Uhr schrieb Anthony D'Atri <
>> anthony.da...@gmail.com>:
>> 
>> Set an arbitrary device class for those OSDs, say “ssdreserved”, and
>> define a CRUSH rule for that pool that matches only that class.  Use rules
>> for other pools that constrain to “ssd”, “hdd”, etc.
>> 
>> Device class names can be set to whatever you want, it’s easy to think
>> trust they’re pinned to hardware type, but that’s not true.
> ___
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: Reserve OSDs exclusive for pool

2022-08-21 Thread Boris Behrens
Hi Anthony,
oh that is cool.

Does the OSD overwrite it, after restarts? Anything I would need to know,
after doing this to persist it?

Cheers
 Boris

Am So., 21. Aug. 2022 um 20:55 Uhr schrieb Anthony D'Atri <
anthony.da...@gmail.com>:

> Set an arbitrary device class for those OSDs, say “ssdreserved”, and
> define a CRUSH rule for that pool that matches only that class.  Use rules
> for other pools that constrain to “ssd”, “hdd”, etc.
>
> Device class names can be set to whatever you want, it’s easy to think
> trust they’re pinned to hardware type, but that’s not true.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: Reserve OSDs exclusive for pool

2022-08-21 Thread Anthony D'Atri
Set an arbitrary device class for those OSDs, say “ssdreserved”, and define a 
CRUSH rule for that pool that matches only that class.  Use rules for other 
pools that constrain to “ssd”, “hdd”, etc.  

Device class names can be set to whatever you want, it’s easy to think trust 
they’re pinned to hardware type, but that’s not true.  

> On Aug 21, 2022, at 11:00 AM, Boris  wrote:
> 
> Cheers,
> because of this bug (https://tracker.ceph.com/issues/53585) I‘d like to 
> reserve one SSD OSD per host exclusive for a single pool. All other pools can 
> take whatever OSDs they want. 
> 
> Is this possible?
> 
> Best wishes
> Boris
> ___
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io