Ceph

From Halfface
Revision as of 11:16, 28 April 2023 by Ekaanbj (talk | contribs) (→‎ceph)
Jump to navigation Jump to search

what does it mean?

osd            object storage daemon
rados          Reliable Autonomic Distributed Object Store
rbd            Rados Block Device

ceph

ceph df

Get du from block devices in pool named *rbd*

POOL=$(ceph osd pool ls | grep rbd) ; for i in $(rbd -p $POOL ls | xargs) ; do echo $POOL $i ; rbd -p $POOL du $i 2>/dev/null ; done