Btrfs compression ratio?

Is there a way to find out how much the native btrfs compression (zlib/lzo) is compressing? I’ve seen a lot of systems that will tell you the compression ratio of a volume or a share but I haven’t been able to find anything for rockstor or btrfs in particular

1 Like

I would also like to monitor how much space I have saved by turning on compression, but I don’t see where this might be.

There’s nothing built in to btrfs as far as I know. You can try using this: https://github.com/kilobyte/compsize

2 Likes

Thank you. I will take a look.