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

OSD tree lookup

If we need a quick view into the state and availability of all OSDs, we will use the OSD tree subcommand. This command is usually the second-most used (or abused) after the Ceph status command.

root@ceph-client0:~# ceph osd treeID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY-1 0.06235 root default-2 0.02078 host ceph-osd10 0.01039 osd.0 up 1.00000 1.000003 0.01039 osd.3 up 1.00000 1.00000-3 0.02078 host ceph-osd01 0.01039 osd.1 up 1.00000 1.000005 0.01039 osd.5 up 1.00000 1.00000-4 0.02078 host ceph-osd22 0.01039 osd.2 up 1.00000 1.000004 0.01039 osd.4 up 1.00000 1.00000

Let's dive into the columns of the preceding output and their particulars a little more in the follwing:

  • ID: The unique identifier of each bucket. ...

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