0

I've got a setup that includes a bcache cache device serving multiple backing devices. I would like to know how much of it is currently in use because bcache only caches certain kinds of data.

0

The stats for the cache device of a certain bcache cache set can be queried using /sys/fs/bcache/$CSET_UUID/cache0/priority_stats.
Among other information, it contains the unused field.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.