Have you tried with a newer version of ceph? There has been a major rewrite of ceph-volume in 15.2.8 [1], maybe this was already resolved?

[1] https://docs.ceph.com/en/latest/releases/octopus/#notable-changes


Zitat von Tony Liu <tonyliu0...@hotmail.com>:

Hi,

When build cluster Octopus 15.2.5 initially, here is the OSD
service spec file applied.
```
service_type: osd
service_id: osd-spec
placement:
  host_pattern: ceph-osd-[1-3]
data_devices:
  rotational: 1
db_devices:
  rotational: 0
```
After applying it, all HDDs were added and DB of each hdd is created
on SSD.

Here is the export of OSD service spec.
```
# ceph orch ls --service_name osd.osd-spec --export
service_type: osd
service_id: osd-spec
service_name: osd.osd-spec
placement:
  host_pattern: ceph-osd-[1-3]
spec:
  data_devices:
    rotational: 1
  filter_logic: AND
  objectstore: bluestore
```
Why db_devices doesn't show up there?

When I replace a disk recently, when the new disk was installed and
zapped, OSD was automatically re-created, but DB was created on HDD,
not SSD. I assume this is because of that missing db_devices?

I tried to update service spec, the same result, db_devices doesn't
show up when export it.

Is this some known issue or something I am missing?


Thanks!
Tony
_______________________________________________
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

Reply via email to