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 list

The ceph osd ls command simply returns a list of the OSD numbers currently deployed within the cluster.

    
    # ceph osd ls | head -3
    0
    1
    2
    # ceph osd ls |wc
        280     280    1010
    #
  

This information could be derived by processing the output of ceph osd tree, but this is a convenient way to drive all in a single command

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