Ceph

From Halfface
Revision as of 11:18, 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

Status of ceph

ceph -s

Disk usage

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