ceph osd setmap command was disabled and subsequently removed 5 years
ago. See
9aadd41b2095 ("mon: disable 'osd setmap'") and
6d292397aa26
("mon: remove dead 'setmap' code").
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
ceph osd getmaxosd
-Import the given OSD map. Note that this can be a bit dangerous,
-since the OSD map includes dynamic state about which OSDs are current
-on or offline; only do this if you've just modified a (very) recent
-copy of the map. ::
-
- ceph osd setmap -i file
-
Import the given crush map. ::
ceph osd setcrushmap -i file