Finding object’s location

The Ceph client retrieves the latest cluster map and the CRUSH algorithm calculates how to map the object to a placement group, and then calculates how to assign the placement group to an OSD dynamically.

Prerequisites

  • A running IBM Storage Ceph cluster.

  • Root-level access to the node.

Procedure

To find the object location, all you need is the object name and the pool name:

Syntax

ceph osd map POOL_NAME OBJECT_NAME

Example

[ceph: root@host01 /]# ceph osd map mypool myobject