O'Reilly logo

Learning Ceph - Second Edition by Karan Singh, Vaibhav Bhembre, Anthony D'Atri

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 dump

This command presents much the same information as ceph osd tree, though in a different, JSON, format. Note a peek into the additional bucket types that Ceph predefines for large and complex deployments. As before many of the 2899 lines of output this command yielded on the author's reference cluster are cropped for brevity.

    # ceph osd crush dump | more
    {
        "devices": [
            {
                "id": 0,
                "name": "osd.0"
            },
            {
                "id": 1,
                "name": "osd.1"
            },
             ...
            {
                "id": 286,
                "name": "osd.286"
            }
        ],
        "types": [
            {
                "type_id": 0,
                "name": "osd"
            },
            {
                "type_id": 1,
                "name": "host"
            },
            {
                "type_id": 2,
                "name": "chassis"
            },
            {
                "type_id": 3,
                "name": "rack"
            },
            {
                "type_id": 4,
                "name": "row"
            },
            {
                "type_id": 5,
                "name": "pdu"
            },
            {
     "type_id": ...

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