Let's begin the configuration:
- Get the current CRUSH map and decompile it:
# ceph osd getcrushmap -o crushmapdump # crushtool -d crushmapdump -o crushmapdump-decompiled
- Edit the crushmapdump-decompiled CRUSH map file and add the following section after the root default section:
- Create the CRUSH rule by adding the following rules under the rule section of the CRUSH map, and then save and exit the file:
- Compile and inject ...