O'Reilly logo

Ceph Cookbook by Karan Singh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CRUSH map internals

To know what is inside a crush map, and for easy editing we need to extract and decompile it to convert it into a human-readable form. The following diagram illustrates this process:

CRUSH map internals

The change to the Ceph cluster by the CRUSH map is dynamic, that is, once the new crush map is injected into the Ceph cluster, all the changes will come into effect immediately, on the fly.

How to do it…

We will now take a look at the CRUSH map of our Ceph cluster:

  1. Extract the CRUSH map from any of the monitor nodes:
    # ceph osd getcrushmap -o crushmap_compiled_file
    
  2. Once you have the CRUSH map, decompile it to convert it into a human-readable/editable ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required