January 2019
Intermediate to advanced
606 pages
15h 1m
English
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 following:
Read now
Unlock full access