On Fri, Nov 3, 2017 at 4:04 PM, Linh Vu <v...@unimelb.edu.au> wrote:
> Hi all,
>
>
> Back in Luminous Dev and RC, I was able to do this:
>
>
> `ceph osd crush class create myclass`

This was removed as part of https://github.com/ceph/ceph/pull/16388

It looks like the set-device-class command is the replacement or equivalent.

$ ceph osd crush class ls
[
    "ssd"
]

$ ceph osd crush set-device-class myclass 0 1

$ ceph osd crush class ls
[
    "ssd",
    "myclass"
]

>
>
> so I could utilise the new CRUSH device classes feature as described here:
> http://ceph.com/community/new-luminous-crush-device-classes/
>
>
>
> and in use here:
> http://blog-fromsomedude.rhcloud.com/2017/05/16/Luminous-series-CRUSH-devices-class/
>
>
> Now I'm on Luminous LTS 12.2.1 and my custom device classes are still seen
> in:
>
>
> `ceph osd crush class ls`
>
>
> `ceph osd tree` and so on. The cluster is working fine and healthy.
>
>
> However, when I run `ceph osd crush class create myclass2` now, it tells me
> the command doesn't exist anymore.
>
>
> Are we not meant to create custom device classes anymore?
>
>
> Regards,
>
> Linh
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>



-- 
Cheers,
Brad
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to