diff options
author | Adam King <47704447+adk3798@users.noreply.github.com> | 2025-01-13 17:48:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-13 17:48:31 +0100 |
commit | 3bd914e333792b520b20e7edbeed8138cd9bdf63 (patch) | |
tree | 94969b2c8ccb535621e090e74263759f35ed587a /doc/cephadm | |
parent | Merge pull request #58604 from adk3798/cephadm-rgw-no-multisite-traffic (diff) | |
parent | ceph orch <start/stop/restart> commands should work for service name osd and ... (diff) | |
download | ceph-3bd914e333792b520b20e7edbeed8138cd9bdf63.tar.xz ceph-3bd914e333792b520b20e7edbeed8138cd9bdf63.zip |
Merge pull request #60690 from ShwetaBhosale1/fix_issue_68695_ceph_orch_commands_does_not_work_for_deployment_name_osd
mgr/cephadm: ceph orch <start/stop/restart> commands should work for service name osd and command to updated service name for osd
Reviewed-by: Adam King <adking@redhat.com>
Diffstat (limited to 'doc/cephadm')
-rw-r--r-- | doc/cephadm/services/osd.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/cephadm/services/osd.rst b/doc/cephadm/services/osd.rst index 831bd238c79..90ebd86f897 100644 --- a/doc/cephadm/services/osd.rst +++ b/doc/cephadm/services/osd.rst @@ -198,6 +198,18 @@ There are a few ways to create new OSDs: .. warning:: When deploying new OSDs with ``cephadm``, ensure that the ``ceph-osd`` package is not already installed on the target host. If it is installed, conflicts may arise in the management and control of the OSD that may lead to errors or unexpected behavior. +* OSDs created via ``ceph orch daemon add`` are by default not added to the orchestrator's OSD service, they get added to 'osd' service. To attach an OSD to a different, existing OSD service, issue a command of the following form: + + .. prompt:: bash * + + ceph orch osd set-spec-affinity <service_name> <osd_id(s)> + + For example: + + .. prompt:: bash # + + ceph orch osd set-spec-affinity osd.default_drive_group 0 1 + Dry Run ------- |