Hi Etienne,

Thanks for your answer. I actually had to remove the class first. So for 
example this 2-step process works:

ceph osd crush rm-device-class osd.0
ceph osd crush set-device-class sdd osd.0

osd tree now reports correctly sdd as class. Funilly enough "ceph orch device 
ls" still reports hdd as class but maybe this is a matter of time that it 
changes in the orchestrator.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, August 16th, 2021 at 12:10 PM, Etienne Menguy 
<[email protected]> wrote:

> Hi,
>
> Changing device class works?
>
> https://docs.ceph.com/en/latest/rados/operations/crush-map/#device-classes
> ceph osd crush set-device-class <class> <osd-name> [...]
>
> Étienne
>
>> On 16 Aug 2021, at 12:05, mabi <[email protected]> wrote:
>>
>> Hello,
>>
>> I noticed that cephadm detects my newly added SSD disk as type HDD as you 
>> can see below:
>>
>> $ ceph orch device ls
>> Hostname Path Type Serial Size Health Ident Fault Available
>> node1 /dev/sda hdd REMOVED 7681G Unknown N/A N/A No
>>
>> How can I force the disk type to SSD instead of HDD?
>>
>> Regards,
>> Mabi
>> _______________________________________________
>> ceph-users mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to