hi burkhard, i found that way and build my own script for that. but thanks, its good to get some experience. sometimes not easy, to find the right way ... had some issues with rbd|cephfs-mirroring. so, very good information for that money ;) i also used that for the samba dfree command script. its now working fine. little notice ... map a network drive and there is no "X GB of Y GB free" line. right click, rename the network drive and voila ... there it is ... funny. regards, ronny Am 2026-03-17 12:40, schrieb Burkhard Linke via ceph-users:
Hi,
just my 0.02 euro:
if you want to collect usage information on the cluster, you can use the recursive stats feature in cephfs:
$ getfattr -n ceph.dir.rbytes /vol/adm getfattr: Removing leading '/' from absolute path names # file: vol/adm ceph.dir.rbytes="1199125900626"
$ getfattr -n ceph.dir.rfiles /vol/adm getfattr: Removing leading '/' from absolute path names # file: vol/adm ceph.dir.rfiles="309017"
We use a script to generate the corresponding values in a prometheus compatible format, and use script-exporter for invoking the script remotely. Results are stored in prometheus/thanos and visualized with grafana.
This will not show correct values for users, but you can also export the current quotas (also just xattrs), and use prometheus or grafana alerting if certain thresholds are reached.
Best regards,
Burkhard
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io