Re: cephfs quota samba export
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
participants (1)
-
Burkhard Linke