I am using dm-cache successfully for quite a while now. Now I would like to know which files are being currently in the cache. I understand that dm-cache works with blocks, not files, but since there is a filesystem above it should be possible in theory to translate this to (parts of) files being cached.

Of course I care about a practical solution: How can I list what is currently in dm-cache?

Your Answer

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

Browse other questions tagged or ask your own question.