O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

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

Checking the CRUSH map

We can query the CRUSH map directly from the ceph osd commands. The CRUSH map command-line utility can save a lot of the system administrator's time as compared to the conventional way of viewing and editing it after the decompilation of the CRUSH map:

  • To view the CRUSH map, execute the following command:
        # ceph osd crush dump
  • To view the CRUSH map rules, execute the following command:
        # ceph osd crush rule list
  • To view the detailed CRUSH rule, execute the following command:
        # ceph osd crush rule dump <crush_rule_name>

The following figure displays the output of our query CRUSH map:

If you are managing a large ...

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