According to the picture from this page ceph splits objects on chunks and writes them on osds.
For viewing objects distribution with replication algorithm I can use commands like ceph pg dump
or ceph osd map
.
But I can't find commands to view data chunk distribution.
You can use the
ceph-objectstore-tool
to query offline OSDs and see which OSD contains which data chunk:The first entry contains the shard ID: "11.2s2". So the PG is 11.2 and shard ID is 2. To query a cephadm deployed OSD you need to stop it via cephadm and then enter the container: